ACK: [kteam-tools][PATCH 1/2] promote_to_*.py: Special case for handling Azure kernels

Po-Hsu Lin (Sam) po-hsu.lin at canonical.com
Thu Jun 15 08:11:48 UTC 2017


On Thu, Jun 15, 2017 at 12:11 AM, Kleber Sacilotto de Souza
<kleber.souza at canonical.com> wrote:
> The Azure kernel is temporarily not going to be promoted to -updates and
> -security, so mark the tasks as invalid.
>
> Signed-off-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>
Looks good to me.

Acked-by: Po-Hsu Lin <po-hsu.lin at canonical.com>

> ---
>  stable/wfl/wft/promote_to_security.py | 3 ++-
>  stable/wfl/wft/promote_to_updates.py  | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/stable/wfl/wft/promote_to_security.py b/stable/wfl/wft/promote_to_security.py
> index 560b0093..8ee23bfb 100644
> --- a/stable/wfl/wft/promote_to_security.py
> +++ b/stable/wfl/wft/promote_to_security.py
> @@ -33,8 +33,9 @@ class PromoteToSecurity(Promoter):
>
>              # Special case for Vivid kernel packages which should never go to -updates or -security.
>              # We are past support and only do this to support the Plano project.
> +            # Azure kernel is also being promoted temporarily only to -proposed.
>              #
> -            if s.bug.series == "vivid":
> +            if s.bug.series == "vivid" or s.bug.pkg_name == "linux-azure":
>                  s.task.status = 'Invalid'
>                  retval = True
>                  break
> diff --git a/stable/wfl/wft/promote_to_updates.py b/stable/wfl/wft/promote_to_updates.py
> index 227ae7f0..5903394d 100644
> --- a/stable/wfl/wft/promote_to_updates.py
> +++ b/stable/wfl/wft/promote_to_updates.py
> @@ -34,8 +34,9 @@ class PromoteToUpdates(Promoter):
>
>              # Special case for Vivid kernel packages which should never go to -updates or -security.
>              # We are past support and only do this to support the Plano project.
> +            # Azure kernel is also being promoted temporarily only to -proposed.
>              #
> -            if s.bug.series == "vivid":
> +            if s.bug.series == "vivid" or s.bug.pkg_name == "linux-azure":
>                  s.task.status = 'Invalid'
>                  retval = True
>                  break
> --
> 2.11.0
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team




More information about the kernel-team mailing list