git-annex/debian
Joey Hess 42281f12d6 bring back --quiet filtering of stdout and stderr, with deadlock fixed
I don't quite understand the cause of the deadlock. It only occurred
when git-annex-shell transferinfo was being spawned over ssh to feed
download transfer progress back. And if I removed this line from
feedprogressback, the deadlock didn't occur:
	bytes <- readSV v

The problem was not a leaked FD, as far as I could see. So what was it?
I don't know.

Anyway, this is a nice clean implementation, that avoids the deadlock.
Just fork off the async threads to handle filtering the stdout and stderr,
and let them clean up their handles whenever they decide to exit.

I've verified that the handles do get promptly closed, although a little
later than I would expect. Presumably that "little later" is what
was making waiting on the threads deadlock.

Despite the late exit, the last line of stdout and stderr appears where
I'd want it to, so I guess this is ok..
2015-04-06 20:20:52 -04:00
..
tests Debian: Run the builtin test suite as an autopkgtest. 2013-08-15 15:49:19 +02:00
cabal-wrapper Add temporary workaround for bug #763078 which broke building on armel and armhf. 2014-09-27 14:22:04 -04:00
changelog bring back --quiet filtering of stdout and stderr, with deadlock fixed 2015-04-06 20:20:52 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control avoid using --literal-pathspecs with git older than 1.8.1 which added it 2015-04-06 13:46:11 -04:00
copyright update my email address and homepage url 2015-01-21 12:50:09 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
menu fixups 2013-05-15 22:48:27 -04:00
NEWS prep release 2013-10-02 16:13:45 -04:00
rules remove annoouncedir target 2015-03-14 15:55:48 -04:00