cranky/verify-release-ready: Add check for upstream source information
This adds a stage to verify-release-ready which checks that non-UBUNTU
commits have a cherry-picked or backported line. This is only run on
kernels which have a debian/upstream-<source> file and are not -generic.
cranky: startnewrelease: Commit staged files as well
Currently, if --commit is provided only the changelog is committed. This
is a regression, all staged files along with the modified changelog should
be committed. Do that.
While at it, add the -c/--commit option to cranky-completion.bash.
Fixes: 04dc3d8308f7 ("cranky: open: Make use of the new startnewrelease --commit option")
Signed-off-by: Juerg Haefliger <email address hidden>
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Juerg Haefliger <email address hidden>
cranky: startnewrelease: Commit staged files as well
Currently, if --commit is provided only the changelog is committed. This
is a regression, all staged files along with the modified changelog should
be committed. Do that.
While at it, add the -c/--commit option to cranky-completion.bash.
Fixes: 04dc3d8308f7 ("cranky: open: Make use of the new startnewrelease --commit option")
Signed-off-by: Juerg Haefliger <email address hidden>
In order to simplify selection of bases when automatically preparing
kernels it is helpful to know the order of cycles. Add support for
explicit previous-cycle selectors. Default those for stable cycles only
to the previous cycle as listed in sru-cycle.yaml.
Signed-off-by: Andy Whitcroft <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Signed-off-by: Andy Whitcroft <email address hidden>
In order to simplify selection of bases when automatically preparing
kernels it is helpful to know the order of cycles. Add support for
explicit previous-cycle selectors. Default those for stable cycles only
to the previous cycle as listed in sru-cycle.yaml.
Signed-off-by: Andy Whitcroft <email address hidden>
ktl/sru_cycle: ensure cycles order remains consistent
Before we had the ability to add cycles they were implicitly ordered
by insertion ie in YAML file order. As soon as we add a cycle it will
be out of order. Switch cycles to using the new ordering function
and switch our str() to use cycles.
Signed-off-by: Andy Whitcroft <email address hidden>
We will soon need the table linkage for an entry in order to examine the
cycles around it. Reinstate the internal link. In order to allow
addition of entries to a cycle instantiate it via a new attach() helper
which can be used after creation.
Signed-off-by: Andy Whitcroft <email address hidden>
stable/create-cycle-sprint: Use sru_cycle library to update cycle info
Moving the sru-cycle.yaml under kernel-versions also broke create-cycle-sprint.
With the updated sru_cycle library we can now fix this and make the code much
more straight forward.
Signed-off-by: Stefan Bader <email address hidden>
Acked-by: Andrei Gherzan <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>