~canonical-kernel/+git/kteam-tools:apw/cranky-fix--update-master-update-dkms-version

Last commit made on 2023-07-28
Get this branch:
git clone -b apw/cranky-fix--update-master-update-dkms-version 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/cranky-fix--update-master-update-dkms-version
Repository:
lp:~canonical-kernel/+git/kteam-tools

Recent commits

871f8c4... by Andy Whitcroft

cranky: fix -- update update-dkms-versions to support --remote-branch

Now that we have a flat kernel-versions repository it makes sense to use
branches in the main archive to represent things like the "next" version
of packages. Update the master version of update-dkms-versions applied
by cranky-fix to support --remote-branch

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

d99146d... by Cory Todd

cranky: pull-sources: add wrapper around pull-source

cranky pull-source works with a single package, whereas most other cranky
commands work with a handle. Most of the time, crankers want to download
all the packages for a given kernel.

Also, cranky pull-source will download the latest version it finds in the
archive, but only if packages are in the archive. If they are in a PPA, the
version needs go be given and they are not the same for every package.

Instead of looking for versions in a specific pocket, cranky-pull-sources
look at the changelog of checked out trees and tries to download the
previos version. This covers the use case where crankers will review
packages after preparing and building packages (similarly reviewers will
have checked out and reviewed the prepared tree).

This will fail the case where a tree had to prepared again due to a build
failure or the package to be reviewed against is not the previous version
as in the changelog. Still, this should work for the most common cases.

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Co-authored-by: Cory Todd <email address hidden>
Acked-by: Thibault Ferrante <email address hidden>
Signed-off-by: Cory Todd <email address hidden>
Acked-by: Cory Todd <email address hidden>
Acked-by: Thibault Ferrante <email address hidden>
Signed-off-by: Cory Todd <email address hidden>

1ae2ad0... by Cory Todd

cranky: pull-sources -- add bash completion

Add bash completion for pull-sources.

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

31cef2b... by Cory Todd

cranky: pull-sources -- fix quoting issues

Quote cranky path and unquote path result of shell-helper
source-packages-path which returns a safe path.

Ignore two cases of SC2086 where we are using an array as parameters.

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

cc10851... by Thadeu Lima de Souza Cascardo

cranky: pull-sources: add wrapper around pull-source

cranky pull-source works with a single package, whereas most other cranky
commands work with a handle. Most of the time, crankers want to download
all the packages for a given kernel.

Also, cranky pull-source will download the latest version it finds in the
archive, but only if packages are in the archive. If they are in a PPA, the
version needs go be given and they are not the same for every package.

Instead of looking for versions in a specific pocket, cranky-pull-sources
look at the changelog of checked out trees and tries to download the
previos version. This covers the use case where crankers will review
packages after preparing and building packages (similarly reviewers will
have checked out and reviewed the prepared tree).

This will fail the case where a tree had to prepared again due to a build
failure or the package to be reviewed against is not the previous version
as in the changelog. Still, this should work for the most common cases.

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>

36089df... by Kleber Sacilotto de Souza

kleber-souza/updates-for-kuc

Changes to update the cycle dates in kernel.ubuntu.com to include the security cycles schedule. This required some refactoring to make it easier to expand the code and the html tables.

TODO:
* fix text output for the mailing-list
* add a flag to suppress security cycles

Acked-by: Stefan Bader <email address hidden>
Acked-by: Cory Todd <email address hidden>
Signed-off-by: Kleber Souza <email address hidden>

d91f9dc... by Kleber Sacilotto de Souza

gen-sru-announce: merge prep and test weeks in html output

The "prep week" and "verification and test weeks" timelines doesn't make
much sense anymore, given that we have introduced the security cycles
and there isn't a clear line separating those stages in the cycle. Merge
these two phases into a single "prep and test weeks".

Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

483faa8... by Kleber Sacilotto de Souza

gen-sru-announce: add support for security cycles in html output

Add support to generate the dates and print an additional table in the
html output for the security cycles.

Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

2c99013... by Kleber Sacilotto de Souza

ktl/sru_cycle: add support for security cycle lookup

The security cycles also need to be handled as special cases much like
the development cycles.

Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

591d4e9... by Kleber Sacilotto de Souza

gen-sru-announce: refactor SRU cycle dates

Using a tuple to generate the SRU cycle dates and pass it to several
functions that consume it makes it hard to read and maintain the code.
Change it to a dictionary so it's easier to expand the relevant dates.

Signed-off-by: Kleber Sacilotto de Souza <email address hidden>