patchtest: some refactor and simplification
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | patchtest: patterns: add module, refactormeta/ meta/ meta/ +7 more | +137 | 0 replies | |
| 2/6 | patchtest: mbox.py: new data implementationmeta/ meta/ meta/ +5 more | +134 | 0 replies | |
| 3/6 | patchtest: test_mbox: change ismerged -> canbemergedmeta/ | +13 | 0 replies | |
| 4/6 | patchtest: simplify, rename modulesmeta/ meta/ meta/ +5 more | +234 | 0 replies | |
| 5/6 | scripts/patchtest: split out result messagesscripts/ | +15 | 0 replies | |
| 6/6 | patchtest: use black to format librariesmeta/ meta/ meta/ +10 more | +660 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [OE-core][PATCH 0/6] patchtest: some refactor and simplification
Another smaller patch set for cleaning up the patchtest code. There are no major functional differences here, but a lot of code has been moved around, and some unused stuff was removed entirely. This also includes a reformat of all the relevant patchtest components with black for readability.
Trevor Gamblin (6):
patchtest: patterns: add module, refactor
patchtest: mbox.py: new data implementation
patchtest: test_mbox: change ismerged -> canbemerged
patchtest: simplify, rename modules scripts/patchtest: split out result messages
patchtest: use black to format libraries
meta/lib/patchtest/data.py | 86 ------- meta/lib/patchtest/mbox.py | 112 ++++++++ meta/lib/patchtest/patch.py | 43 ---- meta/lib/patchtest/patchtest_parser.py | 102 ++++++++ meta/lib/patchtest/patchtest_patterns.py | 122 +++++++++ meta/lib/patchtest/repo.py | 81 ++---- meta/lib/patchtest/selftest/selftest | 92 +++++-- meta/lib/patchtest/tests/base.py | 141 +++++----- meta/lib/patchtest/tests/pyparsing/common.py | 26 -- .../tests/pyparsing/parse_cve_tags.py | 18 -- .../tests/pyparsing/parse_shortlog.py | 14 - .../tests/pyparsing/parse_signed_off_by.py | 22 -- .../tests/pyparsing/parse_upstream_status.py | 24 -- meta/lib/patchtest/tests/test_mbox.py | 241 ++++++++++++------ meta/lib/patchtest/tests/test_metadata.py | 191 ++++++++------ meta/lib/patchtest/tests/test_patch.py | 135 ++++++---- .../lib/patchtest/tests/test_python_pylint.py | 47 ++-- meta/lib/patchtest/utils.py | 61 ----- scripts/patchtest | 185 +++++++++----- scripts/patchtest-get-branch | 54 ++-- scripts/patchtest-send-results | 66 +++-- 21 files changed, 1108 insertions(+), 755 deletions(-) delete mode 100644 meta/lib/patchtest/data.py create mode 100644 meta/lib/patchtest/mbox.py delete mode 100644 meta/lib/patchtest/patch.py create mode 100644 meta/lib/patchtest/patchtest_parser.py create mode 100644 meta/lib/patchtest/patchtest_patterns.py delete mode 100644 meta/lib/patchtest/tests/pyparsing/common.py delete mode 100644 meta/lib/patchtest/tests/pyparsing/parse_cve_tags.py delete mode 100644 meta/lib/patchtest/tests/pyparsing/parse_shortlog.py delete mode 100644 meta/lib/patchtest/tests/pyparsing/parse_signed_off_by.py delete mode 100644 meta/lib/patchtest/tests/pyparsing/parse_upstream_status.py delete mode 100644 meta/lib/patchtest/utils.py
Signature · 1 line
2.39.5