FS#10516 - Support for 'stick' option in PKGBUILDs
Attached to Project:
Pacman
Opened by Alessio Bolognino (mOLOk) - Monday, 26 May 2008, 23:30 GMT
Last edited by Dan McGee (toofishes) - Thursday, 24 July 2008, 02:29 GMT
Opened by Alessio Bolognino (mOLOk) - Monday, 26 May 2008, 23:30 GMT
Last edited by Dan McGee (toofishes) - Thursday, 24 July 2008, 02:29 GMT
|
Details
While browsing Frugalware's repos I noticed that they have
in FrugalBuilds an option that seems useful: it's called
"stick"; As far as I understood, it is more or less the
opposite of "force", that means that if a package has the
"stick" option it is not updated automatically, even if its
$pkgver-$pkgrel is > than the one installed.
Example of use: Developers found out that all packages in [extra] don't have the right license, but at the same time they don't want the users to download a lot of packages for such a minor change like that. Solution: fix the licenses in the packages, bump the pkgrel and add the stick option. When there is a new release of the software, just bump the pkgver and remove the stick option. |
This task depends upon
Closed by Dan McGee (toofishes)
Thursday, 24 July 2008, 02:29 GMT
Reason for closing: Won't implement
Additional comments about closing: For now, won't implement. I understand the idea and can see its usefulness, but I think it introduces another point of failure (forgetting to remove this special flag when doing real rebuilds).
Thursday, 24 July 2008, 02:29 GMT
Reason for closing: Won't implement
Additional comments about closing: For now, won't implement. I understand the idea and can see its usefulness, but I think it introduces another point of failure (forgetting to remove this special flag when doing real rebuilds).
aalib-1.0-1 has a minor error, like the wrong $url, so the maintainer fix it and release aalib-1.0-2 WITH the stick option; if user1 already have aalib-1.0-1 installed on his machine, then pacman won't update to aalib-1.0-2 (unless user1 explicitly tells pacman to do it), but when user2, who doesn't have aalib-1.0-1 installed, tells pacman to install aalib, pacman installs aalib-1.0-2. This way user1 didn't have to download the whole new aalib for a minor change, but user2 has the fixed package.
Doing what you usually do now, user2 would have still aalib-1.0-1 installed. Not a huge problem, I agree, but maybe someone think this feature is cool and want to implement it.
In b4, patches welcome :)