Michael Eischer
15e90b7a4c
test go 1.24 and drop support for 1.22
2025-03-23 16:36:31 +01:00
Michael Eischer
c617364d15
Merge pull request #5262 from Martin2112/go_cleanup
...
A set of mostly automated Go cleanups for the code
2025-03-22 23:55:28 +01:00
Martin Smith
e2ccb18e22
Fix lint for missing const, after fixing godoc for the outer type.
2025-03-22 18:42:12 +00:00
Martin Smith
d2c5241961
Revert a fix that broke compile of sd_windows.go.
2025-03-22 18:27:09 +00:00
Martin Smith
f238f81ba6
Renames to fix clashes with reserved words.
2025-03-22 18:20:30 +00:00
Martin Smith
3788605127
Rename unused parameters to '_'.
2025-03-22 18:20:30 +00:00
Martin Smith
29b4680873
Remove unnecessary type conversions, second set.
2025-03-22 18:20:30 +00:00
Martin Smith
092899df8b
Remove unnecessary type conversions.
2025-03-22 18:20:30 +00:00
Martin Smith
2099ec1cd6
Remove import aliases that match package name.
2025-03-22 18:20:30 +00:00
Martin Smith
1daf5317f8
Fix import ordering.
2025-03-22 18:20:30 +00:00
Martin Smith
db8daeb192
Fix godoc comments.
2025-03-22 18:20:30 +00:00
Michael Eischer
ef692991a4
Merge pull request #5183 from wplapper/cmd_prune
...
restic prune: selection of packs to repack based on size
2025-03-22 15:43:32 +01:00
Michael Eischer
062cfc549d
prune: fix not working option
2025-03-22 15:34:40 +01:00
Michael Eischer
3e58b15ace
prune: allow --repack-smaller-than independently of --repack-small
2025-03-22 15:08:36 +01:00
Michael Eischer
69249372bf
Merge pull request #5249 from MichaelEischer/fix-repair-index
...
Prevent creation of oversized indexes and automatically rewrite them.
2025-03-22 14:29:39 +01:00
Michael Eischer
445477312c
Merge pull request #5251 from MichaelEischer/rclone-retries
...
Retry temporary rclone backend errors
2025-03-22 14:24:47 +01:00
Winfried Plappert
cc4712f8e9
add a test to cmd_ls_integration_test.go: test rest ls --json
( #5255 )
...
* cmd_ls: one more test: ls --json to check the JSON lines
validate that the individual JSON lines are valid JSON statements.
Check for snap ID and the path names in the backup.
2025-03-22 14:20:19 +01:00
Michael Eischer
c405e9e748
Merge pull request #5270 from prajwalbharadwajbm/master
...
build: improve GoVersion comparison logic
2025-03-22 12:05:40 +01:00
Michael Eischer
5f40e4b7c5
Merge pull request #5274 from luzpaz/typos
...
doc: fix various typos
2025-03-22 11:56:52 +01:00
Michael Eischer
0b0987233f
Merge pull request #5263 from restic/dependabot/github_actions/slsa-framework/slsa-github-generator-2.1.0
...
build(deps): bump slsa-framework/slsa-github-generator from 2.0.0 to 2.1.0
2025-03-22 11:53:09 +01:00
Michael Eischer
d66e9cfff5
Merge pull request #5267 from restic/dependabot/go_modules/github.com/Azure/azure-sdk-for-go/sdk/azidentity-1.8.2
...
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.8.1 to 1.8.2
2025-03-22 11:47:36 +01:00
Michael Eischer
e40996f0f1
Merge pull request #5265 from restic/dependabot/go_modules/github.com/klauspost/compress-1.18.0
...
build(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0
2025-03-22 11:46:18 +01:00
dependabot[bot]
818cb386a5
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity
...
Bumps [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azidentity/v1.8.1...sdk/azidentity/v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-22 10:39:29 +00:00
Michael Eischer
9f724f7dc5
Merge pull request #5268 from restic/dependabot/go_modules/golang.org/x/sync-0.11.0
...
build(deps): bump golang.org/x/sync from 0.10.0 to 0.11.0
2025-03-22 11:38:35 +01:00
Winfried Plappert
3f42c0ad96
restic prune changelog/unreleased - corrext typo
...
changed option from `--small-pack-size` to `--repack-smaller-than`
2025-03-15 12:51:29 +00:00
Luz Paz
794341a494
doc: fix various typos
...
Found via `codespell -q 3 -L atleast,iinclude,ist,programm,reenable,ser,uptodate`
2025-03-05 20:47:08 -05:00
Prajwal Bharadwaj BM
74b76ca0df
build: improve GoVersion comparison logic
...
Refactor AtLeast method to correctly handle version comparisons by:
- Checking major version first
- Handling minor version comparisons
- Ensuring correct comparison of patch versions
2025-03-01 12:51:11 +05:30
dependabot[bot]
3b21c7da3d
build(deps): bump golang.org/x/sync from 0.10.0 to 0.11.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/sync/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 01:53:26 +00:00
dependabot[bot]
f838bf1056
build(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.17.11 to 1.18.0.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.17.11...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 01:53:16 +00:00
dependabot[bot]
664971eb1d
build(deps): bump slsa-framework/slsa-github-generator
...
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases )
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 01:11:52 +00:00
Michael Eischer
de9a040d27
Merge pull request #5256 from abaumg/fix/links-to-backblaze-documentation
...
Fix links to Backblaze documentation
2025-02-23 21:06:28 +01:00
Andreas Baumgartner
89826ef5ce
doc: fix links to Backblaze documentation
2025-02-21 23:43:02 +01:00
Winfried Plappert
a2a1309fd9
prune: make small pack size configureable for prune
all changes together
...
cmd_prune.go: added option `--repack-smaller-than`
prune.go: added field `SmallPackBytes` to `PruneOptions`, including checking and processing
prune_test.go: added test `TestPruneSmall`
doc/060_forget.rst: added description of enhancement
changelog/unreleased/issue-5109: description of enhancement
2025-02-18 16:54:44 +00:00
Michael Eischer
6309952a82
add changelog for rclone retries
2025-02-17 21:33:35 +01:00
Michael Eischer
5e7ce45ede
retry: test error retries for flaky backends
2025-02-16 22:56:43 +01:00
Michael Eischer
cb8575f001
rclone: remove redundant Warmup methods
2025-02-16 22:41:22 +01:00
Michael Eischer
8d1185b3b8
retry/rclone: retry errors up to 5 times
2025-02-16 22:40:55 +01:00
Michael Eischer
c970e58739
backend: refactor backend Connections and HasAtomicReplace into Properties
2025-02-16 22:27:58 +01:00
Michael Eischer
5ddda7f5e9
Merge pull request #5242 from MichaelEischer/fix-read-stdin-msg
...
print password from stdin message only to terminal
2025-02-16 18:29:34 +01:00
Michael Eischer
8c12291f56
Merge pull request #5241 from MichaelEischer/cleanup-cli
...
Refactor CLI command initialization to use less global state
2025-02-16 18:28:48 +01:00
Michael Eischer
5190933561
Merge pull request #5240 from MichaelEischer/better-json-docs
...
Improve JSON output type documentation
2025-02-16 18:28:29 +01:00
Michael Eischer
00e69f242e
docs: fix datatypes
2025-02-16 18:17:22 +01:00
Michael Eischer
00628e952f
add changelog for oversized indexes
2025-02-16 17:58:36 +01:00
Michael Eischer
39e63ee4e3
index: add tests for oversized index handling
2025-02-16 17:42:00 +01:00
Michael Eischer
3b8d15d651
index: rewrite oversized indexes
2025-02-16 17:03:14 +01:00
Michael Eischer
2fd8a3865c
index: automatically write full indexes in StorePack
2025-02-16 16:39:38 +01:00
Michael Eischer
0c4e65228a
refactor secondary options
2025-02-07 21:29:33 +01:00
Michael Eischer
120bd08c0d
move globalOptions initialization into method
2025-02-07 21:29:33 +01:00
Michael Eischer
d378a171c8
cleanup backend initialization
2025-02-07 21:29:33 +01:00
Michael Eischer
c752867f0a
fix linter errors
2025-02-07 21:29:33 +01:00