aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add support for bitbucket.orgEuAndreh2021-06-191-0/+8
|
* Add support for pagure.ioEuAndreh2021-06-191-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.
* Add support for codeberg.orgEuAndreh2021-06-191-0/+8
|
* Add support for notabug.orgEuAndreh2021-06-191-21/+31
|
* aux/workflow/manpages.sh: Suppress ShellCheck warningsEuAndreh2021-06-191-0/+2
|
* TODOs.md: Mark #task-9e842529-b782-84a2-1d0a-801a8766cb7e as DONEEuAndreh2021-06-191-3/+7
|
* Add aux/workflow/manpages.sh to install, uninstall and generate HTML from ↵EuAndreh2021-06-194-31/+62
| | | | translated manpages
* aux/workflow/assert-manpages.sh: Mark as executableEuAndreh2021-06-191-0/+0
|
* TODOs.md: Update #task-9e842529-b782-84a2-1d0a-801a8766cb7e DOING statusEuAndreh2021-06-191-2/+5
|
* Leverage po4a to translate manpagesEuAndreh2021-06-1913-17/+1943
|
* TODOs.md: Mark #task-9e842529-b782-84a2-1d0a-801a8766cb7e as DOINGEuAndreh2021-06-171-1/+5
|
* src/git-permalink.sh: Translate program output to pt, fr and eoEuAndreh2021-06-172-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.
* Makefile: Use mkdir+cp over installEuAndreh2021-06-171-1/+2
| | | | TIL: install isn't POSIX.
* Makefile: Ignore failure when creating ./git-permalink fileEuAndreh2021-06-171-3/+2
| | | | In case of failure, a "make clean" will fix it.
* Update aux/workflow/assert-changelog.shEuAndreh2021-06-173-6/+9
|
* README.md: s/Extratools/Extra tools/EuAndreh2021-06-171-1/+1
|
* Makefile: Remove .PHONY targetEuAndreh2021-06-161-2/+0
|
* doc/git-permalink.1: Add period at the end of NAMEEuAndreh2021-06-161-1/+1
|
* Makefile: Add $(manpages) as a dependency of the "public" targetEuAndreh2021-06-161-1/+1
|
* aux/workflow/assert-manpages.sh: Fix link to mailing listEuAndreh2021-06-162-2/+2
|
* Show -h and -V flags on usage textEuAndreh2021-06-162-2/+2
|
* aux/workflow/assert-changelog.sh: Assert link exists in CHANGELOGEuAndreh2021-06-161-0/+9
|
* aux/workflow/preamble.md: Join first and second paragraphsEuAndreh2021-06-161-3/+1
|
* aux/workflow/preamble.md: Link only to homepageEuAndreh2021-06-161-1/+1
|
* CHANGELOG.md: Add link to homepageEuAndreh2021-06-161-0/+2
|
* s/Home page/Homepage/EuAndreh2021-06-164-4/+4
|
* TODOs.md: Add #task-9e842529-b782-84a2-1d0a-801a8766cb7eEuAndreh2021-06-161-0/+3
|
* TODOs.md: Mark #question-e3b7748d-2e67-b60b-e966-ad80c754ea58 as DONEEuAndreh2021-06-161-1/+5
|
* doc/git-permalink.1: Stop using ".P", use empty lines insteadEuAndreh2021-06-162-90/+89
|
* TODOs.md: Add #question-e3b7748d-2e67-b60b-e966-ad80c754ea58EuAndreh2021-06-161-0/+31
|
* aux/: UpdateEuAndreh2021-06-147-26/+101
|
* aux/guix/manifest.scm: Remove unused packagesEuAndreh2021-06-141-3/+0
|
* doc/git-permalink.1: Fix links at the bottomEuAndreh2021-06-141-10/+12
|
* Makefile: Use pandoc to generate HTML version of manpagesEuAndreh2021-06-142-3/+3
|
* README.md: Add link to git-send-email.ioEuAndreh2021-06-141-1/+5
|
* Release v0.1.0v0.1.0EuAndreh2021-06-133-1/+10
|
* README.md: Point to license file in the source code itselfEuAndreh2021-06-131-1/+1
|
* README.md: Remove duplicate entry on usage sectionEuAndreh2021-06-131-2/+0
|
* README.md: Point to copy of license in the source code repository itselfEuAndreh2021-06-131-1/+1
|
* TODOs.md: Mark #task-6e6f917f-26ad-09fd-9a09-84b5df0f3ea4 as DONEEuAndreh2021-06-121-1/+5
|
* Makefile: Add aux/workflow/assert-manpages.shEuAndreh2021-06-122-0/+45
|
* doc/git-permalink.1: Write initial versionEuAndreh2021-06-121-0/+157
|
* TODOs.md: Mark #task-1e18a7cc-1055-bd09-3060-c03292ba583b as DONEEuAndreh2021-06-121-1/+10
|
* tests/cli-opts.sh: Remove behaviour testEuAndreh2021-06-121-25/+0
| | | | | | | | The test that was removed relies on how the repository was clone. For example, the CI clone the repository as a remote folder, and uses that for the origin remote. The test fails because of that, and instead of trying to fix it, I removed it.
* Makefile: Actually generate manpages HTMLEuAndreh2021-06-121-0/+1
|
* TODOs.md: Add #task-1e18a7cc-1055-bd09-3060-c03292ba583bEuAndreh2021-06-121-0/+7
|
* README.md: Fix markdown linksEuAndreh2021-06-121-1/+4
|
* Revert "tests/xdg-open: Remove unused file"EuAndreh2021-06-122-0/+10
| | | | | | | This reverts commit d3faf9644490a191a16c148a3f4f865b730e5188. The file was not actually unused, but used in tests to avoid side effects when running them.
* src/git-permalink.sh: Fix bad treatment of -p flagEuAndreh2021-06-122-16/+27
|
* tests/xdg-open: Remove unused fileEuAndreh2021-06-122-9/+0
|