Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | aux/workflow/assert-manpages.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 2 | -7/+20 |
| | |||||
* | aux/workflow/assert-readme.sh: Use getopts for arguments | EuAndreh | 2021-06-26 | 2 | -5/+25 |
| | |||||
* | aux/workflow/assert-spelling.sh: Define assert_arg anyway | EuAndreh | 2021-06-26 | 1 | -4/+8 |
| | |||||
* | aux/workflow/assert-changelog.sh: Use getopts for arugments | EuAndreh | 2021-06-26 | 2 | -5/+28 |
| | |||||
* | aux/workflow/manpages.sh: s/assert/assert_arg/ | EuAndreh | 2021-06-26 | 1 | -6/+6 |
| | |||||
* | aux/workflow/assert-spelling.sh: Get files as arguments instead of assuming ↵ | EuAndreh | 2021-06-26 | 2 | -3/+4 |
| | | | | they're under public/ | ||||
* | aux/workflow/l10n.sh: Mark WARNING message with yellow color | EuAndreh | 2021-06-26 | 1 | -1/+3 |
| | |||||
* | Makefile: use shorter syntax for cp in "install" target | EuAndreh | 2021-06-26 | 1 | -1/+1 |
| | |||||
* | Makefile: Remove trailing \ | EuAndreh | 2021-06-26 | 1 | -1/+1 |
| | |||||
* | Makefile: Mark src/git-permalink as executable in "all" target | EuAndreh | 2021-06-26 | 1 | -1/+1 |
| | |||||
* | tests/install-uninstall.sh: Allow git-permalink to already be installed; ↵ | EuAndreh | 2021-06-26 | 1 | -12/+8 |
| | | | | laxer assertions on STDERR | ||||
* | aux/workflow/l10n.sh: mkdir -p doc/po | EuAndreh | 2021-06-26 | 1 | -0/+1 |
| | |||||
* | aux/workflow/assert-manpages.sh: Skip when file is empy | EuAndreh | 2021-06-26 | 1 | -0/+4 |
| | |||||
* | tests/*.sh: Print line number, STDOUT and STDERR when test fails | EuAndreh | 2021-06-26 | 4 | -0/+43 |
| | |||||
* | mv src/git-permalink.sh.in src/git-permalin.in | EuAndreh | 2021-06-25 | 4 | -19/+18 |
| | | | | | Mostly to avoid the conflict of the ".sh" built-in rule in the Makefile. | ||||
* | Release v0.2.2v0.2.2 | EuAndreh | 2021-06-25 | 3 | -1/+9 |
| | |||||
* | Makefile: Fix installation path of manpages | EuAndreh | 2021-06-25 | 1 | -2/+2 |
| | |||||
* | Makefile: Make "spellcheck" depend on "public" | EuAndreh | 2021-06-25 | 1 | -3/+3 |
| | |||||
* | Release v0.2.1v0.2.1 | EuAndreh | 2021-06-25 | 4 | -4/+15 |
| | |||||
* | aux/guix/manifest.scm: Use hunspell insted of hunspell-iconv | EuAndreh | 2021-06-25 | 1 | -1/+1 |
| | |||||
* | TODOs.md: Mark #task-4ae91595-6e6d-be17-d882-754a478da878 as DONE | EuAndreh | 2021-06-25 | 1 | -1/+46 |
| | |||||
* | git mv po/ doc/po/ | EuAndreh | 2021-06-25 | 5 | -4/+4 |
| | |||||
* | aux/assert-shellcheck.sh: Remove "set -x" option | EuAndreh | 2021-06-25 | 1 | -1/+1 |
| | |||||
* | aux/workflow/assert-spelling.sh: Add; init dictionaries; fix spelling | EuAndreh | 2021-06-25 | 18 | -307/+535 |
| | | | | | | - 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 files | EuAndreh | 2021-06-23 | 1 | -1/+1 |
| | |||||
* | README.md, aux/workflow/assert-readme.sh: Link to commit in the releases ↵ | EuAndreh | 2021-06-23 | 2 | -3/+3 |
| | | | | section too | ||||
* | TODOs.md: Fix code block escaping | EuAndreh | 2021-06-23 | 1 | -1/+1 |
| | |||||
* | aux/workflow/{l10n,manpages}.sh: Fix ShellCheck offenses | EuAndreh | 2021-06-23 | 2 | -2/+2 |
| | |||||
* | Fix tests: git grep -l 'sh git-permalink' | xargs sed -i 's|sh ↵ | EuAndreh | 2021-06-23 | 1 | -14/+14 |
| | | | | git-permalink|sh src/git-permalink.sh|g' | ||||
* | TODOs.md: Add #decision-6c2801da-bcb9-dd38-69bf-270a6f9b5acd | EuAndreh | 2021-06-23 | 1 | -0/+37 |
| | |||||
* | TODOs.md: Mark #task-9ee2bbc8-295f-52b7-4104-483869bad017 as DONE | EuAndreh | 2021-06-23 | 1 | -1/+5 |
| | |||||
* | aux/workflow/manpages.sh: Refactor how manpages and translations are made | EuAndreh | 2021-06-23 | 10 | -71/+135 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/ | EuAndreh | 2021-06-23 | 5 | -4/+4 |
| | |||||
* | aux/workflow/public.sh: Spell out .{svg,png} files (ShellCheck offense) | EuAndreh | 2021-06-23 | 1 | -1/+1 |
| | |||||
* | TODOs.md: Mark #task-f09dedb7-1b25-0b5e-2520-910a9aa32562 as DONE | EuAndreh | 2021-06-23 | 1 | -1/+5 |
| | |||||
* | aux/: Explicitly pass "public/" as a parameter to scripts | EuAndreh | 2021-06-23 | 6 | -19/+21 |
| | |||||
* | aux/workflow/assert-readme.sh: No need to create the public/ directory | EuAndreh | 2021-06-23 | 1 | -2/+0 |
| | |||||
* | git grep -l PACKAGE aux/ | xargs sed -i 's/PACKAGE/PROJECT/g' | EuAndreh | 2021-06-23 | 3 | -9/+9 |
| | |||||
* | aux/guix/with-container.sh: Remove -x sh option | EuAndreh | 2021-06-23 | 1 | -1/+1 |
| | |||||
* | aux/workflow/public.sh: Selectively copy favicon files | EuAndreh | 2021-06-23 | 1 | -1/+1 |
| | |||||
* | TODOs.md: Add #task-f09dedb7-1b25-0b5e-2520-910a9aa32562 | EuAndreh | 2021-06-22 | 1 | -0/+3 |
| | |||||
* | doc/: s/SYNOPSYS/SYNOPSIS/ | EuAndreh | 2021-06-22 | 4 | -10/+10 |
| | |||||
* | TODOs.md: Mark #task-9ee2bbc8-295f-52b7-4104-483869bad017 as TODO again | EuAndreh | 2021-06-22 | 1 | -1/+5 |
| | |||||
* | tests/remotes.sh: Supress output of git config | EuAndreh | 2021-06-22 | 1 | -2/+2 |
| | |||||
* | tests/cli-opts.sh: Stop testing behaviour of "locale" command | EuAndreh | 2021-06-22 | 1 | -9/+0 |
| | |||||
* | tests/remotes.sh: Conditionally set user.{email,name} to work on new env like CI | EuAndreh | 2021-06-22 | 1 | -1/+11 |
| | |||||
* | aux/tests-lib.sh: Add uuid() function, use it on tests | EuAndreh | 2021-06-22 | 3 | -3/+11 |
| | |||||
* | src/git-permalink.sh.in, tests/remotes.sh: Address ShellCheck issues | EuAndreh | 2021-06-22 | 2 | -12/+12 |
| | |||||
* | CHANGELOG.md: Mention integration tests | EuAndreh | 2021-06-22 | 1 | -0/+4 |
| | |||||
* | TODOs.md: Mark #task-bebbe847-f552-be4b-b886-70a621162b69 as DONE | EuAndreh | 2021-06-22 | 1 | -1/+5 |
| |