All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Frydrych <tf+lists.yocto@r-finger.com>
To: yocto@yoctoproject.org
Subject: Re: managing layer priorities
Date: Mon, 09 Apr 2012 15:53:28 +0100	[thread overview]
Message-ID: <4F82F7E8.3020101@r-finger.com> (raw)
In-Reply-To: <2949584.FXES3Ykti2@helios>

Hi Paul,

On 09/04/12 15:09, Paul Eggleton wrote:
> On Monday 09 April 2012 14:58:49 Tomas Frydrych wrote:
> I realise what you're trying to do, but you should bear in mind when you do 
> this you are relying on unintentional behaviour that may change in future.

I am not sure whether unintentional is an accurate description; layer
priority is explicitly and intentionally the function of other layers
due to inter-layer dependency. So I prefer to think of it as an
undocumented feature. :-) But I know, if it does not work, it's my own
fault.

The reason for doing this is that I'd like to be able to treat an
external layer as a read-only entity, and to enforce this. My experience
suggests that if you fork external layers alongside your custom layers,
this over time leads to unnecessary maintenance costs. On the other
hand, if each external layer is a read-only entity, it can be integrated
as a read-only git submodule, and no naughty developers will then make
changes to it.

Tomas


      reply	other threads:[~2012-04-09 14:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-08 22:28 managing layer priorities Tomas Frydrych
2012-04-09  6:18 ` Tomas Frydrych
2012-04-09 13:04   ` Gary Thomas
2012-04-09 13:58     ` Tomas Frydrych
2012-04-09 14:09       ` Paul Eggleton
2012-04-09 14:53         ` Tomas Frydrych [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=4F82F7E8.3020101@r-finger.com \
    --to=tf+lists.yocto@r-finger.com \
    --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.