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

Bug#1056596: lintian could check if source is NMUable / doesn't cause delta due to non-standard dpkg source options



Package: lintian
Severity: wishlist
X-Debbugs-Cc: jak@debian.org

In Bug##1056595 I outlined how dgit overrides dpkg filters
and files like .gitignore appear in tarballs, meaning that
if you download the .dsc and try to NMU it, your NMU suddenly
misses a lot of files.

lintian should check that dpkg-source -x && dpkg-source -b
does not

* add additional files
* remove files
* modify files

Arguably it may be reasonable to parse the Perl bindings
in dpkg to get the ignore list and just check that we don't
ship any ignored files.

Likewise it can ensure that other options like compression of
the tarball matches the dpkg options for that package,
i.e. archive defaults or debian/source/options.

Maybe this is better solved in something like piuparts,
I don't know.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: