From: jhuang0 <jackie.huang@windriver.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 0/1] remove the unnecessary protocol parameters
Date: Mon, 2 Sep 2013 10:01:15 +0800 [thread overview]
Message-ID: <5223F16B.5050705@windriver.com> (raw)
In-Reply-To: <20130830092220.GT3544@jama>
On 8/30/2013 5:22 PM, Martin Jansa wrote:
> On Fri, Aug 30, 2013 at 09:56:35AM +0800, jackie.huang@windriver.com wrote:
>> From: Jackie Huang <jackie.huang@windriver.com>
>>
>> What I did to remove these:
>> I checked that we only use git and svn:
>> $ find meta \( -name *.bb -o -name *.inc -o -name *.bbclass \) -exec sed -n 's/.*"\(\w*:\/\/\).*\(;protocol=\w*\)/\1 \2/p' {} \; | sort | uniq
>> git:// ;protocol=git \
>> git:// ;protocol=git"
>> git:// ;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
>> git:// ;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
>> git:// ;protocol=git" % (gstpkg_basename, branch))
>> git:// ;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
>> git:// ;protocol=http \
>> svn:// ;protocol=http \
>> svn:// ;protocol=http;module=trunk \
>> svn:// ;protocol=svn"
>>
>> So I think it's safe to simply remove ";protocol=git" and ";protocol=svn":
>>
>> $ find meta \( -name *.bb -o -name *.inc -o -name *.bbclass \) -exec sed -i 's/;protocol=git//; s/;protocol=svn//' {} \;
>>
>> What left with protocol parameter after removal is:
>> $ find meta \( -name *.bb -o -name *.inc -o -name *.bbclass \) -exec sed -n 's/.*"\(\w*:\/\/\).*\(;protocol=\w*\)/\1 \2/p' {} \; | sort | uniq
>> git:// ;protocol=http \
>> svn:// ;protocol=http \
>> svn:// ;protocol=http;module=trunk
>>
>> Please refer to "[OE-core] [PATCH] u-boot: update to 2013.07" for detail discussions.
>>
>> tested info:
>> MACHINE ??= "qemux86-64"
>>
>> $ bitbake world
>
> Would you mind running the same in meta-openembedded?
No, I will do it for meta-openembedded.
Thanks,
Jackie
>
> I can do the "bitbake world" part.
>
--
Jackie Huang
WIND RIVER | China Development Center
MSN:jackielily@hotmail.com
Tel: +86 8477 8594
Mobile: +86 138 1027 4745
prev parent reply other threads:[~2013-09-02 2:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-30 1:56 [PATCH 0/1] remove the unnecessary protocol parameters jackie.huang
2013-08-30 1:56 ` [PATCH 1/1] " jackie.huang
2013-08-30 4:27 ` [PATCH 0/1] " Randy MacLeod
2013-08-30 9:22 ` Martin Jansa
2013-09-02 2:01 ` jhuang0 [this message]
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=5223F16B.5050705@windriver.com \
--to=jackie.huang@windriver.com \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.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