mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-11 08:51:29 +00:00
submittodebian: Don't parse the entire changelog, to avoid bumping into
past illegal version numbers (LP: #727314)
This commit is contained in:
parent
178456394e
commit
de25fb4a6c
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -9,6 +9,8 @@ ubuntu-dev-tools (0.131) UNRELEASED; urgency=low
|
|||||||
(LP: #845487)
|
(LP: #845487)
|
||||||
* requestsync: Add nice error messages to gpg-signing code, rather than
|
* requestsync: Add nice error messages to gpg-signing code, rather than
|
||||||
simple assertions (LP: #537288)
|
simple assertions (LP: #537288)
|
||||||
|
* submittodebian: Don't parse the entire changelog, to avoid bumping into
|
||||||
|
past illegal version numbers (LP: #727314)
|
||||||
|
|
||||||
[ Colin Watson ]
|
[ Colin Watson ]
|
||||||
* syncpackage: Fix typo.
|
* syncpackage: Fix typo.
|
||||||
|
@ -45,9 +45,10 @@ if not os.path.exists('/usr/bin/reportbug'):
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
def get_most_recent_debian_version(changelog):
|
def get_most_recent_debian_version(changelog):
|
||||||
for version in changelog.get_versions():
|
for block in changelog._blocks:
|
||||||
if not re.search('(ubuntu|build)', version.full_version):
|
version = block.version.full_version
|
||||||
return version.full_version
|
if not re.search('(ubuntu|build)', version):
|
||||||
|
return version
|
||||||
|
|
||||||
def get_bug_body(changelog):
|
def get_bug_body(changelog):
|
||||||
msg = """In Ubuntu, the attached patch was applied to achieve the following:
|
msg = """In Ubuntu, the attached patch was applied to achieve the following:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user