1 |
Sent from an iPhone, sorry for the HTML... |
2 |
|
3 |
> On Sep 19, 2015, at 7:30 AM, Alexis Ballier <aballier@g.o> wrote: |
4 |
> |
5 |
> On Sat, 19 Sep 2015 12:25:40 +0100 |
6 |
> Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> wrote: |
7 |
> |
8 |
>> On Sat, 19 Sep 2015 12:08:21 +0200 |
9 |
>> Pacho Ramos <pacho@g.o> wrote: |
10 |
>>> On the other hand, if we start always setting the available slots |
11 |
>>> that we know to work, we can avoid this issue, and this is also |
12 |
>>> completely future proof becase I don't think we can assume that |
13 |
>>> package B will always work with the latest available SLOT package A |
14 |
>>> can have in the future. Then, applying the same policy of we trying |
15 |
>>> to set the versions in dependencies to the versions we know are |
16 |
>>> compatible, we should do the same with the slot. |
17 |
>> |
18 |
>> You know, there's this thing called a :* slot dependency... |
19 |
>> Originally, the intent was that any dependency which might match more |
20 |
>> than one slot would explicitly use an operator, and that repoman |
21 |
>> would enforce it. |
22 |
> |
23 |
> repoman warns when it *does* match more than one slot; maybe it should |
24 |
> warn when it *might* ? |
25 |
> |
26 |
|
27 |
And how is repo man supposed to know that???? :) |
28 |
|
29 |
I'm having a but of difficulty understanding exactly what the request is in this thread. Rdeps of a package that is slotted (isn't SLOT=0) absolutely needs to specify slot or a :* operator. But for all the packages that are SLOT=0, I do not think we should be specifying slot on all the rdeps just because some day we might add a new slot. Especially since we might need to change both the old and new SLOT= when we do this. |
30 |
|
31 |
And I also see it perfectly acceptable to bump all rdeps when this needs to occur. Although, if we fix "slot move" then this may be less necessary. |
32 |
|
33 |
Now, adding a ":=" slot operator to rdeps when the package still just has a simple/single slot does seem fine to me and makes sense for future proofing. I know some think this isn't a good idea as well though. |