[libparse-debianchangelog-perl] 01/03: Document parsechangelog fails on version numbers not present in the changelog

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Fri Dec 16 08:33:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

cbiedl-guest pushed a commit to branch master
in repository libparse-debianchangelog-perl.

commit 1ef8abfaaadd405540d380d4205d9b46a015c410
Author: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
Date:   Fri Dec 16 08:01:07 2016 +0100

    Document parsechangelog fails on version numbers not present in the changelog
---
 ...nt-parsechangelog-on-nonexistent-versions.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/document-parsechangelog-on-nonexistent-versions.patch b/debian/patches/document-parsechangelog-on-nonexistent-versions.patch
new file mode 100644
index 0000000..a9d7056
--- /dev/null
+++ b/debian/patches/document-parsechangelog-on-nonexistent-versions.patch
@@ -0,0 +1,25 @@
+Subject: Document parsechangelog fails on version numbers not present in the changelog
+Author: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
+Bug-Debian: https://bugs.debian.org/576606
+Forwarded: no
+Last-Update: 2016-12-16
+
+    This is a workaround for #576606. A fix requires a function that
+    allows comparison between two Debian version numbers.
+
+--- a/bin/parsechangelog
++++ b/bin/parsechangelog
+@@ -236,6 +236,13 @@
+ 
+ __END__
+ 
++=head1 BUGS
++
++Any version given with C<--since>, C<--until>, C<--from>, or C<--to>
++must exist in the changelogfile, else parsechangelog will a wrong result
++or even abort with an error message. See
++L<https://bugs.debian.org/576606>
++
+ =head1 SEE ALSO
+ 
+ Parse::DebianChangelog, the underlying Perl module
diff --git a/debian/patches/series b/debian/patches/series
index b00afa5..7e19e48 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ Remove-support-for-broken-timezone.patch
 html-rev_made-rel_author.patch
 timestamp-dpkg-1.18.8.patch
 dont-trim-filenames-in-errors.patch
+document-parsechangelog-on-nonexistent-versions.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libparse-debianchangelog-perl.git



More information about the Pkg-perl-cvs-commits mailing list