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>
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>
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>
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'