ci(lts): print commit subjects instead of hash
Where the script used to print hashes, it will now print commit subject
line. Hashes made sense when the script was first created as a
prototype. Now since we will be working with uncommitted patches, hashes
don't hold useful info.
Signed-off-by: Okash Khawaja <okash@google.com>
Change-Id: I07f16f946d865f6a8c3cfb6903000c1bcc73f592
diff --git a/lts/lts-triage.py b/lts/lts-triage.py
index 61760d9..244a2e1 100644
--- a/lts/lts-triage.py
+++ b/lts/lts-triage.py
@@ -135,10 +135,9 @@
score = score + process_ps(ps)
debug_print("# score after process_ps:", score)
- print("{}: {}".format(cmt.hexsha, score))
-
- ln = f"{cmt.summary}: {score}\n"
- file_str += ln
+ ln = f"{cmt.summary}: {score}"
+ file_str += ln + "\n"
+ print(ln)
if score > 0:
at_least_one_match = True