aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow (follow)
Commit message (Collapse)AuthorAgeFilesLines
* aux/workflow/styles.css, aux/ci/ci-build.sh: spaces -> tabsEuAndreh2021-07-161-39/+39
|
* aux/workflow/style.css: Be less specific on selectors, remove reference to ↵EuAndreh2021-07-151-7/+2
| | | | previous colour pallete
* aux/workflow/style.css: Switch colors of INACTIVE and WAITINGEuAndreh2021-07-151-2/+2
|
* aux/lib.sh: Add mkstemp and mkdtemp, and copy uuid overEuAndreh2021-07-153-9/+15
| | | | | | | | | | | | | | | The tests were relying on the unspecified and non-standartized behaviour of "mktemp". Now they use "mkstemp()", a shim sh function to provide the expected behaviour, and an accompanying "mkdtemp()" function is also defined. To further decouple from specific implementations and OS-behaviours and quirks, a aux/lib.sh file containing both those functions was added. Its purpose is to also allow code under aux/ to not depend on specific behaviour. "mkdtemp()" had to be replicated in aux/ci/ci-build.sh, since it runs outside the repository.
* aux/workflow/l10n.sh: Support "-L CONTRIBLANGS" optionEuAndreh2021-07-151-6/+14
| | | | | Adjust Makfile to include it and give it both to aux/workflow/l10n.sh and to aux/workflow/public.sh
* aux/workflow/assert-manpages.sh: Get input languages and en files as argumentsEuAndreh2021-07-151-47/+36
|
* Add trailing /en/ to all default URLs, and the equivalent for translationsEuAndreh2021-07-153-7/+7
|
* aux/workflow/assert-manpages.sh: Exit with error for unknown languageEuAndreh2021-07-141-1/+12
|
* aux/workflow/TODOs.sh: Move Perl regexes to top-level pipe over nested pipeEuAndreh2021-07-141-3/+4
|
* aux/workflow/TODOs.sh: Order regex definitions by usageEuAndreh2021-07-141-2/+1
|
* aux/workflow/TODOs.sh: Allow tags to appear after the ID markerEuAndreh2021-07-142-2/+2
| | | | Adjust aux/workflow/assert-todos.sh accordingly.
* CHANGELOG.md: Link to the translated page, and to en/ version explicitlyEuAndreh2021-07-141-1/+1
|
* aux/workflow/l10n.sh: Touch $pofile before generating itEuAndreh2021-07-131-0/+1
| | | | | For some reason, sometimes it doesn't generate the file if it doesnt already exist.
* aux/workflow/l10n.sh: Fix --include-codeblocks argument to md2poEuAndreh2021-07-131-1/+1
|
* mv po/* po/LC_MESSAGES/EuAndreh2021-07-131-1/+1
|
* README.md: Remove "released in" text from the releases list, adjust in ↵EuAndreh2021-07-131-1/+1
| | | | aux/workflow/assert-readme.sh
* git mv doc/spelling/ po/EuAndreh2021-07-081-4/+4
|
* aux/workflow/installcheck.sh: Add, call it from MakefileEuAndreh2021-07-071-0/+60
| | | | Implements #task-0b034315-cbd2-6fd6-fd32-9e00a12b7594.
* Put pofiles under po/, use one folder for each translated file.EuAndreh2021-07-071-17/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an improvement over 67f7c956239a7bc811a1d655d389666048e45fc3, and a final step for #task-7c5cd2aa-6d92-0423-bfa7-81f2e8436586. Now instead of trying to convince po4a and mdpo to work together, each tools gets it own folder and a pofile for each language. This means that if I want to translate files FOO.md and a-dir/BAR.txt to pt and fr, the directory structure of po/ will be: po/ FOO.md/ pt.po fr.po a-dir/ BAR.txt/ pt.po fr.po The po/ folder mirrors the directory structure of the input files, also nesting down directories. This way mdpo can do extration and update on its own way, and po4a can do extraction and update on its on way. The downside is that some translations will be duplicated, because they can appear on more than one file.
* Translate CHANGELOG.md adn README.mdEuAndreh2021-07-063-32/+56
| | | | | | | | | Partially implements #task-7c5cd2aa-6d92-0423-bfa7-81f2e8436586. As mentioned in the task, instead of making "README.md" as symlink to "README.en.md", "README.md" is kept as it is, as the translated file doesn't need to live in the repository. The same goes for the "CHANGELOG.md" file.
* aux/workflow/*: Don't inherit global PROJECT_UCEuAndreh2021-06-264-0/+4
|
* aux/workflow/sign-tarballs.sh: Use getopts for argumentsEuAndreh2021-06-262-2/+22
|
* aux/ci/report.sh: Use getopts for argumentsEuAndreh2021-06-261-1/+1
|
* aux/workflow/commonmark.sh: Use getopts for argumentsEuAndreh2021-06-262-16/+48
|
* aux/workflow/TODOs.sh: Use getopts for argumentsEuAndreh2021-06-262-5/+36
|
* aux/workflow/public.sh: Use getopts for argumentsEuAndreh2021-06-261-4/+35
|
* aux/workflow/dist.sh: Use getopts for argumentsEuAndreh2021-06-261-7/+41
|
* aux/workflow/assert-manpages.sh: Use getopts for argumentsEuAndreh2021-06-261-6/+19
|
* aux/workflow/assert-readme.sh: Use getopts for argumentsEuAndreh2021-06-261-4/+24
|
* aux/workflow/assert-spelling.sh: Define assert_arg anywayEuAndreh2021-06-261-4/+8
|
* aux/workflow/assert-changelog.sh: Use getopts for arugmentsEuAndreh2021-06-261-4/+27
|
* aux/workflow/manpages.sh: s/assert/assert_arg/EuAndreh2021-06-261-6/+6
|
* aux/workflow/assert-spelling.sh: Get files as arguments instead of assuming ↵EuAndreh2021-06-261-2/+3
| | | | they're under public/
* aux/workflow/l10n.sh: Mark WARNING message with yellow colorEuAndreh2021-06-261-1/+3
|
* aux/workflow/l10n.sh: mkdir -p doc/poEuAndreh2021-06-261-0/+1
|
* aux/workflow/assert-manpages.sh: Skip when file is empyEuAndreh2021-06-261-0/+4
|
* Release v0.2.1v0.2.1EuAndreh2021-06-251-0/+10
|
* git mv po/ doc/po/EuAndreh2021-06-251-2/+2
|
* aux/workflow/assert-spelling.sh: Add; init dictionaries; fix spellingEuAndreh2021-06-253-16/+86
| | | | | | - aux/workflow/l10n.sh: fix handling of $@; - Makefile: remove circular dependency between dev-check and public by adding the "l10n-gen" target.
* aux/workflow/manpages.sh: Add missing suffix to HTML filesEuAndreh2021-06-231-1/+1
|
* README.md, aux/workflow/assert-readme.sh: Link to commit in the releases ↵EuAndreh2021-06-231-1/+1
| | | | section too
* aux/workflow/{l10n,manpages}.sh: Fix ShellCheck offensesEuAndreh2021-06-232-2/+2
|
* aux/workflow/manpages.sh: Refactor how manpages and translations are madeEuAndreh2021-06-234-55/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I didn't like the previous version of aux/workflow/manpages.sh mainly for 2 reasons: 1. its CLI was terrible, ugly and fragile; 2. it mixed handling manpages and handling *translations*. The first step was to split the translations part to a different file: aux/workflow/l10n.sh. Now it has the base logic for running po4a, and can apply it to manpages. It is useful for updating translated files in other scenarios, such as catgets() message catalogs, markdown files, etc. After I used the venerable getopts to handle the command line arguments, and give aux/workflow/manpages.sh a saner interface. I disliked the fact that aux/workflow/manpages.sh still is being used for the "install" and "uninstall" targets. Before this file, the canonical workflow of "make && make install/uninstall" was 100% embedded within the Makefile itself. But now the Makefile calls to an external script for that. This isn't a real cost, other than how obvious the behaviour is for someone looking at the Makefile for the first time. I still chose to do it anyway, because there was already too many things in the Makefile itself, and it was getting worse with time. I made sure to never cross the line of relying on an external tool for the canonical "make && make install/uninstall", and even for "make check". Those all work without requiring any extra tool outside what POSIX defines, such as "sed", "awk", etc. Despite the cost of adding this detour from the liner Makefile flow, I found it to be worth it to call to the external script, as this script can now also be shared across projects, and the customized Makefile be made simpler. In other to remove the "-- $(do_subst)" horrendous hack, I chose to use an inference rule for ".in" files, and remove the "$(do_subst)" variable altogether. Now all the files that need to go through sed should end in ".in", and the Makefile will take care of producing it. The upside is that this model is much better integrater into make itself. Addresses #task-9ee2bbc8-295f-52b7-4104-483869bad017.
* git mv doc/*.po po/EuAndreh2021-06-231-2/+2
|
* aux/workflow/public.sh: Spell out .{svg,png} files (ShellCheck offense)EuAndreh2021-06-231-1/+1
|
* aux/: Explicitly pass "public/" as a parameter to scriptsEuAndreh2021-06-233-12/+13
|
* aux/workflow/assert-readme.sh: No need to create the public/ directoryEuAndreh2021-06-231-2/+0
|
* aux/workflow/public.sh: Selectively copy favicon filesEuAndreh2021-06-231-1/+1
|
* aux/workflow/TODOs.sh: Use <pre> over <span> for visible idsEuAndreh2021-06-221-1/+1
|
* aux/workflow/manpages.sh: Suppress ShellCheck warningsEuAndreh2021-06-191-0/+2
|