Re: [PATCH] scripts: add origin commit identification based on specific patterns
From: Jonathan Corbet
Date: Thu Jul 24 2025 - 10:41:41 EST
Dongliang Mu <mudongliangabcd@xxxxxxxxx> writes:
> On Fri, Jul 18, 2025 at 4:09 AM Jonathan Corbet <corbet@xxxxxxx> wrote:
>>
>> Zhiyu Zhang <zhiyuzhang999@xxxxxxxxx> writes:
>>
>> > 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@xxxxxxxxx>
>> > ---
>> > scripts/checktransupdate.py | 38 ++++++++++++++++++++++++++++++++++++-
>> > 1 file changed, 37 insertions(+), 1 deletion(-)
>>
>> So I don't have any objection to this, but wouldn't mind hearing from
>> folks who actually use this script - has anybody else tested it out?
>
> I’ve tested this script, and the new origin commit tracking
> functionality is working effectively—it can reduce the number of
> commits requiring updates.
Great, thanks, I've applied it.
jon