This includes the work from https://pagure.io/fedora-docs/translations-scripts/pull-request/1 (which is the refactoring of all-src-to-pot.sh into all-src-to-pot.py) and adds a rework of src-to-pot.sh.
Done on src-to-pot.sh:
add local storage of source repositories (folder name sucks, but it woks)
add local storage of translated-source repositories
add generic handling of languages
bring support for file names with spaces
removes debug attribute of po4a
fix bug (antora.yml)
applies the suggestions of spellcheck: https://www.shellcheck.net
To be tested:
does the cache works correctly with the multiple docs using the same repository but multiple branches
confirm the module deduction is correct
To be discussed:
should we store source repositories in /output folder?
should we write a python script instead of bash?
related to the last point: what can of log do we would like?
This includes the work from https://pagure.io/fedora-docs/translations-scripts/pull-request/1 (which is the refactoring of all-src-to-pot.sh into all-src-to-pot.py) and adds a rework of src-to-pot.sh.
Done on src-to-pot.sh:
To be tested:
To be discussed: