Michael Eischer
94b1af580b
Merge pull request #5316 from MichaelEischer/fix-docs
...
docs: SLSA is only setup for GHCR
2025-03-26 19:18:15 +01:00
Michael Eischer
cc6fbbe6ad
Merge pull request #5315 from MichaelEischer/proper-feature-flag-deprecation
...
Readd feature flags removed too soon
2025-03-26 19:17:17 +01:00
Michael Eischer
3f70485671
docs: SLSA is only setup for GHCR
2025-03-26 18:46:52 +01:00
Michael Eischer
d4772aa469
readd feature flags removed too soon
2025-03-26 18:38:30 +01:00
Michael Eischer
13cb90b83a
Merge pull request #5295 from MichaelEischer/randomize-pack-order
...
Randomize blob to pack file assignment
2025-03-25 18:13:49 +01:00
Michael Eischer
823cc3d93a
Polish changelogs ( #5308 )
...
* polish changelogs
* Additional changelog polishing
* fix test failure
* Correct changelog for recover command
---------
Co-authored-by: Leo R. Lundgren <leo@finalresort.org>
2025-03-25 18:12:51 +01:00
Michael Eischer
9eee32131a
Merge pull request #5307 from Martin2112/dial_tls
...
Replace deprecated DialTLS with DialTLSContext.
2025-03-25 18:12:10 +01:00
Michael Eischer
5e519a25f7
tweak changelog
...
Co-authored-by: rawtaz <rawtaz@users.noreply.github.com>
2025-03-24 19:44:13 +01:00
Michael Eischer
c4eb2be31f
Merge pull request #5304 from restic/disable-gs-grpc-api
...
backend/gs: disable GRPC API to reduce binary size bloat
2025-03-24 19:03:09 +01:00
Michael Eischer
0b22d8dc64
Merge pull request #5306 from MichaelEischer/sftp-better-errors
...
sftp: improve error messages
2025-03-24 18:43:47 +01:00
Michael Eischer
2b65ef5710
backend/gs: disable GRPC API to reduce binary size bloat
...
Since cloud.google.com/go/storage v1.44.0 the GRPC API is enabled by
default. However, this causes the restic binary size to explode by 20MB.
So just disable it again.
2025-03-24 18:41:45 +01:00
Michael Eischer
ccb92f5bf0
repository/packer: add unit test for Merge method
2025-03-24 17:04:02 +01:00
Michael Eischer
37aa4f824f
add changelog and update threat model
2025-03-24 17:03:43 +01:00
Martin Smith
47b048f437
Rename param as it looks like context isn't used.
2025-03-24 15:01:47 +00:00
Martin Smith
cd7f384d77
Replace deprecated DialTLS with DialTLSContext.
2025-03-24 14:05:13 +00:00
Michael Eischer
9d58a27428
Merge pull request #5298 from Martin2112/lock_by_value
...
Fix lock pass by value and handle error from Release().
2025-03-24 14:42:38 +01:00
Michael Eischer
9aad8e9ea5
Merge pull request #5299 from Martin2112/go_cleanup
...
A few more small cleanups that should not change behaviour.
2025-03-24 13:59:39 +01:00
Michael Eischer
3adf7d4efb
backend/sftp: wrap further errors
2025-03-24 12:45:15 +01:00
Michael Eischer
66ec735ac2
backend/sftp: include file path in error messages
2025-03-24 12:44:42 +01:00
Michael Eischer
63a71f70e3
backend/sftp: ensure all errors are wrapped with the method name
2025-03-24 12:32:52 +01:00
Michael Eischer
e3ddc8a463
Merge pull request #5305 from restic/dependabot/go_modules/github.com/golang-jwt/jwt/v5-5.2.2
...
build(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2
2025-03-24 11:23:42 +01:00
Michael Eischer
66a8e897a9
Merge pull request #5300 from MichaelEischer/fix-output-race
...
ui/termstatus: fix race condition in StdioWrapper
2025-03-24 11:17:14 +01:00
Michael Eischer
ffd63f893a
Merge pull request #5296 from MichaelEischer/reindex-before-recover
...
recover: reindex before reassembling snapshot
2025-03-24 11:16:38 +01:00
Michael Eischer
ec19d67512
ui/termstatus: fix race condition in StdioWrapper
2025-03-24 11:07:15 +01:00
dependabot[bot]
ef18feaeeb
build(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2
...
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 10:00:55 +00:00
Michael Eischer
171f303399
Merge pull request #5302 from restic/update-dependencies
...
update all direct dependencies
2025-03-24 10:51:59 +01:00
Michael Eischer
dda652614e
update all direct dependencies
2025-03-23 21:53:27 +01:00
Michael Eischer
784097a4f8
Merge pull request #5297 from MichaelEischer/fix-overwrite-behavior-help
...
restore: fix help message on invalid OverwriteBehavior
2025-03-23 20:06:10 +01:00
Michael Eischer
f5989964ed
restore: fix redundant default value for --overwrite option
2025-03-23 19:54:22 +01:00
Martin Smith
cfa3c5884d
Fix lock pass by value and handle error from Release().
2025-03-23 18:53:21 +00:00
Michael Eischer
d60acc5697
restore: fix help message on invalid OverwriteBehavior
2025-03-23 19:51:37 +01:00
Michael Eischer
2240d1801c
add changelog recover enhancement
2025-03-23 18:17:33 +01:00
Michael Eischer
99fdb00d39
recover: add minimal integration test
2025-03-23 18:07:41 +01:00
Michael Eischer
2409078d55
recover: automatically run repair index before recovering snapshots
2025-03-23 17:55:33 +01:00
Michael Eischer
0b6c355678
recover: refactor to use termstatus
2025-03-23 17:46:49 +01:00
Michael Eischer
f7f48b3026
ui/progress: extend Printer interface with print to stdout method
2025-03-23 17:46:04 +01:00
Michael Eischer
1221453d08
Merge pull request #5264 from restic/dependabot/go_modules/github.com/minio/minio-go/v7-7.0.87
...
build(deps): bump github.com/minio/minio-go/v7 from 7.0.77 to 7.0.87
2025-03-23 17:38:30 +01:00
Michael Eischer
4b975bda37
backend/s3: increase timeout for test initialization
2025-03-23 17:28:08 +01:00
Michael Eischer
f8b481fd9b
backend/s3: resolve credential retrieval deprecation
2025-03-23 17:28:08 +01:00
dependabot[bot]
f88d5adaa2
build(deps): bump github.com/minio/minio-go/v7 from 7.0.77 to 7.0.87
...
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) from 7.0.77 to 7.0.87.
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.77...v7.0.87 )
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-23 17:28:08 +01:00
Michael Eischer
89909d41aa
Merge pull request #5292 from restic/go-1.23
...
Add Go 1.24 and drop Go 1.22 support
2025-03-23 17:26:31 +01:00
Michael Eischer
06535e62c1
CI: increase timeout to work around slow cloud backend
2025-03-23 16:36:31 +01:00
Michael Eischer
c99c76ada8
backend/test: increase parallelism to run all TestBackend tests in parallel
2025-03-23 16:36:31 +01:00
Michael Eischer
4350b95d27
backend/test: fix delayedRemoval timeout handling
...
The timeout for all blobs starts to run after the delete calls have been
issue. Thus, use the same start time for all blobs instead of individual
timeouts.
2025-03-23 16:36:31 +01:00
Michael Eischer
2e58561ad6
backend/test: remove redundant test call to the backend
2025-03-23 16:36:31 +01:00
Michael Eischer
17b585f7c7
backend/test: partially parallelize delayedRemove
2025-03-23 16:36:31 +01:00
Michael Eischer
4640b3c41a
backend/test: parallelize slow tests
2025-03-23 16:36:31 +01:00
Michael Eischer
c36970074d
CI: bump golangci version
2025-03-23 16:36:31 +01:00
Michael Eischer
15e90b7a4c
test go 1.24 and drop support for 1.22
2025-03-23 16:36:31 +01:00
Michael Eischer
8d2d50d095
repository: merge small pack files before flushing
...
This prevents chunk size leaks when a backup only consists of a small
file which is split in two parts, which end up in two individual pack
files.
2025-03-23 12:29:16 +01:00