greatroar
a8f506ea4d
ui/progress: Simplify Updater
...
Removed a defer'd call that was a bit subtle.
2025-09-16 09:56:33 +02:00
greatroar
0a1ce4f207
ui/progress: Restore atomics in Counter
...
We switched from atomics to a mutex in #3189 because of an alignment
bug, but the new-style atomic types don't need manual alignment.
2025-09-16 09:49:48 +02:00
Michael Eischer
364271c6c3
Consistently use withTermstatus in tests
2025-09-15 22:37:55 +02:00
Michael Eischer
6b5c8ce14e
change run* functions to accept ui.Terminal instead of *termstatus.Terminal
2025-09-15 22:37:25 +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
Michael Eischer
c14cf48776
further reduce Warnf usages
2025-09-15 22:35:16 +02:00
Michael Eischer
109a211fbe
convert repository locking to use termstatus
2025-09-15 22:34:59 +02:00
Michael Eischer
9d3efc2088
cleanup progress bar helpers
2025-09-15 22:34:44 +02:00
Michael Eischer
8b5dbc18ca
cleanup progress bar creation special cases
2025-09-15 22:34:28 +02:00
Michael Eischer
b0eef4b965
Initialize progress printer as early as reasonable in run functions
2025-09-15 22:34:13 +02:00
Michael Eischer
6c0dccf4a5
self-update: convert to termstatus
2025-09-15 22:33:52 +02:00
Michael Eischer
6b23d0328b
find: convert to termstatus
2025-09-15 22:33:41 +02:00
Michael Eischer
52f33d2d54
snapshots: convert to termstatus
2025-09-15 22:19:19 +02:00
Michael Eischer
d89535634d
unlock: convert to termstatus
2025-09-15 22:19:19 +02:00
Michael Eischer
902cd1e9d6
backup: replace Verbosef usage
2025-09-15 22:19:19 +02:00
Michael Eischer
51299b8ea7
key: convert to termstatus
2025-09-15 22:19:19 +02:00
Michael Eischer
fd8f8d64f5
init: convert to termstatus
2025-09-15 22:19:17 +02:00
Michael Eischer
114cc33fe9
generate: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
44dbd4469e
tag: replace global print functions with termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
d8f3e35730
prune: replace Print call with termstatus usage
2025-09-15 22:17:26 +02:00
Michael Eischer
333dbd18d8
list: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
0226e46681
cache: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
74fb43e0c2
dump: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
69186350fc
diff: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
3e7aad8916
debug: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
c3912ae7bc
cat: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
d3e26f2868
ls: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
2e91e81c83
mount: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
0dcd9bee88
rewrite: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
a304826b98
repair snapshots: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
8510f09225
stats: convert to termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
e63aee2ec6
copy: convert to use termstatus
2025-09-15 22:17:26 +02:00
Michael Eischer
94b19d64be
termstatus: allow retrieving the underlying writer
...
This is intended for special cases where it must be guaranteed that the
output on stdout exactly matches what was written to the io.Writer.
2025-09-15 22:17:26 +02:00
Michael Eischer
03600ca509
termstatus: don't buffer stdout
...
There's not much use in doing so as nearly every write call was paired
with a flush call. Thus, just use an unbuffered writer.
2025-09-15 21:22:07 +02:00
Michael Eischer
ef9930cce4
fix capturing stdout with termstatus
2025-09-15 20:25:17 +02:00
Michael Eischer
91ecac8003
termstatus: fix crash when printing empty string
2025-09-15 20:25:17 +02:00
Michael Eischer
e9b6149303
list: cleanup parameter order of test helper
2025-09-15 20:25:17 +02:00
Michael Eischer
32b7168a9e
centralize index progress bar for termstatus
2025-09-15 20:25:17 +02:00
Michael Eischer
6cdb9a75e6
consider JSON flag in newTerminalProgressPrinter
2025-09-15 20:25:17 +02:00
Michael Eischer
9ef8e13102
slightly polish changelogs
2025-09-15 19:52:24 +02:00
Michael Eischer
4940e330c0
Merge pull request #5508 from restic/patch-release-cherrypicks
...
Patch release cherrypicks
2025-09-15 19:51:51 +02:00
Michael Eischer
3a63430b07
extend changelog
2025-09-15 19:34:25 +02:00
Michael Eischer
a5e814bd8d
check: fix error reporting on download retry
2025-09-15 19:34:25 +02:00
Michael Eischer
398862c5c8
docs: sync compatibility section with website
...
This is no change in policy, just a more precise description of the
status quo.
2025-09-15 19:33:39 +02:00
Michael Eischer
b47c67fd90
update dependencies
2025-09-15 19:33:20 +02:00
Michael Eischer
81fe559222
Merge pull request #5495 from MichaelEischer/fix-check-retries
...
check: fix error reporting on download retry
2025-09-15 19:31:44 +02:00
Michael Eischer
f21fd9d115
Merge pull request #5494 from MichaelEischer/fix-background-handling
...
Refactor terminal background handling
2025-09-13 22:48:11 +02:00
Michael Eischer
d757e39992
make linter happy
2025-09-13 22:22:53 +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