[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <43d7cf37-8f7f-4004-a5d1-15fcc9189016@hust.edu.cn>
Date: Thu, 13 Jun 2024 14:06:14 +0800
From: Dongliang Mu <dzm91@...t.edu.cn>
To: Jonathan Corbet <corbet@....net>, Alex Shi <alexs@...nel.org>,
Yanteng Si <siyanteng@...ngson.cn>
Cc: hust-os-kernel-patches@...glegroups.com, linux-doc@...r.kernel.org,
Cheng Ziqiu <chengziqiu@...t.edu.cn>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] scripts: add scripts/checktransupdate.py
On 2024/6/13 05:27, Jonathan Corbet wrote:
> Dongliang Mu <dzm91@...t.edu.cn> writes:
>
>> The checktransupdate.py script helps track the translation status of
>> the documentation in different locales, e.g., zh_CN and verify if
>> these documenation is up-to-date. More specially, it uses `git log`
>> commit to find the latest english commit from the translation commit
>> (order by author date) and the latest english commits from HEAD. If
>> differences occur, report the file and commits that need to be updated.
>>
>> Signed-off-by: Dongliang Mu <dzm91@...t.edu.cn>
>> Signed-off-by: Cheng Ziqiu <chengziqiu@...t.edu.cn>
>> ---
>> v1->v2: revise the output format of git commits
>> add some description and usage of this script
>> scripts/checktransupdate.py | 203 ++++++++++++++++++++++++++++++++++++
>> 1 file changed, 203 insertions(+)
>> create mode 100755 scripts/checktransupdate.py
> I have applied this, it seems like a useful tool.
Thanks, jon.
> I do wish the code looked like something a bit closer to the kernel
> coding style, but so it goes.
Linux kernel does have coding style for C language. Any reference to
python coding style?
I can refer to these materials to revise this script.
Dongliang Mu
>
> Thanks,
>
> jon
Powered by blists - more mailing lists