blob: 1b020d096c404b1a003e545bdb655716eb880c1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
<!-- Entry template: -->
<!--
# Unreleased
## Added
## Changed
## Deprecated
## Removed
## Fixed
## Security
-->
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.
|