Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] in-place SLOT updates on ebuilds?
Date: Thu, 17 Jan 2013 17:43:31
Message-Id: 50F83847.5090205@gentoo.org
In Reply to: Re: [gentoo-dev] in-place SLOT updates on ebuilds? by Ciaran McCreesh
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 17/01/13 12:30 PM, Ciaran McCreesh wrote:
5 > On Thu, 17 Jan 2013 12:25:46 -0500 Ian Stakenvicius
6 > <axs@g.o> wrote:
7 >> On 17/01/13 12:15 PM, Ciaran McCreesh wrote:
8 >>> Ian Stakenvicius <axs@g.o> wrote:
9 >>>> On 17/01/13 11:47 AM, Ciaran McCreesh wrote:
10 >>>>>
11 >>>>> .... If you have foo-1:a and foo-2:b installed, and then
12 >>>>> you install foo-1:b, it replaces both 1:a and 2:b.
13 >>>>>
14 >>>
15 >>>> that would be an interesting case with portage, given if
16 >>>> foo-1:a moved to foo-1:b that should occur via a slot-move
17 >>>> shouldn't it?
18 >>>
19 >>> There's nothing forcing that to be the case.
20 >>>
21 >
22 >> Does an in-tree change in SLOT automatically schedule something
23 >> for rebuild on an emerge -uD (or equivalent command in other
24 >> package managers) ? If so, does sub-slot changes also trigger
25 >> this?
26 >
27 > For Paludis, not necessarily (unless the user passes in -km or
28 > some variation): we look at the slot of the best version in the
29 > tree, plus the best version in the tree of each installed slot, and
30 > then compare versions.
31 >
32 > This is related to one of the reasons a revbump should be required
33 > when moving a package from EAPI 4 to EAPI 5: if a package's version
34 > is unchanged, then its slot changing from x to x/y isn't enough to
35 > force a reinstall.
36 >
37
38 Makes sense. Up until this point, I had assumed that an in-place SLOT
39 change wouldn't trigger a rebuild on a regular update. I haddn't
40 considered that it might until you mentioned your example above.
41
42 Thanks for clarifying!
43 -----BEGIN PGP SIGNATURE-----
44 Version: GnuPG v2.0.19 (GNU/Linux)
45
46 iF4EAREIAAYFAlD4OEcACgkQ2ugaI38ACPAeQAD/W7DUo1C4+xJRoArFflOqO/Sb
47 My2htCgqONtAl5gtan0BAKh2zoOy92HyisbBfvjYzoAkLrQa0kL8SUU4Pkdu18DU
48 =2Os5
49 -----END PGP SIGNATURE-----