Maytham Alsudany pushed to branch bookworm at lintian / lintian


Commits:
701dc666 by Maytham Alsudany at 2025-07-18T20:00:46+08:00
Add duke to list of known distributions

As per https://lists.debian.org/debian-devel-announce/2025/01/msg00004.html

- - - - -
1f9bd0ff by Emilio Pozuelo Monfort at 2025-07-18T20:01:12+08:00
Don't emit source-nmu-has-incorrect-version-number for stable updates

Closes: #1022759

- - - - -
f97b4a6f by Adrian Bunk at 2025-07-18T20:01:21+08:00
source-nmu-has-incorrect-version-number: Fix false positive for +deb*u* versions

- - - - -
c5f02813 by Maytham Alsudany at 2025-07-18T20:04:40+08:00
Upload changelog

- - - - -


3 changed files:

- data/changes-file/known-dists
- debian/changelog
- lib/Lintian/Check/Nmu.pm


Changes:

=====================================
data/changes-file/known-dists
=====================================
@@ -12,6 +12,9 @@ stretch
 buster
 bullseye
 bookworm
+trixie
+forky
+duke
 sid
 
 # Aliases


=====================================
debian/changelog
=====================================
@@ -1,9 +1,18 @@
 lintian (2.116.3+deb12u1) UNRELEASED; urgency=medium
 
   * Team upload.
-  * data/changes-file/known-dists: Add bookworm (Closes: #1051140)
 
- -- Maytham Alsudany <[email protected]>  Mon, 17 Jun 2024 19:43:58 +0800
+  [ Maytham Alsudany ]
+  * data/changes-file/known-dists: Add bookworm, trixie, forky, duke (Closes: 
#1051140)
+
+  [ Emilio Pozuelo Monfort ]
+  * Don't emit source-nmu-has-incorrect-version-number for stable updates
+    (Closes: #1022759)
+
+  [ Adrian Bunk ]
+  * source-nmu-has-incorrect-version-number: Fix false positive for +deb*u* 
versions
+
+ -- Maytham Alsudany <[email protected]>  Fri, 18 Jul 2025 20:03:34 +0800
 
 lintian (2.116.3) unstable; urgency=medium
 


=====================================
lib/Lintian/Check/Nmu.pm
=====================================
@@ -102,6 +102,7 @@ sub source {
     my $version_nmuness = 0;
     my $version_local = 0;
     my $upload_is_backport = $version =~ m/~bpo(\d+)\+(\d+)$/;
+    my $upload_is_stable_update = $version =~ m/[~|\+]deb(\d+)u(\d+)$/;
 
     if ($version =~ /-[^.-]+(\.[^.-]+)?(\.[^.-]+)?$/) {
         $version_nmuness = 1 if defined $1;
@@ -158,6 +159,7 @@ sub source {
                 $pointer, $version)
               if $upload_is_nmu
               && $version_nmuness != 1
+              && !$upload_is_stable_update
               && !$upload_is_backport;
         }
 



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/9d4daee3a72db19a4825a3a93077ec9f71205136...c5f0281354b1e209f543705a11c272e6bbd1dfc0

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/9d4daee3a72db19a4825a3a93077ec9f71205136...c5f0281354b1e209f543705a11c272e6bbd1dfc0
You're receiving this email because of your account on salsa.debian.org.


Reply via email to