File: day_68__transfers.mdwn

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
file content (15 lines) | stat: -rw-r--r-- 851 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
More work on the display and control of transfers.

* Hide redundant downloads from the transfer display. It seemed simplest
  to keep the behavior of queuing downloads from every remote that has a
  file, rather than going to some other data structure, but it's clutter
  to display those to the user, especially when you often have 7 copies
  of each file, like I do.
* When canceling a download, cancel all other queued downloads of that
  key too.
* Fixed unsettting of the paused flag when resuming a paused transfer.
* Implemented starting queued transfers by clicking on the start button.
* Spent a long time debugging why pausing, then resuming, and then pausing
  a transfer doesn't successfully pause it the second time. I see where
  the code is seemingly locking up in a `throwTo`, but I don't understand
  why that blocks forever. Urgh..