All of lore.kernel.org
 help / color / mirror / Atom feed
From: Esben Haabendal <eha@dev.doredevelopment.dk>
To: Cliff Brake <cliff.brake@gmail.com>
Cc: yocto@yoctoproject.org,
	openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [yocto] Multiple Repository support
Date: Thu, 23 Dec 2010 07:11:46 +0100	[thread overview]
Message-ID: <1293084706.2594.5.camel@eha> (raw)
In-Reply-To: <AANLkTik3-5x2W+DRTJ9bC0YnUQB9HbvSWEYLSMWLTPjZ@mail.gmail.com>

On Wed, 2010-12-22 at 11:09 -0500, Cliff Brake wrote:
> Hello,
> 
> I've started collecting ideas from various emails on multiple
> repository support.
> 
> http://wiki.openembedded.org/index.php/MultipleRepositoryMethods
> 
> Please feel free to update the above page.
> 
> In my mind, this is a key problem we need to solve, not just for
> Yocto/OE, but also for anyone doing product development.
> 
> I've personally been using git submodules for most projects, and repo
> for Android based projects.
> 
> Appreciate any ideas, experiences, or insights into how we solve this problem.

We are using git submodules for just this task in OE-lite.
It works pretty well, but I fear that this will not be the case if a
push model is used for the top repository.

We have partly wrapped the git submodule configuration into a bitbake
parsed configuration file, looking something like:

# OE-lite/core metadata
OE_MODULES                      += "core"
OE_MODULE_PATH_core              = "meta/core"
OE_MODULE_URL_core               =
"git://git.doredevelopment.dk/oe-lite/core.git"
OE_MODULE_PUSHURL_core           =
"ssh://dev.doredevelopment.dk/srv/public/git/oe-lite/core.git"
OE_MODULE_BRANCH_core            = "master"
OE_MODULE_REMOTES_core          += "gitorious"
OE_MODULE_REMOTE_core_gitorious  = "git@gitorious.org:oe-lite/core.git"

So developers get a more complete and consistent submodule setup.

We considered repo, but the KISS principle ruled in favor of git
submodules.  I believe the learning curve is steep enough for any
newcomers to OE, so having to figure out how to master something like
repo also does not seem so attractive.

/Esben

/Esben




WARNING: multiple messages have this Message-ID (diff)
From: Esben Haabendal <eha@dev.doredevelopment.dk>
To: Cliff Brake <cliff.brake@gmail.com>
Cc: yocto@yoctoproject.org,
	openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: Multiple Repository support
Date: Thu, 23 Dec 2010 07:11:46 +0100	[thread overview]
Message-ID: <1293084706.2594.5.camel@eha> (raw)
In-Reply-To: <AANLkTik3-5x2W+DRTJ9bC0YnUQB9HbvSWEYLSMWLTPjZ@mail.gmail.com>

On Wed, 2010-12-22 at 11:09 -0500, Cliff Brake wrote:
> Hello,
> 
> I've started collecting ideas from various emails on multiple
> repository support.
> 
> http://wiki.openembedded.org/index.php/MultipleRepositoryMethods
> 
> Please feel free to update the above page.
> 
> In my mind, this is a key problem we need to solve, not just for
> Yocto/OE, but also for anyone doing product development.
> 
> I've personally been using git submodules for most projects, and repo
> for Android based projects.
> 
> Appreciate any ideas, experiences, or insights into how we solve this problem.

We are using git submodules for just this task in OE-lite.
It works pretty well, but I fear that this will not be the case if a
push model is used for the top repository.

We have partly wrapped the git submodule configuration into a bitbake
parsed configuration file, looking something like:

# OE-lite/core metadata
OE_MODULES                      += "core"
OE_MODULE_PATH_core              = "meta/core"
OE_MODULE_URL_core               =
"git://git.doredevelopment.dk/oe-lite/core.git"
OE_MODULE_PUSHURL_core           =
"ssh://dev.doredevelopment.dk/srv/public/git/oe-lite/core.git"
OE_MODULE_BRANCH_core            = "master"
OE_MODULE_REMOTES_core          += "gitorious"
OE_MODULE_REMOTE_core_gitorious  = "git@gitorious.org:oe-lite/core.git"

So developers get a more complete and consistent submodule setup.

We considered repo, but the KISS principle ruled in favor of git
submodules.  I believe the learning curve is steep enough for any
newcomers to OE, so having to figure out how to master something like
repo also does not seem so attractive.

/Esben

/Esben



  parent reply	other threads:[~2010-12-23 10:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-22 16:09 Multiple Repository support Cliff Brake
2010-12-22 16:18 ` Bruce Ashfield
2010-12-23  6:11 ` Esben Haabendal [this message]
2010-12-23  6:11   ` Esben Haabendal
2011-01-07 15:30 ` Vitus Jensen
2011-01-07 15:30   ` [oe] " Vitus Jensen

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=1293084706.2594.5.camel@eha \
    --to=eha@dev.doredevelopment.dk \
    --cc=cliff.brake@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=yocto@yoctoproject.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.