From: Jeremy Puhlman <jpuhlman@mvista.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] Add support for remote layering.
Date: Mon, 11 Jul 2011 11:45:50 -0700 [thread overview]
Message-ID: <4E1B44DE.2050209@mvista.com> (raw)
In-Reply-To: <201107111846.26118.paul.eggleton@linux.intel.com>
> I am aiming for this use case to be supported with my utility. What I would
> also like to handle though is that if you have chosen to set up some
> configuration, then it will be able to be read in before the fetching starts.
Sounds reasonable.
>> I get it you don't want it to be automatic. Do you have something I can look
>> at that addresses the remote layering?
>
> I've thrown together a proof-of-concept "bitbake-fetchlayers" in the
> "paule/remotelayers" contrib branch:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-
> contrib/log/?h=paule/remotelayers
>
> This is by no means a finished utility, may have hideous bugs, etc. This
> requires nothing more than vanilla bitbake to operate. Some notes:
>
> * BBPATH needs to be set, LAYER_UNPACKDIR also.
>
> * Currently it requires conf/bitbake.conf, classes/ etc., which are shipped
> with bitbake master but are not present with the copy of bitbake that's in
> Poky; I hope to be able to address this in such a way that the utility does
> not require these.
>
> * "init" is the command used to fetch multiple layers. I've also provided
> "fetch" as a way to test a single fetch operation; I would expect the latter
> to be removed at some point. (Also, none of these command names are final.)
>
> * Update is not yet implemented. For your use case, update is no more than a
> re-fetch; however where you are intending to interact with the layers as SCM
> working directories it would be better to do an update in-place. I'm still
> thinking about how best to implement this.
I will try and check this out later this week.
> * Output is rather noisy, this needs to be fixed also.
k.
> * I did have to patch the fetchers as Richard suggested so they have default
> values for the configurable fetch commands. (We'd have to have done this
> anyway.)
Great.
>
> I think we can support this without any issues - any of bitbake's fetchers
> should be able to be used, including wget and local. You won't need to grab
> oe-core first.
Okay.
> Hmm. For simplicity I've only supported fetch2 in bitbake-fetchlayers - in
> fact it forces it at startup. It would not be hard to support fetch also,
> however I hope we could avoid having to do so.
That is fine. The legacy code is likely not going to be moving over to
this anyways. It was more of a response to why did you do it, rather
then it needs to support it. Don't bother unless it is really needed by
someone else.
--
Jeremy Puhlman
Montavista Sofware, LLC.
next prev parent reply other threads:[~2011-07-11 18:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <RFC: Layer tooling brainstorming>
2011-04-28 18:09 ` [PATCH] Add support for remote layering Jeremy Puhlman
2011-04-28 18:09 ` Jeremy Puhlman
2011-04-28 18:20 ` [PATCH 0/1] " Jeremy Puhlman
2011-05-06 13:15 ` [PATCH] " Richard Purdie
2011-05-12 13:11 ` Jeremy Puhlman
2011-05-12 17:34 ` Jeremy Puhlman
2011-05-20 16:45 ` Paul Eggleton
2011-05-20 17:42 ` Jeremy Puhlman
2011-07-01 13:24 ` Paul Eggleton
2011-07-01 17:17 ` Jeremy Puhlman
2011-07-01 18:43 ` Jeremy Puhlman
2011-07-01 21:37 ` Richard Purdie
2011-07-02 0:33 ` Jeremy Puhlman
2011-07-04 11:34 ` Richard Purdie
2011-07-05 15:54 ` Jeremy Puhlman
2011-07-04 12:39 ` Paul Eggleton
2011-07-05 23:38 ` Jeremy Puhlman
2011-07-11 17:46 ` Paul Eggleton
2011-07-11 18:45 ` Jeremy Puhlman [this message]
2011-07-18 15:59 ` Paul Eggleton
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=4E1B44DE.2050209@mvista.com \
--to=jpuhlman@mvista.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox