Skip to content
Snippets Groups Projects
Commit 948dc2c8 authored by Emanuele Aina's avatar Emanuele Aina
Browse files

pkg-merge-upstream-to-downstreams: Explicitly define stable branches


Currently the code pulling updates from upstream assumes that downstream
branches ending with `dev[0-9]` or `pre` are not stable so updates can
be directly landed there, while other downstream branches (for instance,
`apertis/v2021`) are stable and updates should go through the updates or
security repositories.

However, there's a time right before the first stable release is
published that the "stable" branch is not stable yet. For instance,
before the release of `v2021.0` the `apertis/v2021` should not have been
considered stable and updates should have been landed directly there.

This is even more important for downstreams so that they can pull
updates to their not-released-yet v2021 branch.

To do so, add a `--stable` parameter that accepts the list of branches
to be considered "stable".

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 07fa15a4
No related branches found
No related tags found
1 merge request!208v2021 ← v2022dev2 backports: Enhancements in package-source-builder for the ci-package-builder pipeline
Pipeline #242501 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment