[autobuilder][PATCH v2 0/4] generate regression reports against proper releases


Alexis Lothoré <alexis.lothore@...>
 

This is the 2nd version of work initiated to improve regression reports
usefulness, started around issue YOCTO #1465
(https://bugzilla.yoctoproject.org/show_bug.cgi?id=14065).

Please note : this new revision depends on another patch on yocto-autobuilder2
which updates name of qa-send-email in builders

Changes since v1:
- minor rework to be able to import send_qa_email.py as a standard python
module
- properly manage non-releases versions since qe_send_email.py can be called
with such "release" versions ("-r" parameter)
- add unit tests on previous version computation
- do not fetch yocto-testresults full history: identify needed revisions with
git ls-remote and retrieve them with git fetch

Alexis Lothoré (4):
scripts/send_qa_email.py: Rename send-qa-email to send_qa_email.py
scripts/send_qa_email.py: Wrap send_qa_email.py content in function
scripts/send-qa-email: Generate regression reports against most
relevant release
scripts/send_qa_email.py: add unit tests on previous version
computation

scripts/send-qa-email | 164 -------------------------
scripts/send_qa_email.py | 223 ++++++++++++++++++++++++++++++++++
scripts/shared-repo-unpack | 2 +-
scripts/test_send_qa_email.py | 57 +++++++++
scripts/utils.py | 47 +++++++
5 files changed, 328 insertions(+), 165 deletions(-)
delete mode 100755 scripts/send-qa-email
create mode 100755 scripts/send_qa_email.py
create mode 100755 scripts/test_send_qa_email.py

--
2.39.0