[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#482795: lintian: should not recommend debian/templates.pot to exist in source



Hello translators,

While reporting that a lintian message was inappropriate, I forgot to
ask you for comments.  I apologise for that, and want to ask you now to
send your opinions to 482795@bugs.debian.org (and Cc: me).  For your
convenience, the entire log so far (plus my response) is quoted below.

On Sun, May 25, 2008 at 12:01:45PM +0200, Jordà Polo wrote:
> On Sun, May 25, 2008 at 09:02:39AM +0200, Bas Wijnen wrote:
> > I want my clean target to remove all generated files, so that I can be
> > sure no old things are used in a package.  One of those files is
> > debian/templates.pot.  I'm removing it in the clean target and
> > generating it in the build target.
> > 
> > Lintian complains about this, because it means that the file is not
> > present in the source package.  IMO this is incorrect: generated files
> > should not be present in the source package.  There's still discussion
> > (which I intend to restart) if it is acceptable to leave them in after
> > running the clean target, but AFAIK there's no discussion that it is
> > acceptable to remove them.  Of course I could be wrong about that. :-)
> 
> Perhaps I'm missing something here, but it looks like both
> translators[1] and the website[2] still expect the templates.pot file to
> be there. Wouldn't it make more sense to update the website and i18n.d.n
> scripts[3] before removing the lintian check?
>
>  1. http://www.debian.org/international/l10n/po-debconf/README-trans
>  2. http://www.debian.org/international/l10n/po-debconf/pot
>  3. http://svn.debian.org/viewsvn/debian-l10n/dl10n/trunk/dl10n/

That sounds reasonable.  Additionally, I'd like translators who care
about this to agree.  It doesn't make a lot of difference:
debconf-updatepo needs to be run before checking if templates.pot
exists.  This fact should be documented in [1] and/or [2], and
implemented in [3].  Note that [1] and [2] don't actually say that it
must be in the source package; they just don't mention how to get the
file.

Additionally, po-debconf's man page should be updated to at least
include generating templates.pot in the build target as an option.  It
currently only says it's best to generate it in the clean target (which
is really ugly IMO, because it may actually create a new file when asked
to clean up).

Anyway, thanks for the comments, my report suggested to ignore the
translators and break their procedures.  This was not my intention, of
course.

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://pcbcn10.phys.rug.nl/e-mail.html

Attachment: signature.asc
Description: Digital signature


Reply to: