~canonical-kernel/+git/kteam-tools:corytodd/cranky.yaml--change-default-package-path

Last commit made on 2023-07-26
Get this branch:
git clone -b corytodd/cranky.yaml--change-default-package-path 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:
corytodd/cranky.yaml--change-default-package-path
Repository:
lp:~canonical-kernel/+git/kteam-tools

Recent commits

eeff99b... by Cory Todd

docs: cranky-the-kernel -- update path to main package

Update all example cranking commands to use the new default path for
main packages which is linux-main.

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

a4125bb... by Cory Todd

docs: change default package-path in cranky.yaml

Our sample cranky configuration file provides defaults could be
considered dangerous. Additionally, our cranking the kernel doc uses a
different path configuration for examples which is very confusing for
new-starters.

- update config to use a safer (though more costly in storage) defaults
- add note to cranking doc to call out why the paths may differ.

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

af70a63... by Luke Nowakowski-Krijger

git-tools: Add git-buglink script

Add git-buglink script used in adding buglinks to patches when
processing upstream stable updates.

Ported from Kamal's stable tools.

Signed-off-by: Luke Nowakowski-Krijger <email address hidden>
Acked-by: kamalmostafa <email address hidden>
Signed-off-by: Cory Todd <email address hidden>

73d75c8... by Luke Nowakowski-Krijger

stable-tools: Add intial stable patchset scripts to stable-tools

Add git-stable-extag and stable-check-reverts into a top level directory
where we can put tools for processing stable patchsets and other
stable related tasks.

This would differ from the "stable" directory in that it would be for tools
not related directly to swm and cycle management.

Ported from Kamal's stable tools.

Signed-off-by: Luke Nowakowski-Krijger <email address hidden>
Acked-by: kamalmostafa <email address hidden>
Signed-off-by: Cory Todd <email address hidden>

3ae5d4b... by Agathe Porte

docs: s/linux-DERIVATIVE-restricted-modules/linux-lrm/

After running a `cranky checkout lunar:linux-kvm`, the
`linux-kvm-restricted-modules/` directory is not created but instead
the `linux-lrm/` folder name is used. After asking to the team,
this seems to be the new name in use for restricted modules.
Also, the `-DERIVATIVE` suffix is gone.

Reflect these name changes into the docs.

Note: this change makes the docs inconsistent, as linux-oracle
still seems to use the `linux-restricted-modules` name.

TODO: use something else than linux-oracle for the examples.

Signed-off-by: Agathe Porte <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Signed-off-by: Agathe Porte <email address hidden>

0b35ce3... by Andy Whitcroft

ktl/kernel_series: Fix KernelSeries class definition for Python2

KernelSeries was recently changed to override __new__(). For that to work
correctly the class needs to inherit from object which needs to be
explicitly specified in Python2 (which we still need to support for
automation that runs on wani).

Otherwise we'll get exceptions like:

Traceback (most recent call last):
 File "scripts/cbd", line 358, in
 app.main()
 File "scripts/cbd", line 302, in main
 this_package_bugs[bug.id] = Bugs.bug_info(bug, now, primary_task)
 File "/home/kernel-ppa/shankbot/kteam-tools/web/scripts/ktl/bugs.py", line 129, in bug_info
 (bug_item['series name'], bug_item['series version']) = bug.series
 File "/home/kernel-ppa/shankbot/kteam-tools/web/scripts/ktl/kernel_bug.py", line 516, in series
 (series_name, series_version) = self._find_series_in_tags(self)
 File "/home/kernel-ppa/shankbot/kteam-tools/web/scripts/ktl/kernel_bug.py", line 494, in _find_series_in_tags
 for series in sorted(self.kernel_series.series, key=KernelSeries.key_series_name):
AttributeError: KernelSeries instance has no attribute 'series'

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

1a288da... by Juerg Haefliger

ktl/kernel_series: Fix KernelSeries class definition for Python2

KernelSeries was recently changed to override __new__(). For that to work
correctly the class needs to inherit from object which needs to be
explicitly specified in Python2 (which we still need to support for
automation that runs on wani).

Otherwise we'll get exceptions like:

Traceback (most recent call last):
 File "scripts/cbd", line 358, in
 app.main()
 File "scripts/cbd", line 302, in main
 this_package_bugs[bug.id] = Bugs.bug_info(bug, now, primary_task)
 File "/home/kernel-ppa/shankbot/kteam-tools/web/scripts/ktl/bugs.py", line 129, in bug_info
 (bug_item['series name'], bug_item['series version']) = bug.series
 File "/home/kernel-ppa/shankbot/kteam-tools/web/scripts/ktl/kernel_bug.py", line 516, in series
 (series_name, series_version) = self._find_series_in_tags(self)
 File "/home/kernel-ppa/shankbot/kteam-tools/web/scripts/ktl/kernel_bug.py", line 494, in _find_series_in_tags
 for series in sorted(self.kernel_series.series, key=KernelSeries.key_series_name):
AttributeError: KernelSeries instance has no attribute 'series'

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

75afc4a... by Stefan Bader

kernel-series: Transition hwe-22.04 over to 6.2 kernels

Update the variants to make linux-hwe-6.2 and linux-lowlatency-hwe-6.2
the current HWE kernels in Jammy/22.04.

Signed-off-by: Stefan Bader <email address hidden>

d3904cf... by Andrea Righi

info/sru-cycle: close old/unused dev cycles

Signed-off-by: Andrea Righi <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

cee13bc... by Andrea Righi

info/sru-cycle: close old/unused dev cycles

Signed-off-by: Andrea Righi <email address hidden>