Skip to content

Commit

Permalink
Bump compiler to 1.19 (#242)
Browse files Browse the repository at this point in the history
Update all dependencies to latest
  • Loading branch information
DanEngelbrecht authored Feb 23, 2023
1 parent 6700717 commit d6b3b6c
Show file tree
Hide file tree
Showing 21 changed files with 780 additions and 5,131 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- name: Set up Go 1.17.1
- name: Set up Go 1.19
uses: actions/setup-go@v1
with:
go-version: 1.17.1
go-version: 1.19

- name: Check out source code
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- name: Set up Go 1.17.1
- name: Set up Go 1.19
uses: actions/setup-go@v1
with:
go-version: 1.17.1
go-version: 1.19

- name: Check out source code
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- name: Set up Go 1.17.1
- name: Set up Go 1.19
uses: actions/setup-go@v1
with:
go-version: 1.17.1
go-version: 1.19

- name: Check out source code
uses: actions/checkout@v2
Expand Down
121 changes: 121 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Prune issue 229",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["prune-store", "--source-paths", "C:\\temp\\repro-issue-229\\repro\\epic_prune.txt", "--storage-uri", "C:\\temp\\repro-issue-229\\repro\\epic_store\\storage", "--log-level", "debug"],
"cwd": "C:\\temp\\repro-issue-229"
},
{
"name": "Pack",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["pack", "--source-path", "msi-test", "--log-level", "debug", "--target-path", "msi-test.la"],
"cwd": "${workspaceFolder}/cmd/longtail"
},
{
"name": "put root",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["put", "--source-path", "C:\\MSI", "--target-path", "/dis.json", "--log-level", "info"],
"cwd": "${workspaceFolder}/cmd/longtail"
},
{
"name": "put root",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["put", "--source-path", "C:\\MSI", "--target-path", "/dis.json", "--log-level", "info"],
"cwd": "${workspaceFolder}/cmd/longtail"
},
{
"name": "put fsblob",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["put", "--source-path", "C:\\MSI", "--target-path", "fsblob://C:\\msi-store\\msi.json", "--log-level", "info"],
"cwd": "${workspaceFolder}/cmd/longtail"
},
{
"name": "put fs",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["put", "--source-path", "C:\\MSI", "--target-path", "C:\\msi-store\\msi.json", "--log-level", "info"],
"cwd": "${workspaceFolder}/cmd/longtail"
},
{
"name": "Pack-fail",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["pack", "--source-path", "msi-test", "--target-path", "msi-test.la", "--log-file-path", "console.log", "--show-stats", "--show-store-stats"],
"cwd": "${workspaceFolder}/cmd/longtail"
},
{
"name": "Test Commands",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceFolder}/commands",
},
{
"name": "Test Remotestore",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceFolder}/remotestore",
},
{
"name": "Push",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["push"],
"cwd": "C:\\temp\\test"
},
{
"name": "Pop",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["pop", "--offset", "10"],
"cwd": "C:\\temp\\test"
},
{
"name": "put s3 with custom endpoint",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["put", "--source-path", ".", "--target-path", "s3://mybucket/myversion.lvi", "--s3-endpoint-resolver-uri", "http://what-is-this/the/endpoint"],
"cwd": "${workspaceFolder}"
},
{
"name": "put with unc path",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/longtail/main.go",
"args": ["put", "--source-path", "\\\\?\\c:\\temp\\xxx", "--target-path", "\\\\?\\c:\\temp\\xxx.lvi"],
"cwd": "${workspaceFolder}"
}
]
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- **FIXED** Don't do fatal exit if reading store index fails, just report error back to caller and log error at exit
- **FIXED** Gracefully handle missing store.lsi condition as separate from failing to read existing store index
- **UPDATED** All golang module dependencies updated
- **UPDATED** Build with golang 1.19

## v0.3.6
- **ADDED** `downsync` and `get` command now allows multiple sources allowing for merging of version in one go. All sources must use the same `storage-uri`
Expand Down
Loading

0 comments on commit d6b3b6c

Please sign in to comment.