Michael Eischer
711194276c
remove unused printer from ReadPassword
2025-10-03 18:55:46 +02:00
Michael Eischer
76b2cdd4fb
replace globalOptions.stdout with termstatus.OutputWriter
2025-10-03 18:55:46 +02:00
Michael Eischer
c293736841
drop unused stderr from GlobalOptions
2025-10-03 18:55:46 +02:00
Michael Eischer
ff5a0cc851
termstatus: fully wrap reading password from terminal
2025-10-03 18:55:46 +02:00
Michael Eischer
013c565c29
standardize shorten variable name for GlobalOptions to gopts
2025-10-03 18:55:46 +02:00
Michael Eischer
96af35555a
termstatus: add stdin and inject into backup command
2025-10-03 18:55:46 +02:00
Michael Eischer
3410808dcf
deduplicate termstatus setup
2025-10-03 18:55:46 +02:00
Michael Eischer
1ae2d08d1b
termstatus: centralize OutputIsTerminal checks
2025-10-03 18:55:46 +02:00
Michael Eischer
4dc71f24c5
backends: pass error logger to backends
2025-10-03 18:22:42 +02:00
Michael Eischer
6bd85d2412
reduce usages of globalOptions variable
2025-10-03 18:22:42 +02:00
Michael Eischer
d491c1bdbf
use errors.Fatalf instead of custom formatting
2025-09-24 22:11:54 +02:00
Michael Eischer
4edfd36c8f
Merge pull request #5363 from zmanda/fix-gh-5258-backup-exits-with-wrong-code-on-ctrl-c
...
bugfix: fatal errors do not keep underlying error
2025-09-24 22:04:38 +02:00
Michael Eischer
60d80a6127
Fix linter warnings
2025-09-21 22:24:15 +02:00
Michael Eischer
f091e6aed0
Merge branch 'patch-release'
2025-09-21 21:20:56 +02:00
Alexander Neumann
39a737fe14
Set development version for 0.18.1
2025-09-21 20:05:01 +02:00
Alexander Neumann
7d0aa7f2e3
Add version for 0.18.1
2025-09-21 20:04:58 +02:00
Michael Eischer
4f1390436d
init: remove duplication from error message
2025-09-21 15:58:29 +02:00
Michael Eischer
f71278138f
drop warnf
2025-09-18 22:58:23 +02:00
Michael Eischer
5a16b29177
remove unused global output functions
2025-09-15 22:35:48 +02:00
Michael Eischer
320fb5fb98
convert repository open/create to use termstatus
2025-09-15 22:35:32 +02:00
Srigovind Nayak
ce089f7e2d
errors: standardize error wrapping for Fatal errors
...
* replace all occurences of `errors.Fatal(err.Error())` with `errors.Fatalf("%s", err)` so that the error wrapping is correct across the codebase
* updated the review comments
2025-09-13 23:32:40 +05:30
Michael Eischer
e7890d7b81
use standard line clearing in printProgress
2025-09-08 11:04:24 +02:00
Michael Eischer
d10bd1d321
terminal: move reading password from terminal here
2025-09-08 11:03:56 +02:00
Michael Eischer
43b5166de8
terminal: cleanup determining width
2025-09-08 11:03:42 +02:00
Michael Eischer
0b0dd07f15
consolidate checks whether stdin/stdout is terminal
2025-09-08 11:03:26 +02:00
Michael Eischer
93ccc548c8
termstatus: move cursor handling to terminal package
2025-09-08 11:03:17 +02:00
Srigovind Nayak
f13e9c10a4
Add support for additional compression levels fastest and better ( #5321 )
...
* repository: expose addtional compression levels
* adding better and fastest compression levels for zstd
* repository: add changelog entry for issue-4728
* chore: fix golint issues
* chore: sort compression modes in the help text
* updating review comments
2025-03-31 21:21:12 +02:00
Alexander Neumann
3d14e92905
Set development version for 0.18.0
2025-03-27 20:17:36 +01:00
Alexander Neumann
d401ad6c1e
Add version for 0.18.0
2025-03-27 20:16:56 +01:00
Martin Smith
6caad10840
Remove extra brackets.
2025-03-23 10:11:43 +00:00
Martin Smith
1daf5317f8
Fix import ordering.
2025-03-22 18:20:30 +00:00
Luz Paz
794341a494
doc: fix various typos
...
Found via `codespell -q 3 -L atleast,iinclude,ist,programm,reenable,ser,uptodate`
2025-03-05 20:47:08 -05:00
Michael Eischer
5ddda7f5e9
Merge pull request #5242 from MichaelEischer/fix-read-stdin-msg
...
print password from stdin message only to terminal
2025-02-16 18:29:34 +01:00
Michael Eischer
120bd08c0d
move globalOptions initialization into method
2025-02-07 21:29:33 +01:00
Michael Eischer
d378a171c8
cleanup backend initialization
2025-02-07 21:29:33 +01:00
Michael Eischer
5497217018
print password from stdin message only to terminal
2025-02-07 20:54:18 +01:00
Michael Eischer
aa9cdf93cf
refactor persistent options to be applied via functions
2025-02-07 19:03:46 +01:00
Michael Eischer
bd16804812
Merge branch 'patch-release'
2024-11-09 11:43:01 +01:00
Alexander Neumann
e2a98aa955
Set development version for 0.17.3
2024-11-08 20:36:48 +01:00
Alexander Neumann
bc64921a8e
Add version for 0.17.3
2024-11-08 20:36:36 +01:00
Michael Eischer
569a117a1d
improve fprintf related error handling
2024-11-01 17:07:43 +01:00
Michael Eischer
74c783b850
retry load or creating repository config
...
By now missing files are not endlessly retried by the retry backend such
that it can be enabled right from the start.
In addition, this change also enables the retry backend for the `init`
command.
2024-11-01 15:17:54 +01:00
Michael Eischer
1f0f6ad63d
Merge branch 'patch-release'
2024-10-27 18:35:32 +01:00
Alexander Neumann
7eec85b4eb
Set development version for 0.17.2
2024-10-27 16:37:28 +01:00
Alexander Neumann
2fb07dcdb1
Add version for 0.17.2
2024-10-27 16:37:19 +01:00
Michael Eischer
4f0affd4f7
Merge branch 'patch-release'
2024-09-06 22:32:22 +02:00
Alexander Neumann
76a647febf
Set development version for 0.17.1
2024-09-05 21:25:24 +02:00
Alexander Neumann
975aa41e1e
Add version for 0.17.1
2024-09-05 21:25:21 +02:00
Michael Eischer
24f4e780f1
backend: consistently use os package for filesystem access
...
The go std library should be good enough to manage the files in the
backend and cache folders.
2024-08-31 18:20:40 +02:00
Michael Eischer
64d628bd75
make timeout for slow requests configurable
2024-08-30 12:45:20 +02:00