Michael Eischer
6c509f7ac1
Correctly pair backend/restic.FileType with APIs
...
Use backend.FileType to interact with the backend. And restic.FileType
to interact with the repository.
2026-06-20 19:15:40 +02:00
Michael Eischer
d9d54a505e
restic: move Printer interface from internal/ui/progress
...
Move Printer and NewNoopPrinter to internal/restic so repository does
not have to import the ui packages.
2026-06-20 17:49:20 +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
2026-06-09 18:49:04 +02:00
Michael Eischer
10645ccd2a
fix comment and variable name typos
2026-05-16 17:05:33 +02:00
Michael Eischer
5be6d9c73f
fail of RESTIC_READ_CONCURRENCY or RESTIC_COMPRESSION are invalid
2026-02-01 15:57:07 +01:00
gunar
7101f11133
Fail fast for invalid RESTIC_PACK_SIZE env values ( #5592 )
...
Co-authored-by: Michael Eischer <michael.eischer@fau.de >
2026-02-01 15:45:31 +01:00
Michael Eischer
1e6ed458ff
remove old // +build comments
2025-11-30 11:53:23 +01:00
Michael Eischer
b6aef592f5
global: split CreateRepository and OpenRepository into smaller functions
2025-10-12 18:20:45 +02:00
Michael Eischer
588c40aaef
global: unexport ReadPassword and ReadRepo
2025-10-12 18:08:26 +02:00
Michael Eischer
aa7bd241d9
init: move more logic into global package
2025-10-12 18:08:26 +02:00
Michael Eischer
a816b827cf
extract GlobalOptions into internal/global package
...
Rough steps:
```
mv cmd/restic/global* cmd/restic/secondary_repo* internal/global/
sed -i "s/package main/package global/" internal/global/*.go
Rename "GlobalOptions" to "Options" in internal/global/
Replace everywhere " GlobalOptions" -> " global.Options"
Replace everywhere "\*GlobalOptions" -> " *global.Options"
Make SecondaryRepoOptions public
Make create public
Make version public
```
2025-10-12 17:56:28 +02:00