[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87plslonqu.fsf@trenco.lwn.net>
Date: Wed, 12 Jun 2024 15:27:37 -0600
From: Jonathan Corbet <corbet@....net>
To: Dongliang Mu <dzm91@...t.edu.cn>, Alex Shi <alexs@...nel.org>, Yanteng
Si <siyanteng@...ngson.cn>
Cc: hust-os-kernel-patches@...glegroups.com, linux-doc@...r.kernel.org,
Dongliang Mu <dzm91@...t.edu.cn>, Cheng Ziqiu <chengziqiu@...t.edu.cn>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] scripts: add scripts/checktransupdate.py
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.
I do wish the code looked like something a bit closer to the kernel
coding style, but so it goes.
Thanks,
jon
Powered by blists - more mailing lists