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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2024/6/13 05:27, Jonathan Corbet wrote:
Dongliang Mu <dzm91@xxxxxxxxxxx> 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@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
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





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux