Re: [RFC] hard DEPENDS assignment
On Tue, 2021-12-07 at 11:09 -0800, Andre McCurdy wrote:
On Tue, Dec 7, 2021 at 9:58 AM Richard Purdie <rpurdie@...> wrote:That does still feel like we're admitting our syntax is broken though :(If the goal is to let the recipe undo changes made by a .bbclass then
By that you mean I didn't expand on the other thread? Sadly I haven't had theI actually much prefer += in recipes for that reason but as you say, people likeI've seen the discussion. No real explanation of what the dilemma is though...
time, no. I didn't prioritise it as you made it clear you don't intend to send
patches to OE again. You have given a lot of good feedback on changes and have a
lot of good knowledge so that is a shame btw.
Things have been discussed in the past, I doubt I can dig out a precise pointer
to those discussions unfortunately as I'm struggling to find anything (I did
spend a while trying). I can try to summarise how I've seen the different sides
to this presented.
It basically comes down to users expecting to be able to do several different
things and different syntax works better for different use cases.
In general a user may want to a) change a single item in a config or b) override
the config entirely. They may want to do it for the target case only, or for
both target and native. They may want to do it from their local.conf (with a pn-
override?), from a .bbappend, or also from a distro configuration. It is also
complicated where these things may stack and the user may or may not need to
change a change to the PACKAGECONFIG.
Again, going from memory, depending on which of those things a user wants to do,
a ??=, ?=, = on the original PACKAGECONFIG may be more or less helpful.
I can try and work through each of the scenarios and write down which of the
operators makes most sense in each case and it is probably such an analysis we
need. Usually most people believe their favourite use case is the only one
anyone could ever want and is therefore the right one though :/. I struggle to
do work like this when patches aren't merging, we need milestone builds and the
autobuilder is showing breakage.