scripts: add origin commit identification based on specific patterns
authorZhiyu Zhang <zhiyuzhang999@gmail.com>
Sun, 13 Jul 2025 16:34:18 +0000 (00:34 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 24 Jul 2025 14:41:15 +0000 (08:41 -0600)
commit35293ebbb65e0295d3b9357f786004ae1026d00f
tree2bf9e984cba41b2fa24f1c67f9871b61247fa1a5
parent2b16b71a05a7f056221751b906c13f8809656b1f
scripts: add origin commit identification based on specific patterns

This patch adds the functionability to smartly identify origin commit
of the translation by matching the following patterns in commit log:
1) update to commit HASH
2) Update the translation through commit HASH
If no such pattern is found, script will obey the original workflow.

Signed-off-by: Zhiyu Zhang <zhiyuzhang999@gmail.com>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250713163418.1459-1-zhiyuzhang999@gmail.com
scripts/checktransupdate.py