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

lintian: r187 - in branches/1.23.0: checks debian frontend



Author: jeroen
Date: 2004-04-18 12:01:20 +0200 (Sun, 18 Apr 2004)
New Revision: 187

Modified:
   branches/1.23.0/checks/fields
   branches/1.23.0/debian/changelog
   branches/1.23.0/frontend/lintian
Log:
- Version number indicates that this isn't beta1 anymore
- Fix up changelog a bit: sorting, whitespace, and upload by 'Lintian
  Maintainers', that's more neutral than choosing one to be the uploader
  (which is whoever you choose only at most half-correct)
- Fix version number check: if (my ($a, $b, $c) = undef) doesn't give
  false


Modified: branches/1.23.0/checks/fields
===================================================================
--- branches/1.23.0/checks/fields	2004-04-18 07:51:28 UTC (rev 186)
+++ branches/1.23.0/checks/fields	2004-04-18 10:01:20 UTC (rev 187)
@@ -64,7 +64,8 @@
 
 	unfold("version", \$version);
 
-	if (my ($epoch, $upstream, $debian) = _valid_version($version)) {
+	if (@_ = _valid_version($version)) {
+		my ($epoch, $upstream, $debian) = @_;
 		if ($upstream !~ /^\d/i) {
 			print "W: $pkg $type: upstream-version-not-numeric $version\n";
 		}
@@ -519,10 +520,12 @@
 sub _valid_version {
 	my $ver = shift;
 
+	# epoch check means nothing here... This check is only useful to detect
+	# weird characters in version (and to get the debian revision)
 	if ($ver =~ m/^(\d+:)?([-\.+:A-Z0-9]+?)(-[\.+A-Z0-9]+)?$/i) {
 		return ($1, $2, $3);
 	} else {
-		return undef;
+		return ();
 	}
 }
 

Modified: branches/1.23.0/debian/changelog
===================================================================
--- branches/1.23.0/debian/changelog	2004-04-18 07:51:28 UTC (rev 186)
+++ branches/1.23.0/debian/changelog	2004-04-18 10:01:20 UTC (rev 187)
@@ -1,42 +1,12 @@
-lintian (1.23.0~beta1-r181) unstable; urgency=low
+lintian (1.23.0~beta1-fixing1) unstable; urgency=low
 
   The ``moving forward'' release, prepared by Marc 'HE' Brockschmidt,
   Frank Lichtenheld and Jeroen van Wolffelaar.
 
   * [FL] add udeb support (Closes: #216117)
     Thanks to Joey Hess for his input. Many changes, mostly to
-     frontend/lintian, checks/debconf and checks/files
+    frontend/lintian, checks/debconf and checks/files
 
-  * collection/override-file:
-    + [FL] add support for source overrides (Closes: #129510)
-    See the User Manual for more information.
-  
-  * debian/control,debian/copyright:
-    + [FL] Add Marc 'HE' Brockschmidt to Uploaders and
-      to copyright file
-  
-  * doc/lintian.sgml:
-    + [FL] Some updates, some more verbatim explantions
-      (Closes: #197955)
-    + [FL] Reworked the override section to handle udeb and
-      source packages, too
-  * doc/README:
-    + [FL] Update options
-  
-  * frontend/lintian:
-    + [HE] Added a --dont-check-parts|-X option to allow users to specify
-      which tests should not be run. Also added infos about this to the
-      manpage. (Closes: #206674)
-  
-  * lib/Dep.pm:
-    + [FL] Fixed some semantic errors (since noone ever observed the
-      correspoding perl warnings the fixed parts are probably never
-      used in the current code)
-  * lib/Utils.pm
-    + [HE] Changed {read,parse}_dpkg_control a bit to cope with the fact
-      that template files sometimes contain lines consisting only of
-      whitespace which do *not* separate to blocks. (Closes: #242479)
-  
   * checks/binaries:
     + [JvW] Ignore static binaries in /usr/lib/debug
   * checks/changelog-file:
@@ -152,13 +122,42 @@
   * collection/diffstat
     + [HE] The diff.gz file name does not include the the epoch, so strip it
       before trying to get the file.
-
+  * collection/override-file:
+    + [FL] add support for source overrides (Closes: #129510)
+      See the User Manual for more information.
+  
+  * debian/control,debian/copyright:
+    + [FL] Add Marc 'HE' Brockschmidt to Uploaders and
+      to copyright file
+  
+  * doc/lintian.sgml:
+    + [FL] Some updates, some more verbatim explantions
+      (Closes: #197955)
+    + [FL] Reworked the override section to handle udeb and
+      source packages, too
+  * doc/README:
+    + [FL] Update options
+  
+  * frontend/lintian:
+    + [HE] Added a --dont-check-parts|-X option to allow users to specify
+      which tests should not be run. Also added infos about this to the
+      manpage. (Closes: #206674)
+  
+  * lib/Dep.pm:
+    + [FL] Fixed some semantic errors (since noone ever observed the
+      correspoding perl warnings the fixed parts are probably never
+      used in the current code)
+  * lib/Utils.pm
+    + [HE] Changed {read,parse}_dpkg_control a bit to cope with the fact
+      that template files sometimes contain lines consisting only of
+      whitespace which do *not* separate to blocks. (Closes: #242479)
+  
   * unpack/list-binpkg:
     + [HE] Try to open Packages.gz if no Packages file can be found. Fix
       based on patch by Robert Lemmen <robertle@semistable.com>, thanks!
       (Closes: #198617)
 
- -- Frank Lichtenheld <djpig@debian.org>  Fri, 16 Apr 2004 01:45:00 +0200
+ -- Debian Lintian Maintainers <lintian-maint@debian.org>  Sun, 18 Apr 2004 11:37:08 +0200
 
 lintian (1.22.12) unstable; urgency=low
 

Modified: branches/1.23.0/frontend/lintian
===================================================================
--- branches/1.23.0/frontend/lintian	2004-04-18 07:51:28 UTC (rev 186)
+++ branches/1.23.0/frontend/lintian	2004-04-18 10:01:20 UTC (rev 187)
@@ -29,7 +29,7 @@
 #  Global Variables
 #######################################
 my $lintian_info_cmd = 'lintian-info'; #Command to run for ?
-my $LINTIAN_VERSION = "1.23.0~beta1-r181";	#External Version number
+my $LINTIAN_VERSION = "1.23.0~beta1-fixing1";	#External Version number
 my $BANNER = "Lintian v$LINTIAN_VERSION"; #Version Banner - text form
 my $LAB_FORMAT = 7;		#Lab format Version Number
 				#increased whenever incompatible



Reply to: