Commit Graph

29 Commits

Author SHA1 Message Date
Alexander Neumann abb1dc4eb6 wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 8d21bb92db Add tests for invalid configs 2018-06-10 12:27:52 +02:00
Alexander Neumann 0b3c402801 Move options package to ui/options 2018-06-10 12:27:52 +02:00
Alexander Neumann b3b70002ab wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 4916ba7a8a wip name 2018-06-10 12:27:52 +02:00
Alexander Neumann ea565df3e8 wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 0758c92afc wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 8b0092908a wip 2018-06-10 12:27:52 +02:00
Alexander Neumann ffd7bc1021 wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 6bad560324 wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 7ad648c686 wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 0c078cc205 wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 1fbcf63830 wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 740e2d6139 wip 2018-06-10 12:27:52 +02:00
Alexander Neumann aaef54559a wip 2018-06-10 12:27:52 +02:00
Alexander Neumann 722517c480 wip 2018-06-10 12:27:52 +02:00
Alexander Neumann c44e808aa5 backup: Fix deadlock
When the archiver is faster than the scanner, restic deadlocks. This
commit adds a `finished` channel to the struct in `ui/backup.go` so that
scanner results are ignored when the archiver is already finished.

Closes #1834
2018-06-09 12:15:19 +02:00
Michael Kötter 589c23dc23 #1795 use unix.IoctlGetWinsize to get terminal size 2018-05-27 23:44:48 +02:00
Alexander Neumann 7d9642523b termstatus: Fix panic for non-terminal runs
Closes #1803
2018-05-27 12:52:01 +02:00
Alexander Neumann 157c854d04 backup: Remove errored files from status display 2018-05-10 20:48:00 +02:00
Alexander Neumann b2208bb9c2 Rework termstatus
This now keeps the cursor at the first column of the first status line
so that messages printed to stdout or stderr by some other part of the
progarm will still be visible. The message will overwrite the status
lines, but those are easily reprinted on the next status update.
2018-05-07 21:40:07 +02:00
Alexander Neumann 4c25495d68 backup: Hide percent until total size is known 2018-05-06 20:20:25 +02:00
Alexander Neumann fca4fe4459 backup: Disable status output for --quiet 2018-05-02 21:24:18 +02:00
Alexander Neumann d0974c155d backup: Tune user interface a bit
Make non-verbose mode a bit more verbose.
2018-05-01 22:18:32 +02:00
Alexander Neumann d80e108b03 backup: Clear status lines on finish 2018-04-30 14:19:07 +02:00
Alexander Neumann 846c2b6869 backup: Fix ETA calculation for >= 100% 2018-04-30 14:19:07 +02:00
Alexander Neumann 16c314ab7f termstatus: Don't print status if in background 2018-04-28 22:08:11 +02:00
Alexander Neumann 0e78ac92d8 Use new archiver code for backup 2018-04-28 22:08:11 +02:00
Alexander Neumann 1af96fc6dd Add termstatus 2018-04-27 21:42:15 +02:00