From 5d02fe7a3ebcae5ce1e2fe59f0f60255bcecf87e Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Wed, 16 Jan 2013 15:15:50 +0000 Subject: [PATCH] sponsor-patch: Allow all supported bare releases now that LP rewrites these to contain '-proposed' for us. --- debian/changelog | 4 ++++ ubuntutools/sponsor_patch/source_package.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 374002b..8bb01b3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -22,6 +22,10 @@ ubuntu-dev-tools (0.146) UNRELEASED; urgency=low * ubuntu-build: Default to DEV-proposed in batch mode. Thanks Scott Kitterman (LP: #1088010) + [ Iain Lane ] + * sponsor-patch: Allow all supported bare releases now that LP rewrites + these to contain '-proposed' for us. + -- Julian Taylor Sat, 24 Nov 2012 21:07:01 +0100 ubuntu-dev-tools (0.145) experimental; urgency=low diff --git a/ubuntutools/sponsor_patch/source_package.py b/ubuntutools/sponsor_patch/source_package.py index fcbc9e0..3713f59 100644 --- a/ubuntutools/sponsor_patch/source_package.py +++ b/ubuntutools/sponsor_patch/source_package.py @@ -267,7 +267,8 @@ class SourcePackage(object): (devel_series, supported_series) = _get_series(launchpad) if upload == "ubuntu": - allowed = [s + "-proposed" for s in supported_series] + \ + allowed = supported_series + \ + [s + "-proposed" for s in supported_series] + \ [devel_series] if self._changelog.distributions not in allowed: Logger.error(("%s is not an allowed series. It needs to be one "