[SCM] Debian package checker branch, master, updated. 2.5.15-6-g7097b19
The following commit has been merged in the master branch:
commit 7097b19fc8ca0f623237d5afaaf311fea6c93d8a
Author: Niels Thykier <niels@thykier.net>
Date: Sat Jul 27 22:43:02 2013 +0200
d/changelog: Add reminder to add tag summary
Now that we have a tool to generate the tag summary, leave a marker to
do it before release. Furthermore, have a test remind us if we are
about to release without removing the TODO marker.
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/debian/changelog b/debian/changelog
index bc74bd3..c4c662e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
lintian (2.5.16) UNRELEASED; urgency=low
+ XXX: generate tag summary with private/generate-tag-summary
+
* checks/apache2.pm:
+ [NT] Fix F-P apache2-deprecated-auth-config for
"AllowOverride". Thanks to Jean-Michel Vourgère
diff --git a/t/scripts/changelog-format.t b/t/scripts/changelog-format.t
index 1a5dc15..3971cf7 100755
--- a/t/scripts/changelog-format.t
+++ b/t/scripts/changelog-format.t
@@ -33,6 +33,8 @@ my $changes = $changelog->dpkg()->{'Changes'};
my $line = 0;
my $prev_head = '';
my $release_header = 0;
+my $is_release = 1;
+$is_release = 0 if $changelog->dpkg->{'Distribution'} eq 'UNRELEASED';
foreach (split /\n/,$changes) {
# Parse::DebianChangelog adds an empty line at the beginning:
@@ -47,6 +49,13 @@ foreach (split /\n/,$changes) {
next;
}
+ # Ignore the reminder to generate the tag summary
+ if ($line < 10 && m/XXX: generate tag summary/) {
+ ok(!$is_release, "No TODO-marker in changelog for tag summary!")
+ or diag("Generate it with private/generate-tag-summary");
+ next;
+ }
+
my $spaces = 0;
$spaces++ while (s/^\s//);
--
Debian package checker
Reply to: