Gentoo Archives: gentoo-dev

From: Kent Fredric <kentnl@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Revisiting version-related tree policies
Date: Fri, 04 Nov 2016 12:01:58
Message-Id: 20161105010122.5dd51ba4@katipo2.lan
In Reply to: Re: [gentoo-dev] Revisiting version-related tree policies by Ulrich Mueller
1 On Fri, 4 Nov 2016 10:24:28 +0100
2 Ulrich Mueller <ulm@g.o> wrote:
3
4 > I would assume 9999 to be high enough, even if you use multiples of
5 > 100 to label the slot. Or do you expect having more than 100 slots for
6 > Perl?
7
8 Well, the desire is for the -r<x> (or similar) part correspond to
9 something representative of which version of Perl the virtual is an
10 "underwriter" for.
11
12 So it would naturally start at one of the following:
13
14 522, 524, 526
15 5022, 5024, 5026
16
17 And then you realise upstream are getting crazy and you'll need a
18 seperate virtual only for 5.22.1, so you'll need
19
20 -r5221
21
22 But that's only enough for a prefix for the identifier ... so you'll want -r52210, -r52211,
23
24 and at this point, it very much is getting into the weeds of confusing.
25
26 Granted I'm still at "worry about things that aren't actually a problem yet" stage.
27
28 Mostly because we're not yet employing this technique until we're sure
29 its going to be a good idea, and the only place we've *kinda* needed
30 such a solution is virtual/perl-Test-Simple
31 ( https://bugs.gentoo.org/show_bug.cgi?id=584238#c11 )
32
33 The problem however is reduced as follows:
34
35 1. Slots are not appropriate, because they can't be concurrently installed
36 2. versions must indicate an upgrade path to coerce portage to install
37 and remove things as needed
38 3. versions on the virtual themselves must correlate with upstream,
39 because we use the virtuals to ensure "X version of Y exists somehow"
40
41 and the /desire/ is to have an -r<x> scheme that we could consider
42 making automated one day.
43
44 There's just not a lot of wiggle room, because most of PV is "upstreams
45 version", and the '-r<x>' part is really the only part we can have some
46 flexibility with.

Replies

Subject Author
Re: [gentoo-dev] Revisiting version-related tree policies Ulrich Mueller <ulm@g.o>