Thu Nov 6 14:46:51 2008 UTC ()
Only check doc/CHANGES-* starting with 2008, as suggested by OBATA Akio
on pkgsrc-changes.

TODO: Discuss whether the old files should be converted to the common
format or just be left as they are.


(rillig)
diff -r1.782 -r1.783 pkgsrc/pkgtools/pkglint/files/pkglint.pl

cvs diff -r1.782 -r1.783 pkgsrc/pkgtools/pkglint/files/Attic/pkglint.pl (expand / switch to context diff)
--- pkgsrc/pkgtools/pkglint/files/Attic/pkglint.pl 2008/11/04 23:13:05 1.782
+++ pkgsrc/pkgtools/pkglint/files/Attic/pkglint.pl 2008/11/06 14:46:51 1.783
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.782 2008/11/04 23:13:05 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.783 2008/11/06 14:46:51 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -2234,7 +2234,7 @@
 		my @files = readdir(DIR);
 		closedir(DIR) or die;
 		foreach my $file (reverse sort @files) {
-			if ($file =~ m"^CHANGES-\d+$") {
+			if ($file =~ m"^CHANGES-(\d+)$" && (0 + $1 >= 2008)) {
 				push(@$get_doc_CHANGES_docs, [ $file, undef ]);
 			}
 		}