File: document-parsechangelog-on-nonexistent-versions.patch

package info (click to toggle)
libparse-debianchangelog-perl 1.2.0-12
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 848 kB
  • ctags: 200
  • sloc: perl: 1,380; makefile: 24
file content (25 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Subject: Document parsechangelog fails on version numbers not present in the changelog
Author: Christoph Biedl <debian.axhn@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