[pacman-dev] [Proposal] make "makepkg --holdver" preserve the $pkgver, too

Erich Eckner arch at eckner.net
Tue Mar 30 07:34:45 UTC 2021


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

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-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmBi1JgACgkQCu7JB1Xa
e1qIkxAAnLoodUckvSYOaA9fouDO2ZjfhztixUfRAvELT5Refpn8Frh0PAEQNAt1
4JUUEPqL89nSd0CQe03IOEr1SQ6+8xYPaRhJLTG37rxcP+uZbE3gokz/Jin0jUn5
3L6uXQzqnaJWstg7Wz17/SSjhwIpxSDj5iYAV34IoasFSg+sLSFyRYiJ3399aFyc
MvDrTqI1GjRvCoa6a/PYG4h+9YmQJfIr7vTZ19ZPpZKrz/HilwowPRNcvqFyj6si
A4yuMLjxWFOyo3ry+FngTTzE0tIYpp1FoQJKg1iR7Ll8rbz4SZnModCmojIsmkqs
eog3PKil1V25OYjingIge4Fz8B+qPJcA8Fne/JNGNjEo8vqI/JnD4FsZ/JwS1ajg
A4BJs/3xWJPQ7eg2LLfD8PKQ6wrmExhaG96iv9Q/zonvuFBU7sen8aVuFWsC30vp
8kJcWvBTTQoB+L6Q8VUng8zFf42UGxSPugtCzyrvKHA3onHfnwH06mEOpI4P4gCs
NpI9cpbGoSAny24qU8pxknKOSSvdGX1xBojMLeHgVhaTEY3Oonht16QrP+t4IOVc
vDTI97A/qOqQK/kmCBEFPvk0+Tfk1W2e6/BEE9lDiMC7EKEWGyFmalGJIIUIEKeH
tsywoa8VNDR2j1jr6X2wT1G7uAko8kJW6cK+WkZ/wS9EEQ9DnEA=
=6sJj
-----END PGP SIGNATURE-----


More information about the pacman-dev mailing list