pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Only check doc/CHANGES-* starti...
details: https://anonhg.NetBSD.org/pkgsrc/rev/32dc107149db
branches: trunk
changeset: 549639:32dc107149db
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Nov 06 14:46:51 2008 +0000
description:
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.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 4e954ea9d0e4 -r 32dc107149db pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Nov 06 14:21:10 2008 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Nov 06 14:46:51 2008 +0000
@@ -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 ]);
}
}
Home |
Main Index |
Thread Index |
Old Index