~canonical-kernel/+git/kteam-tools:apw/kernel-series--devel-as-proposed

Last commit made on 2023-09-07
Get this branch:
git clone -b apw/kernel-series--devel-as-proposed https://git.launchpad.net/~canonical-kernel/+git/kteam-tools
Members of Canonical Kernel can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
apw/kernel-series--devel-as-proposed
Repository:
lp:~canonical-kernel/+git/kteam-tools

Recent commits

ca8e796... by Andy Whitcroft

info/kernel-series: devel -- add as-proposed for stream#2

Signed-off-by: Andy Whitcroft <email address hidden>

20dc275... by Cory Todd

ci: restrict CI to run on target context

We should always run CI from the target context. For this repo, it
doesn't really matter because only committers have PR access. As a
reference for best practice, we should encourage the more secure event.

Also fix the git config email typo.

Signed-off-by: Cory Todd <email address hidden>

ccf19f1... by Cory Todd

cranky: review-master-changes -- fix 2nd order derivatives

In some cases such as respins, it was possible to not be able to find a
starting point for calculating a changelist. This was addressed in

29ed91b7 ("cranky: review-master-changes: Fix the case when the base in the changelog is not in the tree")

This approach was found to not work with derivates of derivaties. Let's
use the original method and then attempt the more expanded method as a
fallback.

Signed-off-by: Cory Todd <email address hidden>
Acked-by: John Cabaj <email address hidden>
Signed-off-by: Cory Todd <email address hidden>

e111a73... by Cory Todd

cranky: update-dependent --all + transactions

Make it possible to update all dependent packages with one command. This useful for humans but will also be useful
for automation.

Acked-by: Juerg Haefliger <email address hidden>
Signed-off-by: Cory Todd <email address hidden>

a2c42c2... by Cory Todd

cranky: update-dependents -- exit on error

Maintain exit-on-error behavior with the option to override using
--rollback. The call to update-dependent does not exit immediately since
we _may_ need to rollback. All other non-zero return codes will abort as
expected. Stop processing packages once the first error is encountered
in order to be consistent with the other cranky commands.

Without --rollback, the user may end up in an inconsistent state where
one package succeeds while one or more remain unchanged.

Signed-off-by: Cory Todd <email address hidden>

57866a7... by Cory Todd

cranky: update-dependents -- update bash completion

Add bash compeletion for update-dependents.

Signed-off-by: Cory Todd <email address hidden>

ac4ab37... by Cory Todd

cranky: update-dependents -- update-dependent on all packages

Introduce a new subcommand that updates all dependent packages for a
tree set. This command can be run from any package and the operation is
done as a transaction. Either all packages get updated or the changes
are completely reverted.

Signed-off-by: Cory Todd <email address hidden>

b511936... by Cory Todd

cranky: update-dependent -- use return instead of exit

Consolidate update_depedendent calls into a single location so we can
report errors from one location.

Signed-off-by: Cory Todd <email address hidden>

521d41f... by Cory Todd

cranky: update-dependent -- move logic into a function

Move all core logic into a function so it can be reused more easily.

Signed-off-by: Cory Todd <email address hidden>

bab3270... by Cory Todd

cranky: update-dependent -- ignore warning

The SC1091 warning should also be ignored since shellcheck cannot
resolve the dynamic debian.env file. Add an explanatory comment for
justify this disable.

Signed-off-by: Cory Todd <email address hidden>