Bug#784397: devscripts: [debchange] Support un-finalised trailer line for UNLRELEASED changelog entry
Ben Finney
ben+debian at benfinney.id.au
Wed May 6 03:04:52 UTC 2015
Package: devscripts
Version: 2.15.5
Severity: minor
Control: tags + patch
When working with Emacs ‘debian-changelog-mode’ it is normal to have
the latest changelog entry set to distribution “UNRELEASED”, and have
the trailer line unfinalised — since the release is not ready.
Currently ‘debchange --release’ will fail with the following error::
=====
$ debchange --release
parsechangelog/debian: warning: debian/changelog(l21): badly formatted trailer line
LINE: --
parsechangelog/debian: warning: debian/changelog(l23): found start of entry where expected more change data or trailer
LINE: python-lockfile (1:0.10.2-1) experimental; urgency=low
parsechangelog/debian: warning: debian/changelog(l23): found eof where expected more change data or trailer
debchange: fatal error at line 645:
No maintainer in changelog!
=====
Instead, ‘debchange --release’ should recognise an unfinalised trailer
line as valid for this action, and replace the line with a finalised
trailer line for the release.
Attached is a suggested patch for this behaviour.
--
\ “From the moment I picked your book up until I laid it down I |
`\ was convulsed with laughter. Someday I intend reading it.” |
_o__) —Groucho Marx |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow-unfinalised-trailer.patch
Type: text/x-diff
Size: 1486 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20150506/f269ca49/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20150506/f269ca49/attachment.sig>
More information about the devscripts-devel
mailing list