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

Bug#887817: lintian: check for patches present in debian/patches/ but missing from the series file



Chris Lamb:
> Hi Niels,
> 
>>  if (my $dir = $info->index('debian/patches/')) {
>>     for my $file ($dir->children) {
> 
> I did this first for all the reasons you mentioned, but it wasn't
> picking up patches in subdirs for me (think gbp-pq topic patches).
> 
> 
> Best wishes,
> 

What about:

"""
for my $file ($dir->children('breadth-first') {
"""

then?

(perldoc lib/Lintian/Path.pm, search for "children" for more information)

Thanks,
~Niels


Reply to: