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 -- 2.39.5
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#204850): https://lists.openembedded.org/g/openembedded-core/message/204850 Mute This Topic: https://lists.openembedded.org/mt/108626671/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
