summaryrefslogtreecommitdiffstats
path: root/scripts/checktransupdate.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* scripts: fix all issues reported by pylintDongliang Mu2024-07-291-73/+141
| | | | | | | | | | | This patch 1) fixes all the issues (not most) reported by pylint, 2) add the functionability to tackle documents that need translation, 3) add logging to adjust the logging level and log file Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn> Reviewed-by: Yanteng Si <siyanteng@loongson.cn> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20240719041400.3909775-2-dzm91@hust.edu.cn
* scripts: add scripts/checktransupdate.pyDongliang Mu2024-06-121-0/+203
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