1 |
>>>>> On Sat, 3 Mar 2018, Michał Górny wrote: |
2 |
|
3 |
> Warn if the '=' package dependency operator is used along with pure |
4 |
> version with no revision specified. This means to catch a common mistake |
5 |
> of developers copying '=' from upstream dependency specification while |
6 |
> '~' operator would be more appropriate. This causes unintended depgraph |
7 |
> breakage when the dependencies are revbumped e.g. due to dependency |
8 |
> changes, or prevents people from upgrading. |
9 |
|
10 |
> The developers are given two suggestions: either to use '~' if any |
11 |
> revision is acceptable, or to explicitly specify '-r0' when they really |
12 |
> do accept -r0 only. |
13 |
|
14 |
I won't be opposed against this, but there doesn't seem to be any |
15 |
policy that would require explicit -r0 in dependency specifications. |
16 |
So this is a policy change which should be discussed in gentoo-dev |
17 |
before it can be added to repoman. |
18 |
|
19 |
Also according to PMS, no revision and -r0 (and even -r00) are |
20 |
completely equivalent. so IMHO we should think twice before |
21 |
introducing behaviour that would treat them differently in some |
22 |
places. |
23 |
|
24 |
Ulrich |