~canonical-kernel/+git/kteam-tools:cascardo/pull_sources

Last commit made on 2023-07-28
Get this branch:
git clone -b cascardo/pull_sources 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:
cascardo/pull_sources
Repository:
lp:~canonical-kernel/+git/kteam-tools

Recent commits

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>

0b3bed4... by Kleber Sacilotto de Souza

gen-sru-announce: refactor SRU cycles table

Currently the SRU cycles table is created adding for each cycle a new
table with the cycle dates. This makes it hard to expand and align the
rows as the cycle tables are independent. Refactor how the table is
created, by expanding it adding rows instead of columns.

Also update the css styles in k.u.c index page to match the new table
layout.

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

84d19fe... by Kleber Sacilotto de Souza

kernel.ubuntu.com/index.html: add link to Discourse topic

Add a link to the Kernel SRU Ubuntu Discourse topic.

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