Michael Eischer
c745f810b3
backend/cache: use backend types not restic types ( #21860 )
2026-06-10 22:45:39 +02:00
Michael Eischer
a15b1579ff
Merge pull request #21846 from restic/repository-cleanups
...
Cleanup repository package
2026-06-10 22:36:04 +02:00
Michael Eischer
ff95080f36
restic: move test helpers and drop unused JSONUnpackedLoader
2026-06-10 22:20:28 +02:00
Michael Eischer
119bb9d9a8
repository: require *Repository for ExaminePack
...
The function wouldn't work with a different Repository implementation
anyways.
2026-06-10 22:20:28 +02:00
Michael Eischer
8c6ee42d17
debug: move DumpPacks into repository package
...
Processing pack file internals belongs into the repository package.
2026-06-10 22:20:28 +02:00
Michael Eischer
ccddc1914d
repository: rename PackError to ErrPackMetadata
2026-06-10 22:20:28 +02:00
Michael Eischer
4bc5eca7ea
repository: merge check.go into checker.go
2026-06-10 22:20:28 +02:00
Michael Eischer
17ff3aa5f9
Merge pull request #21841 from MichaelEischer/isolate-repository
...
prevent imports of repository internals
2026-06-10 22:19:24 +02:00
Michael Eischer
81571775d5
fix version set by helper after release ( #21865 )
2026-06-09 22:43:18 +02:00
Alexander Neumann
16b8b8cda0
Set development version for 0.19.0
2026-06-09 18:49:09 +02:00
Alexander Neumann
12875cc48e
Add version for 0.19.0
v0.19.0
2026-06-09 18:49:04 +02:00
Alexander Neumann
8c37a3983a
Update manpages and auto-completion
2026-06-09 18:49:04 +02:00
Alexander Neumann
d718c4cf20
Generate CHANGELOG.md for 0.19.0
2026-06-09 18:48:35 +02:00
Alexander Neumann
60448342b3
Prepare changelog for 0.19.0
2026-06-09 18:48:35 +02:00
Alexander Neumann
4f59ed8806
Merge pull request #21863 from MichaelEischer/downgrade-compress
...
Downgrade compress library due to regression with zero-sized blobs
2026-06-09 18:40:30 +02:00
Michael Eischer
522efd1175
downgrade compress library due to regression with zero-sized blobs
...
while this should only affect test cases better be safe than sorry.
2026-06-08 22:51:47 +02:00
rawtaz
f01359ff92
doc: Polish changelogs ( #21847 )
2026-06-05 22:30:46 +02:00
rawtaz
0b3c0fc222
Merge pull request #21842 from restic/polish-changelogs
...
Polish changelogs
2026-06-05 00:33:38 +02:00
Winfried Plappert
ed571c8d12
Docs - Diving into a Repository - create html links across the chapter ( #21839 )
2026-06-02 22:42:43 +02:00
Michael Eischer
0ddd98e03b
stats: stop progress bar before printing stats ( #21843 )
2026-06-02 22:37:46 +02:00
Michael Eischer
cebc5c8957
polish changelogs
2026-06-01 22:10:27 +02:00
dependabot[bot]
724b7dc231
build(deps): bump google.golang.org/api from 0.279.0 to 0.282.0 ( #21836 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-01 19:39:49 +00:00
Michael Eischer
2141fd83a9
checker: increase timeout for blob type confusion test ( #21831 )
2026-06-01 21:29:52 +02:00
dependabot[bot]
6693611497
build(deps): bump github.com/minio/minio-go/v7 from 7.1.0 to 7.2.0 ( #21838 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-01 21:26:05 +02:00
dependabot[bot]
0e9446277d
build(deps): bump cloud.google.com/go/storage from 1.62.1 to 1.62.2 ( #21837 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-01 21:25:14 +02:00
dependabot[bot]
b6bfa13f5f
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/storage/azblob from 1.6.4 to 1.7.0 ( #21835 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-01 21:24:40 +02:00
dependabot[bot]
88aa8132ae
build(deps): bump actions/checkout from 4 to 6 ( #21834 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-01 21:23:28 +02:00
dependabot[bot]
bff8acb2d9
build(deps): bump docker/login-action from 4.0.0 to 4.2.0 ( #21833 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-01 21:22:35 +02:00
dependabot[bot]
4ae2e26021
build(deps): bump the golang-x-deps group with 3 updates ( #21832 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-01 21:22:25 +02:00
Michael Eischer
7d25ca9d67
repository: omit unused headerSize from ListPack()
2026-05-31 22:53:00 +02:00
Michael Eischer
cc546b71e3
debug: move code requring internal access to repository package
2026-05-31 22:48:38 +02:00
Michael Eischer
3cb49556f5
repair index: replace full index handling integration test with unit test
2026-05-31 22:39:16 +02:00
Michael Eischer
f625190393
check: simplify index damage test
2026-05-31 22:19:15 +02:00
Michael Eischer
620f5986f8
list index: use helper in repository package
2026-05-31 22:14:01 +02:00
Michael Eischer
49c7364e79
add golangci-lint rule to prevent imports of repository internals
2026-05-31 18:20:37 +02:00
MetalSpork
042feb2b7f
docs: expand restic cat documentation ( #5679 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-05-31 15:46:45 +00:00
Michael Eischer
474c094cac
Merge pull request #21817 from eyupcanakman/fix/sftp-dir-permissions
...
sftp: Use mode 0700 for repository directories
2026-05-31 16:40:17 +02:00
Winfried Plappert
7566069bf3
docs: amend restic find documentation ( #21818 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-05-31 16:31:44 +02:00
Michael Eischer
53de77ea1a
Merge pull request #21828 from MichaelEischer/fix-split-pack-index
...
repository: repair index: correctly handle split index entries
2026-05-31 16:30:49 +02:00
Michael Eischer
a54ac48f60
restic: test that sorting nil blobs slices works
2026-05-31 16:22:58 +02:00
Michael Eischer
91a6e74fd5
repository: test split index handling in index rewrite
2026-05-31 16:22:58 +02:00
Michael Eischer
e666980cec
add changelog for split pack index handling
2026-05-31 16:22:58 +02:00
Michael Eischer
78b3411076
check: consider split pack index entries as repository damage
2026-05-31 15:58:33 +02:00
Michael Eischer
5b39ad861e
repository: repair index: correctly handle split index entries
...
In restic <0.10.0, it was possible that the blobs of a pack file were
split across multiple indexes. `MasterIndex.Rewrite` however assumed
that each an index always contains the full description of a pack file.
Therefore, further index entries for a pack were filtered out as
duplicates. Now, the code also checks the blobs contained in the index
entry while filtering out duplicates.
2026-05-31 15:58:29 +02:00
Michael Eischer
f86307d223
Merge pull request #21827 from MichaelEischer/fix-pack-repair
...
repair packs: correctly handle packs with missing/incomplete index entry
2026-05-31 15:57:50 +02:00
Michael Eischer
77a6bf3bb7
Merge pull request #21797 from MichaelEischer/always-include-explicit-targets
...
backup: prevent exclude of backup targets
2026-05-31 15:42:26 +02:00
Michael Eischer
c95ef18afb
repository: fix error handling in repair pack if blob upload fails
2026-05-31 15:40:15 +02:00
Michael Eischer
4c23c5946f
add repair packs changelog
2026-05-31 15:40:15 +02:00
Michael Eischer
640b2489f6
repository: repair pack: test handling of not indexed packs
2026-05-31 15:40:15 +02:00
Michael Eischer
6a3f447327
repository: repair pack: correctly handle incomplete index
2026-05-31 15:40:15 +02:00