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

[Git][lintian/lintian][master] Lintian::Check::Files::SourceMissing: Ignore files in debian/missing-sources/



Title: GitLab

Axel Beckert pushed to branch master at lintian / lintian

Commits:

  • 81c4d841
    by William Desportes at 2023-01-29T00:22:23+01:00
    Lintian::Check::Files::SourceMissing: Ignore files in debian/missing-sources/
    
    Fixes false positives in tags source-is-missing,
    source-contains-prebuilt-_javascript_-object and friends.
    
    Gbp-Dch: Full
    

1 changed file:

Changes:

  • lib/Lintian/Check/Files/SourceMissing.pm
    ... ... @@ -55,6 +55,9 @@ sub visit_patched_files {
    55 55
         return
    
    56 56
           unless $item->is_file;
    
    57 57
     
    
    58
    +    return
    
    59
    +      if $item->dirname =~ m{^debian/missing-sources/};
    
    60
    +
    
    58 61
         # prebuilt-file or forbidden file type
    
    59 62
         $self->pointed_hint('source-contains-prebuilt-wasm-binary', $item->pointer)
    
    60 63
           if $item->file_type =~ m{^WebAssembly \s \(wasm\) \s binary \s module}x;
    


  • Reply to: