aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* aux/workflow/assert-spelling.sh: Add; init dictionaries; fix spellingEuAndreh2021-06-2518-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 filesEuAndreh2021-06-231-1/+1
|
* README.md, aux/workflow/assert-readme.sh: Link to commit in the releases ↵EuAndreh2021-06-232-3/+3
| | | | section too
* TODOs.md: Fix code block escapingEuAndreh2021-06-231-1/+1
|
* aux/workflow/{l10n,manpages}.sh: Fix ShellCheck offensesEuAndreh2021-06-232-2/+2
|
* Fix tests: git grep -l 'sh git-permalink' | xargs sed -i 's|sh ↵EuAndreh2021-06-231-14/+14
| | | | git-permalink|sh src/git-permalink.sh|g'
* TODOs.md: Add #decision-6c2801da-bcb9-dd38-69bf-270a6f9b5acdEuAndreh2021-06-231-0/+37
|
* TODOs.md: Mark #task-9ee2bbc8-295f-52b7-4104-483869bad017 as DONEEuAndreh2021-06-231-1/+5
|
* aux/workflow/manpages.sh: Refactor how manpages and translations are madeEuAndreh2021-06-2310-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/EuAndreh2021-06-235-4/+4
|
* aux/workflow/public.sh: Spell out .{svg,png} files (ShellCheck offense)EuAndreh2021-06-231-1/+1
|
* TODOs.md: Mark #task-f09dedb7-1b25-0b5e-2520-910a9aa32562 as DONEEuAndreh2021-06-231-1/+5
|
* aux/: Explicitly pass "public/" as a parameter to scriptsEuAndreh2021-06-236-19/+21
|
* aux/workflow/assert-readme.sh: No need to create the public/ directoryEuAndreh2021-06-231-2/+0
|
* git grep -l PACKAGE aux/ | xargs sed -i 's/PACKAGE/PROJECT/g'EuAndreh2021-06-233-9/+9
|
* aux/guix/with-container.sh: Remove -x sh optionEuAndreh2021-06-231-1/+1
|
* aux/workflow/public.sh: Selectively copy favicon filesEuAndreh2021-06-231-1/+1
|
* TODOs.md: Add #task-f09dedb7-1b25-0b5e-2520-910a9aa32562EuAndreh2021-06-221-0/+3
|
* doc/: s/SYNOPSYS/SYNOPSIS/EuAndreh2021-06-224-10/+10
|
* TODOs.md: Mark #task-9ee2bbc8-295f-52b7-4104-483869bad017 as TODO againEuAndreh2021-06-221-1/+5
|
* tests/remotes.sh: Supress output of git configEuAndreh2021-06-221-2/+2
|
* tests/cli-opts.sh: Stop testing behaviour of "locale" commandEuAndreh2021-06-221-9/+0
|
* tests/remotes.sh: Conditionally set user.{email,name} to work on new env like CIEuAndreh2021-06-221-1/+11
|
* aux/tests-lib.sh: Add uuid() function, use it on testsEuAndreh2021-06-223-3/+11
|
* src/git-permalink.sh.in, tests/remotes.sh: Address ShellCheck issuesEuAndreh2021-06-222-12/+12
|
* CHANGELOG.md: Mention integration testsEuAndreh2021-06-221-0/+4
|
* TODOs.md: Mark #task-bebbe847-f552-be4b-b886-70a621162b69 as DONEEuAndreh2021-06-221-1/+5
|
* src/git-permalink.sh.in: Fix #task-bebbe847-f552-be4b-b886-70a621162b69EuAndreh2021-06-222-18/+16
| | | | | | | | | | | | | The issue wan't with getopts but with my usage of it (well, now that's obvious that the problem wouldn't be in the implementation, but on how I was using). The problem was on: 1) my confusion on when and where to "shift"; 2) make sure to look for the "--help" and "--version" long flags before getopts, because it doesn't know about long flags. Those fixed, the tests are now working again.
* TODOs.md: Mark #task-ada9b39a-cc42-97b2-bd02-ad9c0adc475c as DONEEuAndreh2021-06-221-1/+5
|
* tests/remotes.sh: AddEuAndreh2021-06-223-0/+179
|
* TODOs.md: Mark #task-755d8aa8-d39e-f8ce-d4c8-a8649338fffc as DONEEuAndreh2021-06-221-1/+5
|
* tests/install-uninstall.sh: AddEuAndreh2021-06-222-0/+50
|
* src/git-permalink.sh.in: Remove empty lines across translated string variablesEuAndreh2021-06-221-2/+0
|
* TODOs.md: Add #task-755d8aa8-d39e-f8ce-d4c8-a8649338fffcEuAndreh2021-06-221-0/+3
|
* tests/cli-opts.sh: Use portable "sh git-permalink" over "./git-permalink"EuAndreh2021-06-221-15/+15
|
* mv src/git-permalink.sh src/git-permalink.sh.inEuAndreh2021-06-222-1/+1
|
* CHANGELOG.md: Mention "getopts"EuAndreh2021-06-221-0/+11
|
* TODOs.md: Mark #task-ada9b39a-cc42-97b2-bd02-ad9c0adc475c as DONEEuAndreh2021-06-221-1/+5
|
* Add small example of using -- on manpageEuAndreh2021-06-228-62/+137
|
* TODOs.md: Mark #task-cded56f2-c939-3c69-c818-0fb62d62cfd8 as DONEEuAndreh2021-06-221-1/+5
|
* aux/tests-lib.sh: Use colours on test outputEuAndreh2021-06-221-6/+17
|
* tests/cli-opts.sh: Add test_langsEuAndreh2021-06-221-0/+70
|
* TODOs.md: spellcheckingEuAndreh2021-06-221-4/+4
|
* TODOs.md: Mark #task-9ee2bbc8-295f-52b7-4104-483869bad017 as DONEEuAndreh2021-06-221-1/+5
|
* TODOs.md: Add #task-cded56f2-c939-3c69-c818-0fb62d62cfd8EuAndreh2021-06-221-0/+3
|
* src/git-permalink.sh: Use getopts, handle "--" somewhatEuAndreh2021-06-221-13/+32
| | | | See #task-bebbe847-f552-be4b-b886-70a621162b69.
* TODOs.md: Add #task-bebbe847-f552-be4b-b886-70a621162b69EuAndreh2021-06-221-0/+26
|
* aux/workflow/TODOs.sh: Use <pre> over <span> for visible idsEuAndreh2021-06-221-1/+1
|
* README.md: Better wording on the installation explanationEuAndreh2021-06-221-6/+8
|
* TODOs.md: Add #task-ada9b39a-cc42-97b2-bd02-ad9c0adc475cEuAndreh2021-06-221-0/+3
|