1 |
>>>>> On Mon, 21 Sep 2015, Zac Medico wrote: |
2 |
|
3 |
>> Does this patch consider suffix parts (including the integer if |
4 |
>> present) as a single component? |
5 |
|
6 |
> No, it considers the integer parts as a separate components, in |
7 |
> order to maintain as much backward compatibility as possible. |
8 |
|
9 |
> So, it deviates from your test cases only because =cat/foo-1_alpha* |
10 |
> matches cat/foo-1_alpha1. Note that this case is not ambiguous like |
11 |
> the others, so we may not want to break compatibility here. |
12 |
|
13 |
In fact, PMS sections 3.2 and 3.3 don't define if a suffix is one or |
14 |
two components. I believe that we could clarify the wording in either |
15 |
way, both would be consistent. |
16 |
|
17 |
Function get_version_components() from versionator.eclass treats |
18 |
suffixes as single components, though. But maybe we can ignore this. |
19 |
|
20 |
Ulrich |