On Sat, 20 Jan 2018 14:31:48 +0800 Paul Wise wrote:
> Please add a check that warns about patch files that are present in
> debian/patches/ but are missing from the series file.
I'd suggest this be done both with dpkg-source format v3 quilt and
dpkg-source v1 with manual quilt setup.
It was mentioned on IRC that dpkg-source supports vendor-specific
series files. So, I think that lintian should look at all of the series
files that are present and only warn when none of them have the patch.
From the code it appears that debian/patches/series and
debian/patches/*.series should match all the series files.
sub get_series_file {
    my $self = shift;
    my $vendor = lc(get_current_vendor() || 'debian');
    # Series files are stored alongside patches
    my $default_series = $self->get_patch_file('series');
    my $vendor_series = $self->get_patch_file("$vendor.series");
    return $vendor_series if -e $vendor_series;
    return $default_series;
}
-- 
bye,
pabs
https://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part