All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: Mathy Vanhoef <vanhoefm@gmail.com>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>, <backports@vger.kernel.org>
Subject: Re: [PATCH] backports: fix high RC version parsing in dependency library
Date: Tue, 28 Apr 2015 10:27:12 +0200	[thread overview]
Message-ID: <553F4460.8000505@broadcom.com> (raw)
In-Reply-To: <553ECCC6.2060604@gmail.com>

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?

Regards,
Arend

[1] http://mid.gmane.org/1430126344-1068-1-git-send-email-eliad@wizery.com

> Signed-off-by: Mathy Vanhoef<vanhoefm@gmail.com>
> ---
>   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


  reply	other threads:[~2015-04-28  8:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27 23:56 [PATCH] backports: fix high RC version parsing in dependency library Mathy Vanhoef
2015-04-28  8:27 ` Arend van Spriel [this message]
2015-04-28 10:26   ` Mathy Vanhoef
2015-04-28 12:25     ` Eliad Peller
2015-04-28 20:29       ` Hauke Mehrtens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=553F4460.8000505@broadcom.com \
    --to=arend@broadcom.com \
    --cc=backports@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=vanhoefm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.