dependabot[bot] and GitHub
a80be1478a
build(deps): bump google.golang.org/api from 0.285.0 to 0.291.0 ( #21995 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-01 22:24:27 +02:00
dependabot[bot] and GitHub
7bfa32a90a
build(deps): bump github.com/pkg/sftp from 1.13.10 to 1.13.11 ( #21994 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-01 22:23:52 +02:00
dependabot[bot] and GitHub
63b583c4ea
build(deps): bump github.com/minio/minio-go/v7 from 7.1.0 to 7.2.1 ( #21993 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-01 22:22:40 +02:00
dependabot[bot] and GitHub
85bf4430b8
build(deps): bump actions/setup-go from 6 to 7 ( #21992 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-01 22:21:34 +02:00
dependabot[bot] and GitHub
e2b43a5f1f
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/storage/azblob from 1.7.0 to 1.8.0 ( #21991 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-01 22:21:07 +02:00
dependabot[bot] and GitHub
607aba3809
build(deps): bump docker/login-action from 4.2.0 to 4.6.0 ( #21990 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-01 22:20:40 +02:00
Michael Eischer and GitHub
c6074f82fb
Merge pull request #21978 from MichaelEischer/go-fix2
...
Run `go fix ./...`
2026-08-01 22:17:53 +02:00
Arpit Jain and GitHub
8baffc4027
repository: reject key and config files that are too short ( #21977 )
...
Signed-off-by: Arpit Jain <arpitjain099@gmail.com >
2026-07-22 20:38:07 +00:00
Michael Eischer
f215365af9
Apply go fix -waitgroup ./...
2026-07-22 22:27:21 +02:00
Michael Eischer
14e523a1d9
Apply go fix -testingcontext ./...
2026-07-22 22:27:15 +02:00
Michael Eischer
58f92708c2
Apply go fix -stringsseq ./...
2026-07-22 22:27:07 +02:00
Michael Eischer
31e96f4ec9
Apply go fix -stringsbuilder ./...
2026-07-22 22:26:50 +02:00
Michael Eischer
a2cb015591
Apply go fix -slicescontains ./...
2026-07-22 22:26:33 +02:00
Michael Eischer
e2495b72bb
Apply go fix -reflecttypefor ./...
2026-07-22 22:26:27 +02:00
Michael Eischer
2c169edad4
Apply go fix -rangeint ./...
2026-07-22 22:26:19 +02:00
Michael Eischer
fb36a7f59b
Apply go fix -omitzero ./...
2026-07-22 22:26:07 +02:00
Michael Eischer
8ed263c6dd
Apply go fix -minmax ./...
2026-07-22 22:25:56 +02:00
Michael Eischer
0e4f288e83
Apply go fix -mapsloop ./...
2026-07-22 22:25:47 +02:00
Michael Eischer
da4d8f5851
Apply go fix -fmtappendf ./...
2026-07-22 22:25:26 +02:00
Michael Eischer
32e9869cc8
Apply go fix -any ./...
2026-07-22 22:25:18 +02:00
Junker der Provinz and GitHub
d4088aa09b
doc: describe the cadence of JSON status messages ( #21954 )
2026-07-15 20:38:38 +00:00
schrumpelnase and GitHub
35dcda418c
docs(README.md): fixed label of the link to the mastodon profile ( #21958 )
2026-07-15 20:32:26 +00:00
Michael Eischer and GitHub
af4f50223e
ls: only keep fields required for sorting in memory ( #21949 )
2026-07-15 22:22:55 +02:00
Michael Eischer and GitHub
9e007fa3cc
Merge pull request #21937 from brainexe/reduce-index-memory-packindex-uint32
...
Reduce in-memory index entry size by storing packIndex as uint32
2026-07-15 22:16:40 +02:00
dependabot[bot] and GitHub
a4d85ce299
build(deps): bump the golang-x-deps group across 1 directory with 6 updates ( #21923 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-15 21:32:37 +02:00
dependabot[bot] and GitHub
9b0ee37697
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.13.1 to 1.14.0 ( #21925 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-15 21:31:44 +02:00
Matthias Dötsch
905ca56ee8
Address review feedback on #21937 :
...
- addToPacks now returns uint32 directly and the value is passed through
store() to indexMap.add unchanged, instead of casting between int and
uint32.
- merge() appends idx2.packs to idx.packs without going through
addToPacks, so it now checks the pack count against the uint32 limit
itself + error if exceeded.
- optimize changelog message
2026-07-13 07:25:08 +02:00
dependabot[bot] and GitHub
987caba408
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.21.1 to 1.22.0 ( #21926 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-10 22:46:11 +02:00
dependabot[bot] and GitHub
bfca18c1b0
build(deps): bump actions/checkout from 6 to 7 ( #21922 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-10 22:20:22 +02:00
dependabot[bot] and GitHub
dba493cb6c
build(deps): bump github.com/klauspost/compress from 1.18.6 to 1.18.7 ( #21924 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-10 22:17:43 +02:00
dependabot[bot] and GitHub
512d0577d6
build(deps): bump cloud.google.com/go/storage from 1.62.2 to 1.63.0 ( #21927 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-10 22:16:48 +02:00
Matthias Dötsch
e428de5f84
Reduce in-memory index entry size by storing packIndex as uint32
...
Each blob in a repository requires one index entry in memory, which is one
of the largest contributors to restic's memory usage. The indexEntry.packIndex
field, an index into the per-Index packs slice, was stored as a machine-word
int (8 bytes on amd64) although the value is always a small array index.
Store it as a uint32 instead. This shrinks indexEntry from 64 to 56 bytes on
64-bit platforms (56 % 8 == 0, so no padding is added), reducing index memory
by roughly 12% -- about 100 MB for a repository with ~13 million blobs, as
confirmed by profiling. uint32 allows 4.29 billion packs (>30 billion blobs at
the assumed 8 blobs/pack), far beyond any real repository; addToPacks guards
against overflow defensively. The on-disk repository format is unaffected.
2026-07-08 06:01:15 +00:00
Michael Eischer
d8ef26afa4
Merge branch 'patch-release'
2026-07-05 16:27:43 +02:00
Alexander Neumann
6335213501
Set development version for 0.19.1
2026-07-05 09:52:54 +02:00
Alexander Neumann
6aa3a516ce
Add version for 0.19.1
v0.19.1
2026-07-05 09:52:50 +02:00
Alexander Neumann
b1da29738c
Generate CHANGELOG.md for 0.19.1
2026-07-05 09:52:30 +02:00
Alexander Neumann
09a1eb6714
Prepare changelog for 0.19.1
2026-07-05 09:52:30 +02:00
astro-stan and GitHub
cc93a94e15
feat: Add support for setting --ignore-ctime and --ignore-inode via environment variables ( #5730 )
2026-06-28 15:36:58 +02:00
62991338ea
replace FindFilteredSnapshots() with (*data.SnapshotFilter).FindAll() ( #21912 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-06-28 13:31:06 +00:00
75de8b54e6
restic check and restic repair packs: treat missing packfiles the same as damaged and truncated packfiles (#21845 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-06-28 12:09:42 +02:00
Michael Eischer and GitHub
e4056e70a8
Merge pull request #21888 from MichaelEischer/chunker-factory
...
Move chunker construction to repository and switch to BaseChunker
2026-06-27 22:56:07 +02:00
Michael Eischer
8cc69782b5
repository: expose ZeroChunk via chunker factory
2026-06-27 22:23:59 +02:00
Michael Eischer
ccb828e87b
repository: add ChunkerFactory and decouple archiver from chunker
...
Introduce restic.Chunker and ChunkerFactory interfaces with a
repository-backed implementation. The archiver obtains chunkers via
ChunkerFactory() from the repository.
2026-06-27 22:13:41 +02:00
Michael Eischer
70a45791b2
archiver: switch file saver from Chunker to BaseChunker
...
Update the chunker dependency. Move the chunk memory handling into the
fileSaver. This minimizes the logic required in a chunker
implementation.
readNextChunk is a direct derivative of Chunker.Next.
2026-06-27 22:13:41 +02:00
9e1a526611
Fix broken snapshots via restic repair snapshots --forget ( #21907 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-06-27 22:09:10 +02:00
Michael Eischer and GitHub
aa94be2dbd
Merge pull request #21883 from MichaelEischer/fix-find-pack
...
find: improve blob resolution for broken pack files
2026-06-26 22:33:38 +02:00
Michael Eischer
804ff4bc95
find: add test for listing blobs from corrupt pack files
2026-06-26 22:16:55 +02:00
Michael Eischer
9670cd7459
find: fix fallback to index if pack cannot be listed
...
`find` would only look up completely missing pack files in the index. A
still existing but broken pack file would result in an error.
2026-06-26 22:16:55 +02:00
Michael Eischer
634e9b2411
find: check blobIDs/treeIDs presence by length
...
Depending on the code path, the map could be initialized but stay empty.
2026-06-26 21:46:30 +02:00
Gilbert Gilb's and GitHub
db03aed816
feat(backends/s3): add warmup support for check command ( #5248 )
2026-06-25 20:46:55 +02:00