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

lintian: r1305 - in trunk: debian frontend



Author: djpig
Date: 2008-05-06 21:47:49 +0200 (Tue, 06 May 2008)
New Revision: 1305

Modified:
   trunk/debian/changelog
   trunk/frontend/lintian
Log:
* frontend/lintian:
  + Don't issue a warning about Distribution: UNRELEASED in
    .changes files.  It can be annoying to have to ignore this error
    during testing and dupload/dput/dak/etc... all will error out
    on it anyway.  Suggested by martin f krafft.  (Closes: #382327)


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-05-06 18:43:57 UTC (rev 1304)
+++ trunk/debian/changelog	2008-05-06 19:47:49 UTC (rev 1305)
@@ -8,6 +8,12 @@
   * checks/menu-format:
     + [FL] Don't issue false positives about menu files in format menu-2.
       We don't check them for errors yet, though.  (Closes: #478578)
+  
+  * frontend/lintian:
+    + [FL] Don't issue a warning about Distribution: UNRELEASED in
+      .changes files.  It can be annoying to have to ignore this error
+      during testing and dupload/dput/dak/etc... all will error out
+      on it anyway.  Suggested by martin f krafft.  (Closes: #382327)
 
  -- Frank Lichtenheld <djpig@debian.org>  Tue, 06 May 2008 20:01:56 +0200
 

Modified: trunk/frontend/lintian
===================================================================
--- trunk/frontend/lintian	2008-05-06 18:43:57 UTC (rev 1304)
+++ trunk/frontend/lintian	2008-05-06 19:47:49 UTC (rev 1305)
@@ -650,7 +650,9 @@
 
 	    # check distribution field
 	    if (defined $data->{distribution}) {
-		if ($data->{'version'} =~ /ubuntu|intrepid|hardy|gutsy|feisty|edgy|dapper/) {
+		if ($data->{distribution} eq 'UNRELEASED') {
+		    # ignore
+		} elsif ($data->{'version'} =~ /ubuntu|intrepid|hardy|gutsy|feisty|edgy|dapper/) {
 		    my @ubuntu_dists = qw(intrepid hardy gutsy feisty edgy dapper);
 		    my $regex = '^(' . join ('|', @ubuntu_dists) . ')';
 		    if ($data->{distribution} !~ /^$regex(-(proposed|updates|backports|security))?$/ ) {


Reply to: