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

Bug#387360: [checks/po-debconf] Invalid files in debian/po directory



Thomas Huriaux <thomas.huriaux@gmail.com> writes:

> Package: lintian
> Version: 1.23.24
> Severity: wishlist
> Tags: patch

> Hi,

> The debian/po/ directory, if using po-debconf, should only contain *.po
> files and the POTFILES.in and templates.pot files. Other files may
> appear because of an unclean package, or because of a wrong filename.
> In the attached "results.list" file, you will find the warnings for the
> whole archive.

Hm... does this end up breaking anything?  It feels a bit aggressive to
warn about someone having a README file in that directory or something.
If having those extraneous files causes problems, though, that's another
matter.

> The two other files are patches to add this check.

The results raise, for me, a different question:

> W: bootsplash source: unknown-po-debconf-file debian/po/cs.po~
> W: bootsplash source: unknown-po-debconf-file debian/po/fr.po~
> W: bootsplash source: unknown-po-debconf-file debian/po/ja.po~
> W: bootsplash source: unknown-po-debconf-file debian/po/pt.po~
> W: bootsplash source: unknown-po-debconf-file debian/po/pt_BR.po~
> W: cpad-kernel source: unknown-po-debconf-file debian/po/es.po~
> W: cpad-kernel source: unknown-po-debconf-file debian/po/vi.po~
> W: cvsd source: unknown-po-debconf-file debian/po/pt_BR.po~
> W: cvsd source: unknown-po-debconf-file debian/po/da.po~
> W: cvsd source: unknown-po-debconf-file debian/po/de.po~
> W: cvsd source: unknown-po-debconf-file debian/po/cs.po~
> W: cvsd source: unknown-po-debconf-file debian/po/es.po~
> W: cvsd source: unknown-po-debconf-file debian/po/fr.po~
> W: cvsd source: unknown-po-debconf-file debian/po/ja.po~
> W: cvsd source: unknown-po-debconf-file debian/po/nl.po~
> W: cvsd source: unknown-po-debconf-file debian/po/pt.po~
> W: cvsd source: unknown-po-debconf-file debian/po/vi.po~
[...]

Should we be warning about editor backup files in the debian diff or in
native Debian packages?  That would catch quite a lot of what's showing up
here.

> W: dpkg-www source: unknown-po-debconf-file debian/po/cs.po.Miroslav_Kure

This is an example of an extra file that, on its surface, seems
legitimate.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: