-----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 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
pacman-dev@lists.archlinux.org