All of lore.kernel.org
 help / color / mirror / Atom feed
* Yocto .gitignore
@ 2013-11-29 22:12 Søren Holm
  2013-12-02 11:57 ` Paul Eggleton
  0 siblings, 1 reply; 4+ messages in thread
From: Søren Holm @ 2013-11-29 22:12 UTC (permalink / raw)
  To: yocto

Hi

Why does yocto .gitignpre include meta-*/. Why would we possibly want to 
ignore custom layers ?

-- 
Søren Holm


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Yocto .gitignore
  2013-11-29 22:12 Yocto .gitignore Søren Holm
@ 2013-12-02 11:57 ` Paul Eggleton
  2013-12-02 12:02   ` Søren Holm
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2013-12-02 11:57 UTC (permalink / raw)
  To: Søren Holm; +Cc: yocto

Hi Søren,

On Friday 29 November 2013 23:12:24 Søren Holm wrote:
> Why does yocto .gitignpre include meta-*/. Why would we possibly want to
> ignore custom layers ?

I presume you mean the .gitignore in the poky repository. Any additional 
custom layers shouldn't be part of the poky repository, they should be in 
separate repositories.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Yocto .gitignore
  2013-12-02 11:57 ` Paul Eggleton
@ 2013-12-02 12:02   ` Søren Holm
  2013-12-02 12:11     ` Paul Eggleton
  0 siblings, 1 reply; 4+ messages in thread
From: Søren Holm @ 2013-12-02 12:02 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

Mandag den 2. december 2013 11:57:35 skrev Paul Eggleton:
> 
> I presume you mean the .gitignore in the poky repository. Any additional
> custom layers shouldn't be part of the poky repository, they should be in
> separate repositories.

That's right. But how would you put "build/*" and my own "meta-*" in a 
seperate repo. Pulling them in as submodules seems painfull and having the 
yocto-repo included as a submodule in another repo seems backwards too.

Do you have a proposed "best-practice"-way of maintaining own layers?

-- 
Søren Holm


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Yocto .gitignore
  2013-12-02 12:02   ` Søren Holm
@ 2013-12-02 12:11     ` Paul Eggleton
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Eggleton @ 2013-12-02 12:11 UTC (permalink / raw)
  To: Søren Holm; +Cc: yocto

On Monday 02 December 2013 13:02:21 Søren Holm wrote:
> Mandag den 2. december 2013 11:57:35 skrev Paul Eggleton:
> > I presume you mean the .gitignore in the poky repository. Any additional
> > custom layers shouldn't be part of the poky repository, they should be in
> > separate repositories.
> 
> That's right. But how would you put "build/*" and my own "meta-*" in a
> seperate repo. Pulling them in as submodules seems painfull and having the
> yocto-repo included as a submodule in another repo seems backwards too.
> 
> Do you have a proposed "best-practice"-way of maintaining own layers?

There are a number of different options:

* submodules
* repo [1]
* combo-layer [2] (what we use for Poky)
* or, just keep the repositories separate

Re build/, you shouldn't need to keep that under version control. If you are
setting a large number of variables in local.conf that you want to preserve,
that is a sign that you should move these to a custom distro configuration file
[3].

Cheers,
Paul

[1] http://code.google.com/p/git-repo/
[2] https://wiki.yoctoproject.org/wiki/Combo-layer
[3] http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#creating-your-own-distribution

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-02 12:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29 22:12 Yocto .gitignore Søren Holm
2013-12-02 11:57 ` Paul Eggleton
2013-12-02 12:02   ` Søren Holm
2013-12-02 12:11     ` Paul Eggleton

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.