mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
requestsync: add -C to allow manually adding changelog when missing
(LP: #518574).
This commit is contained in:
parent
233ceb06b9
commit
07451d8631
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -8,7 +8,8 @@ ubuntu-dev-tools (0.93) UNRELEASED; urgency=low
|
||||
for armel.
|
||||
|
||||
[ Kees Cook ]
|
||||
* requestsync: add -C to allow manually adding changelog when missing.
|
||||
* requestsync: add -C to allow manually adding changelog when missing
|
||||
(LP: #518574).
|
||||
|
||||
-- Kees Cook <kees@ubuntu.com> Mon, 08 Feb 2010 10:12:23 -0800
|
||||
|
||||
|
@ -198,7 +198,7 @@ if __name__ == '__main__':
|
||||
changelog = getDebianChangelog(debian_srcpkg, base_version)
|
||||
if not changelog:
|
||||
if not options.missing_changelog_ok:
|
||||
print >> sys.stderr, "E: Did not retrieve any changelog entries. Was the package recently uploaded? (check http://packages.debian.org/changelogs/)"
|
||||
print >> sys.stderr, "E: Did not retrieve any changelog entries. Do you need to specify '-C'? Was the package recently uploaded? (check http://packages.debian.org/changelogs/)"
|
||||
sys.exit(1)
|
||||
else:
|
||||
need_interaction = True
|
||||
@ -206,6 +206,9 @@ if __name__ == '__main__':
|
||||
report += changelog
|
||||
|
||||
(title, report) = edit_report(title, report, changes_required = need_interaction)
|
||||
if 'XXX FIXME' in report:
|
||||
print >> sys.stderr, "E: changelog boilerplate found in report, please manually add changelog when using '-C'"
|
||||
sys.exit(1)
|
||||
|
||||
# bug status and bug subscriber
|
||||
status = 'confirmed'
|
||||
|
Loading…
x
Reference in New Issue
Block a user