Gentoo Archives: gentoo-dev

From: Martin Vaeth <martin@×××××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: don't rely on dynamic deps
Date: Sat, 26 Jul 2014 13:37:04
Message-Id: slrnlt7bm9.9i1.martin@epidot.math.uni-rostock.de
In Reply to: Re: [gentoo-dev] don't rely on dynamic deps by Pacho Ramos
1 Pacho Ramos <pacho@g.o> wrote:
2 >
3 > Isn't there a way for PMs to know that they need to not rebuild full if
4 > user has 1.1-r1 *installed* in his system and pretends to update to
5 > -r1.1?
6
7 This is exactly the idea of -r1.1, and this (at least the check)
8 already works in the code snippet I had sent to the portage list:
9 From 1.1-r1 to 1.1-r1.1 no recompilation should happen, while e.g.
10 from 1.1 to 1.1-r1.1 the bump is as usual.
11
12 Package managers which do not want to implement minor revisions
13 could just treat -r1.1 as a "usual" revbump and recompile
14 unconditionally, that is, except for a slight extension of
15 the allowed versions (and corresponding comparison rules)
16 nothing would change for them (although their users would
17 then not benefit from the possible avoidance of some
18 recompilations offered perhaps by other package managers).