Changelog for [git-permalink](https://euandreh.xyz/git-permalink/en/). [pt] | [fr] | [eo] [pt]: https://euandreh.xyz/git-permalink/pt/CHANGELOG.html [fr]: https://euandreh.xyz/git-permalink/fr/CHANGELOG.html [eo]: https://euandreh.xyz/git-permalink/eo/CHANGELOG.html # Unreleased # [0.3.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.1) - 2022-01-16 ## Fixed ### Reported version The reported version of the program is now forced to be in sync with the released version. # [0.3.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.3.0) - 2022-01-16 ## Added ### Translations via external files Instead of having translation strings hard-coded into `src/git-permalink.in` itself, it now uses `src/locale/load-messages.sh.in` to dynamically lookup a translation file and load its strings. ## Changed ### Makefile variables Each target directory now has its own configurable Makefile variable: - `$(PREFIX)` stays the same: `/usr/local`; - `$(BINDIR)` for `$(PREFIX)/bin`. This was already the value used on the `install` target, but now one can specifically configure it without having to change `$(PREFIX)`; - `$(LIBEXECDIR)` pointing to `$(PREFIX)/libexec` where `src/locale/load-messages.sh.in` is put; - `$(SHAREDIR)` as the base directory for `$(MANDIR)` and `$(LOCALEDIR)`; - `$(MANDIR)` in favour of `$(MANPREFIX)`, which uses `$(LOCALEDIR)/man`. So now the manpages directory can be affected by either changing `$(PREFIX)` or `$(SHAREDIR)`; - `$(LOCALEDIR)` pointing to `$(SHAREDIR)/locale`, where the translated strings are installed. ### Calling `make` In order to generate the correct files, one should provide the `$(PREFIX)` value to `make` both when building and when installing. Where previous one would do: ```shell $ make $ make install PREFIX=$HOME/.local ``` ...now needs to be: ```shell $ make PREFIX=$HOME/.local $ make install PREFIX=$HOME/.local ``` ## Removed ### Perl Removed dependency on Perl for development. ### Dependency on `aux/` The canonical `make clean all check install uninstall` targets don't depend on `aux/` for working correctly anymore ([#td-079946ed-7e58-3051-78d6-71ba12342aba]). [#td-079946ed-7e58-3051-78d6-71ba12342aba]: ../TODOs.html#td-079946ed-7e58-3051-78d6-71ba12342aba # [0.2.3](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.3) - 2021-07-16 ## Added ### Translations Translations for `README.md` and `CHANGELOG.md` files were added. ## Changed ### Options When git-permalink encounters an unrecognized option, it now exits with 2 instead of ignoring it. # [0.2.2](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.2) - 2021-06-25 ## Fixed Fixed installation path of manpages. # [0.2.1](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.1) - 2021-06-25 ## Changed ### `getopts` Use `getopts` for better handling of arguments, and start handling `--` escape. ### Tests Integration tests were added, creating empty repositories and monitoring `STDOUT`, `STDERR` and the usage of `xdg-open`. # [0.2.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.2.0) - 2021-06-19 ## Added ### Translations Translations for program output and manpages were added for Portuguese, French and Esperanto. ### Code forges All code forges listed in [`#td-cebc5298-17ad-5c60-dfa5-a25b66433a3a`](https://euandreh.xyz/git-permalink/TODOs.html#td-cebc5298-17ad-5c60-dfa5-a25b66433a3a) were added, and the task was marked as `DONE`. # [0.1.0](https://euandreh.xyz/git-permalink.git/commit/?id=v0.1.0) - 2021-06-13 ## Added Initial public release.