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

[Git][lintian/lintian][master] Don't emit source-nmu-has-incorrect-version-number for stable updates



Title: GitLab

Axel Beckert pushed to branch master at lintian / lintian

Commits:

  • 79d146ac
    by Emilio Pozuelo Monfort at 2024-02-05T00:56:05+00:00
    Don't emit source-nmu-has-incorrect-version-number for stable updates
    
    Closes: #1022759
    

1 changed file:

Changes:

  • lib/Lintian/Check/Nmu.pm
    ... ... @@ -102,6 +102,7 @@ sub source {
    102 102
         my $version_nmuness = 0;
    
    103 103
         my $version_local = 0;
    
    104 104
         my $upload_is_backport = $version =~ m/~bpo(\d+)\+(\d+)$/;
    
    105
    +    my $upload_is_stable_update = $version =~ m/~deb(\d+)u(\d+)$/;
    
    105 106
     
    
    106 107
         if ($version =~ /-[^.-]+(\.[^.-]+)?(\.[^.-]+)?$/) {
    
    107 108
             $version_nmuness = 1 if defined $1;
    
    ... ... @@ -158,6 +159,7 @@ sub source {
    158 159
                     $pointer, $version)
    
    159 160
                   if $upload_is_nmu
    
    160 161
                   && $version_nmuness != 1
    
    162
    +              && !$upload_is_stable_update
    
    161 163
                   && !$upload_is_backport;
    
    162 164
             }
    
    163 165
     
    


  • Reply to: