ACK: [kteam-tools][PATCH] create-stable-tracker: fix detection of upstream stable repo
Luis Henriques
luis.henriques at canonical.com
Wed Mar 25 10:32:33 UTC 2015
On Tue, Mar 24, 2015 at 01:49:31PM -0700, Kamal Mostafa wrote:
> Look for "-ckt" in the version string to detect the Canonical-maintained
> stable repos.
>
> Note: the old startswith("3.5") / ("3.8") code was dysfunctional anyway,
> since the version strings actually started with e.g. "v3.5". We no longer
> need to handle the pre-ckt versioned releases, so those are just removed
> instead of fixed.
>
> Signed-off-by: Kamal Mostafa <kamal at canonical.com>
> ---
> stable/create-stable-tracker | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/stable/create-stable-tracker b/stable/create-stable-tracker
> index 33aeee7..4aad4d4 100755
> --- a/stable/create-stable-tracker
> +++ b/stable/create-stable-tracker
> @@ -146,7 +146,7 @@ class CreateTrackingBug(StdApp):
> title = "%s update to %s stable release" % (series.title(), self.cfg['version'])
>
> # Repository - see if it's a tree we maintain
> - if version.startswith("3.5") or version.startswith("3.8"):
> + if "-ckt" in version:
> repository = "git://kernel.ubuntu.com/ubuntu/linux.git"
> else:
> repository = "git://git.kernel.org/"
> --
> 1.9.1
>
Seems reasonable to me.
Cheers,
--
Luís
More information about the kernel-team
mailing list