Hi Jakub,
Jakub Wilk wrote:
> > This could be solved by making the one or the other behaviour
> > optional via a commandline switch.
>
> The advantage of keeping the current behavior by default is that I
> wouldn't have to modify the apt hook. I know that some people have
> locally edited it, and I'd prefer not to annoy them with conffile
> prompts. :-)
Hrm, I must admit, I wouldn't care that much about it. I mean, that's
what conffile prompts are for. :-) But I understand your preference.
> So I like the idea of new option. Now the hard part is inventing a
> name for the switch... Do you have any suggestions?
Since adequate only has long options so far, what about "--exit-code"
or even "--also-report-via-exit-code"?
> >>But I haven't thought about using it in other packages'
> >>autopkgtests. Very clever, thanks for the hint. :-)
> >
> >Oh? This seemed so obvious to me. As it would be made for that. :-)
>
> It's obvious only after one realized it's obvious. :-P
I'll likely add adequate as a standalone test to every package to
which I add autopkgtests. (But I don't think I should add autopkgtests
just to add adequate -- IMHO it doesn't suffice, except for maybe pure
documentation packages without functionality.)
Hrm, maybe it would be helpful if adequate ships an example for that
in /usr/share/doc/examples/ or such. Will file a separate
feature request for that. :-)
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]