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:

- lib/Lintian/Check/Files/SourceMissing.pm


Changes:

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



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/81c4d8416161a5e69004d22e8760b2f5d0e0e1e5

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/81c4d8416161a5e69004d22e8760b2f5d0e0e1e5
You're receiving this email because of your account on salsa.debian.org.


Reply via email to