Re: Allow package bug scripts to unconditionally stop reportbug

2010-01-08 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, lets be a bit sarcastic (not unrealistic, still happened). Am Fr den 8. Jan 2010 um 8:45 schrieb Frank Lin PIAT: This is odd... it sounds like You wanted to file a bug, well... don't! How can a package script know what a user want to

Allow package bug scripts to unconditionally stop reportbug

2010-01-07 Thread Sandro Tosi
Hello, since version 4.10, reportbug checks the return code of the package bug scripts and, it != 0, ask the user if to continue or stop. This is the way we decided to fix #382010 . But now I'm wondering if there could be a use case of allowing the scripts to unconditionally stop reportbug, for

Re: Allow package bug scripts to unconditionally stop reportbug

2010-01-07 Thread Luca Bruno
On Thu, Jan 07, 2010 at 02:35:47PM +0100, Sandro Tosi wrote: Hello, since version 4.10, reportbug checks the return code of the package bug scripts and, it != 0, ask the user if to continue or stop. This is the way we decided to fix #382010 . But now I'm wondering if there could be a use

Re: Allow package bug scripts to unconditionally stop reportbug

2010-01-07 Thread brian m. carlson
On Thu, Jan 07, 2010 at 02:35:47PM +0100, Sandro Tosi wrote: But now I'm wondering if there could be a use case of allowing the scripts to unconditionally stop reportbug, for example using a special exit code (140 f.e.) . I'm generally opposed to this. There are no use cases that I can think

Re: Allow package bug scripts to unconditionally stop reportbug

2010-01-07 Thread Joerg Jaspert
But now I'm wondering if there could be a use case of allowing the scripts to unconditionally stop reportbug, for example using a special exit code (140 f.e.) . 42 would be nicer. Besides, does that mean I just have to put a bugscript in all my packages exiting 42 and those bugs stop flowing

Re: Allow package bug scripts to unconditionally stop reportbug

2010-01-07 Thread Mehdi Dogguy
Joerg Jaspert wrote: But now I'm wondering if there could be a use case of allowing the scripts to unconditionally stop reportbug, for example using a special exit code (140 f.e.) . 42 would be nicer. Besides, does that mean I just have to put a bugscript in all my packages exiting 42

Re: Allow package bug scripts to unconditionally stop reportbug

2010-01-07 Thread Frank Lin PIAT
On Thu, 2010-01-07 at 14:35 +0100, Sandro Tosi wrote: Hello, since version 4.10, reportbug checks the return code of the package bug scripts and, it != 0, ask the user if to continue or stop. This is the way we decided to fix #382010 . But now I'm wondering if there could be a use case of