Package: reprepro
Version: 5.3.0-1
Severity: normal

The use of an endhook kills the piping of reprepro list ouput. I tested this 
with Ubuntu 19.04 with following test:

mkdir -p conf

cat >conf/distributions <<DISTRIBUTIONS
Codename: test
Components: main
Architectures: amd64
DISTRIBUTIONS

reprepro createsymlinks

apt download hello

reprepro includedeb test hello*.deb

# The following command works like expected: The hello package and its version 
is shown on the terminal
reprepro list test | tee /dev/null

# This works not as expected: Nothing is shown on the terminal
reprepro --endhook /bin/true list test | tee /dev/null


On a further test I run reprepro list with systemd-run --pipe and endhook: Also 
does not work as expected, nothing is shown on the terminal.
But after running it with systemd-run --pts (pseudo terminal option), piping 
works as expected. This ugly hack I'm using now as workaround.
Will there be a fix?


---------------
Greetings,
André

Reply via email to