-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

scratch that - it appears, I have understood something wrong :-)

(I assumed, pkgver() would give the *latest* available version and then the VCS should be checked out accordingly - but it's the other way round: pkgver() should report, what version is already being checked out)

regards,
Erich

On Tue, 30 Mar 2021, Erich Eckner wrote:

Hi,

I'd like to propose to let makepkg not only hold the version of the VCS sources, but also the $pkgver itself, when --holdver is given (that is: call pkgver() only, whenn --holdver is not given). In case, there is genuine need for keeping VCS versions, but still updating $pkgver via pkgver(), a different option name could be chosen (--holdpkgver ?).

Motivation:

This would be useful for building older packages (e.g. from git checkouts) which offer a pkgver() function. ("older" can simply mean, that the source is updated faster than the package is being checked into git)

Is anyone else finding this useful? Opinions? If we settle on something, I can look into how to implement it, myself (but I don't want to line up at the front :-D).

regards,
Erich
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmBjJ/YACgkQCu7JB1Xa
e1qnlA/+PaGtH6nL8yZyo+xaxiYgDr2KWlKi1hHkMIWinCUcC+owrIde+98x4Rdg
6HeLs06Z3/sYLa2350BCaCQXd8Vh2ty71w9FV5pMS+uzHgZp0Kas+FiEstYos6BQ
bhhcyEDliUKCf0pYVcO0hvQyyz9rxu4o3YC24NtB0SrXO7AEL+GrkSAb/AYZfF2k
XHWmz9+xyY6CBQJZlIuOzZJvMFClh9190hvZ+m2R52bjqaIaP5nvGuswnJ1yXStb
VgKJ3pMpWBAw+gpZ+myld7m3C0xtptO159sYAaVU5Sg1hz186VnkLHxAwbfxPvZc
9aPXA5E/JbHkLp2I2CyWtwj2DvJhc9fVrbv3udxBPeJY0GhuVZh/QwkR1bUhnZj6
TStaAhGN1Au58ikPoodHn+TmPXqAG6A3IsiWBAppvEpGx06vjKpLj5+AbNJcSbX9
ml0jb73QMtM2aShhjo7RoRkQnMaA8laOzD53NYgpV7T4YCcbHYXiW/dcESU7HesX
24W+VsmqD8m77oFF39FrfVP+qrOcPHx3oGln92JAKSjwBFxSGYd4sOzIuJGB0EWw
nTEDbYNb5+B4fzb3VzPYtZp3u7fXfQ/Qbc2kgd2djpk9RlX0LXD0zZVmofLp+hW6
PHew7Wxd76HpKeZnSHBjzYP27sUnO7O1c8SAFmaC1428cjtG/DQ=
=c5gr
-----END PGP SIGNATURE-----

Reply via email to