All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: jackie.huang@windriver.com
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 0/1] remove the unnecessary protocol parameters
Date: Fri, 30 Aug 2013 11:22:20 +0200	[thread overview]
Message-ID: <20130830092220.GT3544@jama> (raw)
In-Reply-To: <cover.1377827133.git.jackie.huang@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 1586 bytes --]

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?

I can do the "bitbake world" part.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  parent reply	other threads:[~2013-08-30  9:21 UTC|newest]

Thread overview: 6+ 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 [this message]
2013-09-02  2:01   ` jhuang0
  -- strict thread matches above, loose matches on Subject: below --
2013-09-02  2:54 jackie.huang

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=20130830092220.GT3544@jama \
    --to=martin.jansa@gmail.com \
    --cc=jackie.huang@windriver.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 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.