aboutsummaryrefslogtreecommitdiff
path: root/doc/git-permalink.eo.1 (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-19TODOs.md: Mark #task-eb65cbf1-bff9-be13-f185-3ea53333aa6f as DONEEuAndreh1-1/+5
2021-06-19aux/ci/report.sh: Fetch only CI-related notesEuAndreh1-1/+4
2021-06-19TODOs.md: Add #task-eb65cbf1-bff9-be13-f185-3ea53333aa6fEuAndreh1-0/+3
2021-06-19Release v0.2.0v0.2.0EuAndreh3-2/+15
2021-06-19Makefile: Fix arguments to aux/workflow/dist.shEuAndreh1-1/+1
2021-06-19doc/: Add new supported forges to the manpagesEuAndreh7-75/+196
2021-06-19TODOs.md: Mark #task-cebc5298-17ad-5c60-dfa5-a25b66433a3a as DONEEuAndreh1-12/+13
2021-06-19Add support for the Linux kernel CGit instanceEuAndreh1-0/+7
2021-06-19Add support for bitbucket.orgEuAndreh1-0/+8
2021-06-19Add support for pagure.ioEuAndreh1-0/+7
I only added support for HTTPS remotes, because I'm not willing to go out of my way for creating a Fedora account just to see what an SSH URL looks like. I guess just the prefix would change, but repositories not named "A/B.git" but just "B.git" would need more (trivial) treatment, which I'm not willing to do. It shall stay this way until a contribution comes to improve it, or Pagure stops making it hard for me to implement this.
2021-06-19Add support for codeberg.orgEuAndreh1-0/+8
2021-06-19Add support for notabug.orgEuAndreh1-21/+31
2021-06-19aux/workflow/manpages.sh: Suppress ShellCheck warningsEuAndreh1-0/+2
2021-06-19TODOs.md: Mark #task-9e842529-b782-84a2-1d0a-801a8766cb7e as DONEEuAndreh1-3/+7
2021-06-19Add aux/workflow/manpages.sh to install, uninstall and generate HTML from ↵EuAndreh4-31/+62
translated manpages
2021-06-19aux/workflow/assert-manpages.sh: Mark as executableEuAndreh1-0/+0
2021-06-19TODOs.md: Update #task-9e842529-b782-84a2-1d0a-801a8766cb7e DOING statusEuAndreh1-2/+5
2021-06-19Leverage po4a to translate manpagesEuAndreh13-17/+1943
2021-06-17TODOs.md: Mark #task-9e842529-b782-84a2-1d0a-801a8766cb7e as DOINGEuAndreh1-1/+5
2021-06-17src/git-permalink.sh: Translate program output to pt, fr and eoEuAndreh2-17/+86
The choice of implementation was very basic: Use strings in the script itself rather than relying on external tools. Compared to a compiled C program using, say, gettext.3, an sh script could also depend on it, but at runtime. An equivalent C code would require the gettext.3 dependency, but at compile time. After compilation, the code required for doing the translation is already on the binary, while an sh script would need gettext.1 to run gettext.1 commands while it executes, such as "gettext -s 'MSG_ABC'". Bash has a very appealing feature: using $"" does a lookup and translates the string. In other words, $"" runs gettext for you, without the script requiring gettext.1, just Bash. As tempting as it was, I chose not to rely on Bash. I preferred the cost of an ad-hoc solution over requiring Bash over POSIX sh. The final solution is simple enough for the git-permalink.1 program, but wouldn't scale for bigger scripts. Strings are placed together for translation, and no external tool is used for this. Due to the way that strings are now given to printf.1, ShellCheck complains a lot about those strings, alonside saying that the string translation variables are unused. They actually are used, but hidden behind an eval. Overall I'm satisfied with the solution, but I probably won't follow the same path for the manpages, and will choose something like po4a for it, instead.
2021-06-17Makefile: Use mkdir+cp over installEuAndreh1-1/+2
TIL: install isn't POSIX.
2021-06-17Makefile: Ignore failure when creating ./git-permalink fileEuAndreh1-3/+2
In case of failure, a "make clean" will fix it.
2021-06-17Update aux/workflow/assert-changelog.shEuAndreh3-6/+9
2021-06-17README.md: s/Extratools/Extra tools/EuAndreh1-1/+1
2021-06-16Makefile: Remove .PHONY targetEuAndreh1-2/+0
2021-06-16doc/git-permalink.1: Add period at the end of NAMEEuAndreh1-1/+1
2021-06-16Makefile: Add $(manpages) as a dependency of the "public" targetEuAndreh1-1/+1
2021-06-16aux/workflow/assert-manpages.sh: Fix link to mailing listEuAndreh2-2/+2
2021-06-16Show -h and -V flags on usage textEuAndreh2-2/+2
2021-06-16aux/workflow/assert-changelog.sh: Assert link exists in CHANGELOGEuAndreh1-0/+9
2021-06-16aux/workflow/preamble.md: Join first and second paragraphsEuAndreh1-3/+1
2021-06-16aux/workflow/preamble.md: Link only to homepageEuAndreh1-1/+1
2021-06-16CHANGELOG.md: Add link to homepageEuAndreh1-0/+2
2021-06-16s/Home page/Homepage/EuAndreh4-4/+4
2021-06-16TODOs.md: Add #task-9e842529-b782-84a2-1d0a-801a8766cb7eEuAndreh1-0/+3
2021-06-16TODOs.md: Mark #question-e3b7748d-2e67-b60b-e966-ad80c754ea58 as DONEEuAndreh1-1/+5
2021-06-16doc/git-permalink.1: Stop using ".P", use empty lines insteadEuAndreh2-90/+89
2021-06-16TODOs.md: Add #question-e3b7748d-2e67-b60b-e966-ad80c754ea58EuAndreh1-0/+31
2021-06-14aux/: UpdateEuAndreh7-26/+101
2021-06-14aux/guix/manifest.scm: Remove unused packagesEuAndreh1-3/+0
2021-06-14doc/git-permalink.1: Fix links at the bottomEuAndreh1-10/+12
2021-06-14Makefile: Use pandoc to generate HTML version of manpagesEuAndreh2-3/+3
2021-06-14README.md: Add link to git-send-email.ioEuAndreh1-1/+5
2021-06-13Release v0.1.0v0.1.0EuAndreh3-1/+10
2021-06-13README.md: Point to license file in the source code itselfEuAndreh1-1/+1
2021-06-13README.md: Remove duplicate entry on usage sectionEuAndreh1-2/+0
2021-06-13README.md: Point to copy of license in the source code repository itselfEuAndreh1-1/+1
2021-06-12TODOs.md: Mark #task-6e6f917f-26ad-09fd-9a09-84b5df0f3ea4 as DONEEuAndreh1-1/+5
2021-06-12Makefile: Add aux/workflow/assert-manpages.shEuAndreh2-0/+45
2021-06-12doc/git-permalink.1: Write initial versionEuAndreh1-0/+157