Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: openembedded-core@openembedded.org
Subject: Re: [PATCH 1/1] Fix some recipes upstream version check issue
Date: Thu, 01 Dec 2011 09:22:23 +0000	[thread overview]
Message-ID: <1322731343.17484.86.camel@ted> (raw)
In-Reply-To: <ec329e79d07e83cb240dda3988017741c597b566.1322729357.git.lei.mei@intel.com>

On Thu, 2011-12-01 at 16:54 +0800, Mei Lei wrote:
> Some recipes didn't declare what protocal they use to check the upstream version, this will due to some errors.
> Fix this by add the protocal at the end of the SRC_URI.

What errors does this give? We should be defaulting to git these days.
lib/bb/fetch2/git.py says:

        if 'protocol' in ud.parm:
            ud.proto = ud.parm['protocol']
        elif not ud.host:
            ud.proto = 'file'
        else:
            ud.proto = "git"

?

Cheers,

Richard

> Signed-off-by: Mei Lei <lei.mei@intel.com>
> ---
>  .../iproute2/iproute2_3.1.0.bb                     |    2 +-
>  meta/recipes-graphics/clutter/clutter-box2d_git.bb |    2 +-
>  meta/recipes-rt/rt-tests/rt-tests_0.83.bb          |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-connectivity/iproute2/iproute2_3.1.0.bb b/meta/recipes-connectivity/iproute2/iproute2_3.1.0.bb
> index 0b47046..52e40e1 100644
> --- a/meta/recipes-connectivity/iproute2/iproute2_3.1.0.bb
> +++ b/meta/recipes-connectivity/iproute2/iproute2_3.1.0.bb
> @@ -2,7 +2,7 @@ require iproute2.inc
>  
>  #v3.1.0 tag
>  SRCREV = "9cbe6bc337a35b91882f92599eefeb161f3e776e"
> -SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git \
> +SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git;protocol=git \
>             file://configure-cross.patch"
>  S = "${WORKDIR}/git"
>  
> diff --git a/meta/recipes-graphics/clutter/clutter-box2d_git.bb b/meta/recipes-graphics/clutter/clutter-box2d_git.bb
> index 554ce81..7a1dc8e 100644
> --- a/meta/recipes-graphics/clutter/clutter-box2d_git.bb
> +++ b/meta/recipes-graphics/clutter/clutter-box2d_git.bb
> @@ -6,7 +6,7 @@ SRCREV = "de5452e56b537a11fd7f9453d048ff4b4793b5a2"
>  PV = "0.12.1+git${SRCPV}"
>  PR = "r0"
>  
> -SRC_URI = "git://git.gnome.org/clutter-box2d.git"
> +SRC_URI = "git://git.gnome.org/clutter-box2d.git;protocol=git"
>  
>  S = "${WORKDIR}/git"
>  
> diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb b/meta/recipes-rt/rt-tests/rt-tests_0.83.bb
> index 78d51b3..7e64032 100644
> --- a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb
> +++ b/meta/recipes-rt/rt-tests/rt-tests_0.83.bb
> @@ -12,7 +12,7 @@ SRCREV = "5f1e84f8b015df3ff950056494134eca3f640d70"
>  # git -> 0.83 needs a PE bump
>  PE = "1"
>  
> -SRC_URI = "git://github.com/clrkwllms/rt-tests.git"
> +SRC_URI = "git://github.com/clrkwllms/rt-tests.git;protocol=git"
>  
>  S = "${WORKDIR}/git"
>  





  parent reply	other threads:[~2011-12-01  9:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-01  8:54 [PATCH 0/1]Fix some recipes check upstream version issue Mei Lei
2011-12-01  8:54 ` [PATCH 1/1] Fix some recipes upstream version check issue Mei Lei
2011-12-01  9:21   ` Koen Kooi
2011-12-01  9:22   ` Richard Purdie [this message]
2011-12-06  9:15     ` Mei, Lei

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=1322731343.17484.86.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=openembedded-core@openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox