Pacho Ramos <pa...@gentoo.org> wrote: > > Isn't there a way for PMs to know that they need to not rebuild full if > user has 1.1-r1 *installed* in his system and pretends to update to > -r1.1?
This is exactly the idea of -r1.1, and this (at least the check) already works in the code snippet I had sent to the portage list: >From 1.1-r1 to 1.1-r1.1 no recompilation should happen, while e.g. from 1.1 to 1.1-r1.1 the bump is as usual. Package managers which do not want to implement minor revisions could just treat -r1.1 as a "usual" revbump and recompile unconditionally, that is, except for a slight extension of the allowed versions (and corresponding comparison rules) nothing would change for them (although their users would then not benefit from the possible avoidance of some recompilations offered perhaps by other package managers).