backportpackage: change the ubuntu backports version following the new policy from the Backporters team

Thanks: Unit 193 for the patch
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
This commit is contained in:
Mattia Rizzolo 2021-12-05 15:42:39 +01:00
parent d903160215
commit cd4d717551
No known key found for this signature in database
GPG Key ID: 0816B9E18C762BAD
2 changed files with 6 additions and 1 deletions

View File

@ -242,7 +242,7 @@ def get_backport_version(version, suffix, upload, release):
series = Distribution(distribution.lower()).\
getSeries(name_or_version=release)
backport_version = version + ('~%s%s.1' % (distribution.lower(), series.version))
backport_version = version + ('~bpo%s.1' % (series.version))
else:
error('Unknown distribution «%s» for release «%s»' % (distribution, release))
if suffix is not None:

5
debian/changelog vendored
View File

@ -11,6 +11,11 @@ ubuntu-dev-tools (0.187) UNRELEASED; urgency=medium
* backportpackage:
+ Support backporting to Debian releases. LP: #974132
[ Unit 193 ]
* backportpackage:
+ Change the generated Ubuntu version following the new policy from the
Backporters team.
[ Dan Streetman ]
* misc:
+ Refactor download progress bar code.