Unify po headers
Originally created by @Anonymous on #15403 (Redmine)
The script is placed here (currently):
wiki/src/contribute/l10n_tricks/unify_po-headers.py
old script for reference: wiki/src/contribute/l10n_tricks/check_po.sh
Environment
- at developers computer for checking/unifing their po files.
- at Jenkins to check all po files. wiki/src po files have other rules than other po files.
- a malicious users try to trick this script
- as core devs need to review random review requests against
tails
repository, the scrip itself can’t live in the same repository nor submodule, as otherwise amalicious users
can get into control of a core devs’ computer.
Expectations
- never screws up the host system
- status code is reflecting if any error was detected in po files
- it does not get triggerd by freshly created/updated po files by ikiwiki (Author: IkiWiki <ikiwiki.info>)
- only modify any file, when
--modify
is given. - output should be clear enough for humans to understand, where an issue was detected.
Feature Branch: https://salsa.debian.org/tails-team/tails/merge_requests/14
Attachments
Parent Task: #15079 (closed)
Related issues
- Related to #15364 (closed)
- Related to #16102 (closed)
- Related to #15819 (closed)
-
Blocked by #15605 (closed)
Edited by Anonymous