Re: [PATCH v2] scripts: add scripts/checktransupdate.py

From: si . yanteng
Date: Tue Jun 11 2024 - 09:39:57 EST


2024年6月11日 21:17, "Dongliang Mu" <dzm91@xxxxxxxxxxx> 写到:



>
> 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@xxxxxxxxxxx>
>
> Signed-off-by: Cheng Ziqiu <chengziqiu@xxxxxxxxxxx>
>
> ---
>
> 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
>


Reviewed-by: Yanteng Si <siyanteng@xxxxxxxxxxx>


Thanks,
Yanteng