From: Martin Jansa <martin.jansa@gmail.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: DORA RFC: FILESOVERIDES in dora
Date: Mon, 18 Nov 2013 16:37:30 +0100 [thread overview]
Message-ID: <20131118153730.GD3727@jama> (raw)
In-Reply-To: <CAJTo0LZWNbMFA1ogn2W7dvxtXh31LovO9QbYKcQsGpTR7C6KCg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2433 bytes --]
On Mon, Nov 18, 2013 at 11:15:07AM +0000, Burton, Ross wrote:
> On 18 November 2013 11:10, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > a) Revert the change in the branch. Anyone who adapted to the correct
> > behaviour on the branch would need to revert those changes
>
> As there hasn't been a .1 of Dora yet this only impacts people who
> have been tracking git, so I think it's probably best to apologise for
> this merge and revert it, on the grounds that it's a serious behaviour
> change.
I agree with Ross, it would be really bad to ask people if they use
dora as 1.5, 1.5.1 or what exact revision between them when debugging
some FILESPATH related issue.
BTW: https://wiki.yoctoproject.org/wiki/Releases still says Dora is in
development, that note should have been dropped when links to 1.6. were
added.
FWIW: I'm not sure if I like reversed for loops, commit says "give the
result the user would expect", maybe I'm just used to old behavior, but
I expect e.g. version specific patches to be preferred over DISTRO specific
patch in "files" directory.
Imagine hypothetical case:
conman_123.bb:file://static-configuration.patch
connman/qemuall/static-configuration.patch # something qemu specific to keep NFS root mounted
connman/static-configuration.patch
someone adds new connman with different configuration format
connman_345.bb
connman-345/static-configuration.patch # new format required for 345 and we don't need qemuall to override it anymore
With for loops reversed connman_345 will use old connman/qemuall/static-configuration.patch
Someone can show similar case where the reversed order makes sense.
But I think that people will usually notice version change and if needed
update distro/machine specific files to provide their own variant for
new recipe version.
E.g. if connman gets broken between 2 images I'll easily see in
installed-packages.txt that connman was upgraded end quickly find that
our specific .patch file wasn't used anymore. But I won't notice that
someone added new file to qemuall which caused only EXTENDPRAUTO change
and rebuild with different file.
Is it right thing to change behavior people are used to? Especially if
it doesn't fix any real-world issue (Not talking about changed order of
overrides which makes sense to me).
Regards,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
prev parent reply other threads:[~2013-11-18 15:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 11:10 DORA RFC: FILESOVERIDES in dora Richard Purdie
2013-11-18 11:15 ` Burton, Ross
2013-11-18 11:18 ` Otavio Salvador
2013-11-18 12:46 ` Robert Yang
2013-11-18 14:25 ` Burton, Ross
2013-11-18 15:37 ` Martin Jansa [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=20131118153730.GD3727@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@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