Michael Eischer
387d4cf604
restic: add PackBlob interface and implement it on PackedBlob
...
The PackBlob interface will allow hiding details from the public
interface, in particular, the offset of a blob within a pack file.
2026-06-10 22:53:03 +02:00
Michael Eischer
6e15ccea98
repository: unexport listPacksFromIndex
...
`ListPacksFromIndex` only has repository-internal callers left (besides
test code).
2026-06-10 22:53:03 +02:00
Michael Eischer
df8a74d8cd
restic: list pack header via ListPackHandles
...
Replace ListPack with ListPackHandles so callers only receive blob
handles from pack headers, not layout fields.
2026-06-10 22:53:03 +02:00
Michael Eischer
bd667c95e3
restic: switch LoadBlobsFromPack to BlobHandles
...
LoadBlobsFromPack now resolves the handles to Blobs. Repository internal
code can still use the Blob-based method.
The loader used in the filerestorer test now has to implement sorting
the blobs by offset itself as it no longer has access to the repository-internal
dataypes.
2026-06-10 22:53:03 +02:00
Michael Eischer
ed7ca234e9
repository: require *Repository for CopyBlobs
...
Prepare `CopyBlobs` to allow access to unexported methods of the
Repository struct. This requires changing the test to inject the number
of backend connections via a wrapped backend instead of a wrapped
repository.
2026-06-10 22:53:03 +02:00
Michael Eischer and GitHub
784812361e
Merge pull request #21858 from MichaelEischer/unexport-backends
...
Unexport several backend types
2026-06-10 22:51:32 +02:00
Michael Eischer and GitHub
c745f810b3
backend/cache: use backend types not restic types ( #21860 )
2026-06-10 22:45:39 +02:00
Michael Eischer
721411e04c
backend/azure/gs/s3: remove unused Path() method
2026-06-10 22:37:07 +02:00
Michael Eischer
b07ff6cd34
backends: remove unused SetListMax method
...
It was never used. Remove the dead code.
2026-06-10 22:37:07 +02:00
Michael Eischer
8b3bbb527c
backend/s3: unexport
2026-06-10 22:37:07 +02:00
Michael Eischer
4a2d8e04aa
backend/rclone: unexport
2026-06-10 22:37:07 +02:00
Michael Eischer
a36488b706
backend/gs: unexport
2026-06-10 22:37:07 +02:00
Michael Eischer
cfb506a77a
backend/cache: unexport
2026-06-10 22:37:07 +02:00
Michael Eischer and GitHub
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 and GitHub
17ff3aa5f9
Merge pull request #21841 from MichaelEischer/isolate-repository
...
prevent imports of repository internals
2026-06-10 22:19:24 +02:00
Michael Eischer and GitHub
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 and GitHub
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 and GitHub
f01359ff92
doc: Polish changelogs ( #21847 )
2026-06-05 22:30:46 +02:00
rawtaz and GitHub
0b3c0fc222
Merge pull request #21842 from restic/polish-changelogs
...
Polish changelogs
2026-06-05 00:33:38 +02:00
Winfried Plappert and GitHub
ed571c8d12
Docs - Diving into a Repository - create html links across the chapter ( #21839 )
2026-06-02 22:42:43 +02:00
Michael Eischer and GitHub
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] and GitHub
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 and GitHub
2141fd83a9
checker: increase timeout for blob type confusion test ( #21831 )
2026-06-01 21:29:52 +02:00
dependabot[bot] and GitHub
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] and GitHub
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] and GitHub
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] and GitHub
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] and GitHub
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] and GitHub
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
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 and GitHub
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
7566069bf3
docs: amend restic find documentation ( #21818 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-05-31 16:31:44 +02:00