poky/scripts/contrib
Ross Burton 116c044212 scripts/patchreview: rework patch detection
A previous patch[1] added the ability to allow the search pattern for
patches to be changed, so that patchreview can be used across the entire
meta-oe repository by changing the patterns.

However, this means the caller needs to write long patterns when calling
patchreview.

Instead, we can see if the specified directory contains a layer by
checking if conf/layer.conf exists.  If it does, then search for patches
inside this directory.  If it doesn't, assume that the specified
directory is a repository that contains sublayers (such as
meta-openembedded) and look through each of the directories that match
the pattern meta-*.

This means patchreview can both scan either a single layer (eg
.../poky/meta) or a repository of sublayers (eg .../meta-openembedded).

[1] oe-core 599046ea9302af0cf856d3fcd827f6a2be75b7e1

(From OE-Core rev: a3a868519beab1b9cac94fefd7dbeffb09d047e9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-27 17:48:11 +01:00
..
bb-perf bb-matrix-plot.sh: Show underscores correctly in labels 2023-10-23 10:49:19 +01:00
bbvars.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
build-perf-test-wrapper.sh perf-build-test/report: Drop phantomjs and html email reports support 2022-03-16 10:31:41 +00:00
convert-overrides.py scripts: convert-overrides: Allow command-line customizations 2022-11-14 16:19:42 +00:00
convert-spdx-licenses.py scripts: fix file writing in convert-spdx-licenses 2022-02-22 15:24:51 +00:00
convert-srcuri.py convert-srcuri.py: use regex to check space in SRC_URI 2021-11-11 17:09:17 +00:00
convert-variable-renames.py convert-variable-renames: Fix typo in description 2022-03-31 17:52:58 +01:00
ddimage scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
devtool-stress.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
dialog-power-control scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
documentation-audit.sh scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
graph-tool graph-tool: add filter subcommand 2020-06-16 23:39:28 +01:00
image-manifest meta: remove True option to getVar and getVarFlag calls (again) 2023-02-02 09:50:02 +00:00
list-packageconfig-flags.py scripts/contrib/list-packageconfig-flags: Upate for tinfoil API changes 2021-03-15 14:49:09 +00:00
oe-build-perf-report-email.py scripts/contrib/oe-build-perf-report-email.py: remove obsolete check for phantomjs and optipng 2022-04-30 22:00:20 +01:00
patchreview.py scripts/patchreview: rework patch detection 2023-10-27 17:48:11 +01:00
patchtest.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
serdevtry meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test_build_time_worker.sh scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
test_build_time.sh meta/scripts: Change BB_ENV_EXTRA_WHITE -> BB_ENV_PASSTHROUGH_ADDITIONS 2022-02-21 23:37:26 +00:00
uncovered meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
verify-homepage.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00