Bug#927992: Write errors and warnings to STDERR, don't hide them if not a tty

2019-04-25 Thread 積丹尼 Dan Jacobson
Package: apt Version: 1.8.0 File: /usr/bin/apt-cache In Unix/Linux we have STDOUT and STDERR. Please just use these two, and don't invent "smarter ways." Really really bad and this will come back to bite you one day: You have a kind of message that is only shown if the user is on a tty. You don

Bug#927992: Write errors and warnings to STDERR, don't hide them if not a tty

2019-04-26 Thread Julian Andres Klode
On Fri, Apr 26, 2019 at 11:02:42AM +0800, 積丹尼 Dan Jacobson wrote: > Package: apt > Version: 1.8.0 > File: /usr/bin/apt-cache > > In Unix/Linux we have STDOUT and STDERR. Please just use these two, > and don't invent "smarter ways." > > Really really bad and this will come back to bite you one day

Bug#927992: Write errors and warnings to STDERR, don't hide them if not a tty

2019-04-26 Thread 積丹尼 Dan Jacobson
> "JAK" == Julian Andres Klode writes: JAK> Enabling that for non-interactive users can break stuff, so I'm not sure we want to change this. Well at least have a /etc/apt/apt.conf.d variable we can set to send them to STDERR instead of nowhere. That way if we break something it would be our