Re: Ideas wrt debconf templates checks

2008-07-08 Thread Gerfried Fuchs
Am Samstag, den 05.07.2008, 21:27 +0100 schrieb Miguel Figueiredo: > A Saturday 05 July 2008 19:22:20, Esko Arajärvi escreveu: > > One of the most irritating situations for a translator (at least for me) is > > when package maintainer marks a translation bug closed but forgets to add > > the po fil

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Russ Allbery
"Adam D. Barratt" <[EMAIL PROTECTED]> writes: > Looking through the current checks, the patch could probably be safely > reduced by simply running the main checks against all of the maintainer > scripts, rather than just config and postinst; there are a couple of > checks which are specific to ind

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Adam D. Barratt
On Sat, 2008-07-05 at 15:01 -0700, Russ Allbery wrote: > "Adam D. Barratt" <[EMAIL PROTECTED]> writes: > > On Sat, 2008-07-05 at 17:02 +0100, Adam D. Barratt wrote: > > >> This should of course just be > >> for each of config, postinst > > > Hrm, or should it? The current lintian debconf checks o

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Russ Allbery
"Adam D. Barratt" <[EMAIL PROTECTED]> writes: > Perhaps unsurprisingly, debconf itself throws up quite a few false > positives as debconf-apt-progress makes use of a number of templates > which are otherwise unused. If desirable, debconf could be exempted from > the check, as it is from some of th

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Russ Allbery
"Adam D. Barratt" <[EMAIL PROTECTED]> writes: > On Sat, 2008-07-05 at 17:02 +0100, Adam D. Barratt wrote: >> This should of course just be >> for each of config, postinst > Hrm, or should it? The current lintian debconf checks only check config > and postinst, but checking the other maintainer sc

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Christian Perrier
Quoting Esko Arajärvi ([EMAIL PROTECTED]): > 1. Changelog proclaims a bug closed > 2. The bug is marked with tags l10n and patch > 3. There's a po file attached to the bug report > 4. This po file is not in the package's po directory That would give false positives in the case where a maintainer

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Miguel Figueiredo
A Saturday 05 July 2008 19:22:20, Esko Arajärvi escreveu: > Hi all, [...] > > I got one more idea, but I'm not sure if it is feasible, because I know > nothing of lintian's inner workings. Specifically I don't know if it has > some kind of access to BTS, but let's try. > > One of the most irritati

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Adam D. Barratt
On Thu, 2008-07-03 at 07:03 +0200, Christian Perrier wrote: > Hello Lintian maintainers and i18n 'informal team', > > Before I report this as a wishlist bug, I'd like to have your input > on two ideas that popped up in my mind for possible lintian checks wrt > debconf templates: > > 1) Checking i

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Adam D. Barratt
On Sat, 2008-07-05 at 18:22 +, Esko Arajärvi wrote: > I got one more idea, but I'm not sure if it is feasible, because I know > nothing of lintian's inner workings. Specifically I don't know if it has some > kind of access to BTS, but let's try. lintian's checks intentionally do not use any

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Adam D. Barratt
On Sat, 2008-07-05 at 15:07 -0400, Joey Hess wrote: > Adam D. Barratt wrote: > > As far as I can see, such a test does not currently exist. It would be > > fairly simple to add, assuming that the following methodology would make > > sense (on a per-binary package basis): > > > > for each of config

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Joey Hess
Adam D. Barratt wrote: > As far as I can see, such a test does not currently exist. It would be > fairly simple to add, assuming that the following methodology would make > sense (on a per-binary package basis): > > for each of config, preinst, postinst, prerm, postrm > find uses of db_input

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Esko Arajärvi
Hi all, On Thursday, 3. July 2008 05:03, Christian Perrier wrote: > Before I report this as a wishlist bug, I'd like to have your input > on two ideas that popped up in my mind for possible lintian checks wrt > debconf templates: I got one more idea, but I'm not sure if it is feasible, because I

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Adam D. Barratt
On Sat, 2008-07-05 at 17:02 +0100, Adam D. Barratt wrote: > On Sat, 2008-07-05 at 16:05 +0100, Adam D. Barratt wrote: > > Hi, > > > > On Thu, 2008-07-03 at 07:03 +0200, Christian Perrier wrote: > > > 1) Checking if a declared template is still used > [...] > > As far as I can see, such a test does

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Adam D. Barratt
On Sat, 2008-07-05 at 16:05 +0100, Adam D. Barratt wrote: > Hi, > > On Thu, 2008-07-03 at 07:03 +0200, Christian Perrier wrote: > > 1) Checking if a declared template is still used [...] > As far as I can see, such a test does not currently exist. It would be > fairly simple to add, assuming that

Re: Ideas wrt debconf templates checks

2008-07-05 Thread Adam D. Barratt
Hi, On Thu, 2008-07-03 at 07:03 +0200, Christian Perrier wrote: > 1) Checking if a declared template is still used > > Sometimes, maintainers rewrite maintainer scripts and remove the use a > a given debconf template but do not think about dropping it from > debian/*templates. It therefore clutte

Ideas wrt debconf templates checks

2008-07-02 Thread Christian Perrier
Hello Lintian maintainers and i18n 'informal team', Before I report this as a wishlist bug, I'd like to have your input on two ideas that popped up in my mind for possible lintian checks wrt debconf templates: 1) Checking if a declared template is still used Sometimes, maintainers rewrite mainta