]> www.infradead.org Git - users/dwmw2/linux.git/commit
scripts: add scripts/checktransupdate.py
authorDongliang Mu <dzm91@hust.edu.cn>
Tue, 11 Jun 2024 13:17:16 +0000 (21:17 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 12 Jun 2024 21:24:11 +0000 (15:24 -0600)
commit50c0fa7f98c61bd270d6beec637b567ad3096622
treec3d9aeb61ace73b60c33baa6395bb76dde59e482
parent74de938eb502adab1a6cd7ad869b7b64a7ee1828
scripts: add scripts/checktransupdate.py

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@hust.edu.cn>
Signed-off-by: Cheng Ziqiu <chengziqiu@hust.edu.cn>
Reviewed-by: Yanteng Si <siyanteng@loongson.cn>
Reviewed-by: Alex Shi <alexs@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240611131723.53515-1-dzm91@hust.edu.cn
scripts/checktransupdate.py [new file with mode: 0755]