Re: [PATCH] backports: fix high RC version parsing in dependency library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 28, 2015 at 10:27 AM, Arend van Spriel <arend@xxxxxxxxxxxx> wrote:
> On 04/28/15 01:56, Mathy Vanhoef wrote:
>>
>> This updates the dependency library to handle RC versions up to 39. For
>> example, coccinelle version "1.0.0" is now correctly treated as being
>> higher
>> than version "1.0.0-rc24".
>
>
> This one is duplicate to the patch Eliad submitted [1]. Any reason for
> choosing rc 40?

I missed that patched. My reasoning was that previously at least the Linux
kernel went up to rc 39 with 2.6.39. So 40 should be a good limit to support
most cases.

Kr,
Mathy

> Regards,
> Arend
>
> [1] http://mid.gmane.org/1430126344-1068-1-git-send-email-eliad@xxxxxxxxxx
>
>
>> Signed-off-by: Mathy Vanhoef<vanhoefm@xxxxxxxxx>
>> ---
>>   lib/bpreqs.py |    2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/lib/bpreqs.py b/lib/bpreqs.py
>> index 6c46670..4399c6d 100644
>> --- a/lib/bpreqs.py
>> +++ b/lib/bpreqs.py
>> @@ -98,7 +98,7 @@ class Req:
>>                   if (rc == ""):
>>                       rc = 0
>>                   else:
>> -                    rc = int(rc) - 20
>> +                    rc = int(rc) - 40
>>                   extra = int(rc)
>>               else:
>>                   extra = int(rel_specs['EXTRAVERSION']) + 10
>
>
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux