|
Should we change variable override formatting?
Breaking things down a bit, one thing I keep running into with our current
codebase and metadata is that overrides are not clear. In my previous email,
the example
Breaking things down a bit, one thing I keep running into with our current
codebase and metadata is that overrides are not clear. In my previous email,
the example
|
By
Richard Purdie
·
#1260
·
|
|
Further thoughts on potential syntax changes
I've been quiet but have been thinking a lot about the syntax discussions.
I believe we do need to simplify things, at least so the majority of recipes
have simpler assignment syntax that is
I've been quiet but have been thinking a lot about the syntax discussions.
I believe we do need to simplify things, at least so the majority of recipes
have simpler assignment syntax that is
|
By
Richard Purdie
·
#1259
·
|
|
Re: Inclusive Language - wiki page
Greetings,
Instead of "includelist" and "excludelist", what about just "includes"
and "excludes"? This terminology is already used in rsync's manual (for
example), and it seems lighter and clear
Greetings,
Instead of "includelist" and "excludelist", what about just "includes"
and "excludes"? This terminology is already used in rsync's manual (for
example), and it seems lighter and clear
|
By
Michael Opdenacker
·
#1258
·
|
|
Re: Inclusive Language - wiki page
<richard.purdie@...> wrote:
+1
I find the whole issue almost unbelievable but hey...
A.A.
<richard.purdie@...> wrote:
+1
I find the whole issue almost unbelievable but hey...
A.A.
|
By
Andrea Adami
·
#1257
·
|
|
Re: Inclusive Language - wiki page
I'd note that it does actually raise "SkipRecipe" on the recipes in question so
SKIP may actually be more consistent and help with understanding in other code.
Cheers,
Richard
I'd note that it does actually raise "SkipRecipe" on the recipes in question so
SKIP may actually be more consistent and help with understanding in other code.
Cheers,
Richard
|
By
Richard Purdie
·
#1256
·
|
|
Re: Inclusive Language - wiki page
In the variables table:
PNBLACKLIST, I'd prefer PNEXCLUDELIST, or PNBLOCKLIST. (I think exclude better
captures what it does.)
Confused, where it says current name is whitelist, suggested rename
In the variables table:
PNBLACKLIST, I'd prefer PNEXCLUDELIST, or PNBLOCKLIST. (I think exclude better
captures what it does.)
Confused, where it says current name is whitelist, suggested rename
|
By
Mark Hatle
·
#1255
·
|
|
Inclusive Language - wiki page
Hello all,
The Yocto Project TSC has created a wiki page to start making notes of
offending names and possible replacements. At some point, this wiki page
should include a plan on moving forward.
Hello all,
The Yocto Project TSC has created a wiki page to start making notes of
offending names and possible replacements. At some point, this wiki page
should include a plan on moving forward.
|
By
Armin Kuster
·
#1254
·
|
|
Re: New assignment operator?
Hello,
after a few days I've discovered the fallouts of my chat with RP.
Just to be precise the layer is meta-handheld and the patch uncovering the issue
Hello,
after a few days I've discovered the fallouts of my chat with RP.
Just to be precise the layer is meta-handheld and the patch uncovering the issue
|
By
Andrea Adami
·
#1253
·
|
|
Re: New assignment operator?
On 06/17/2021 02:05 AM, Andre McCurdy wrote:
I think the initramfs issue is just an example. For this particular issue, we can come up with several different ways to solve it.
On 06/17/2021 02:05 AM, Andre McCurdy wrote:
I think the initramfs issue is just an example. For this particular issue, we can come up with several different ways to solve it.
|
By
Chen Qi
·
#1252
·
|
|
Re: New assignment operator?
I don't think users generally have a good grasp of the concept of
"what has gone before". They expect = to override ?= and _myoverride
to override = and if the ordering of those assignments can
I don't think users generally have a good grasp of the concept of
"what has gone before". They expect = to override ?= and _myoverride
to override = and if the ordering of those assignments can
|
By
Andre McCurdy
·
#1251
·
|
|
Re: New assignment operator?
Because _forcevariable isn't positional. It means "no matter what
else appears in the metadata, either before or after this assignment,
I want the variable to end up with this value". I don't think
Because _forcevariable isn't positional. It means "no matter what
else appears in the metadata, either before or after this assignment,
I want the variable to end up with this value". I don't think
|
By
Phil Blundell
·
#1250
·
|
|
Re: New assignment operator?
lists.openembedded.org <pb=pbcl.net@...> wrote:
I'm not sure I understand this. Why is using the _forcevariable
override somehow worse than inventing a new assignment operator to
lists.openembedded.org <pb=pbcl.net@...> wrote:
I'm not sure I understand this. Why is using the _forcevariable
override somehow worse than inventing a new assignment operator to
|
By
Andre McCurdy
·
#1249
·
|
|
Re: New assignment operator?
Em qua., 16 de jun. de 2021 às 02:08, Chen Qi <Qi.Chen@...> escreveu:
I really like the === proposal.
--
Otavio Salvador O.S.
Em qua., 16 de jun. de 2021 às 02:08, Chen Qi <Qi.Chen@...> escreveu:
I really like the === proposal.
--
Otavio Salvador O.S.
|
By
Otavio Salvador
·
#1248
·
|
|
Re: New assignment operator?
Yes, that's a fair point. As you say, I kind of have the sense that our
classes are drifting towards being more like classes in a "real" programming
language, complete with an actual API, and
Yes, that's a fair point. As you say, I kind of have the sense that our
classes are drifting towards being more like classes in a "real" programming
language, complete with an actual API, and
|
By
Phil Blundell
·
#1247
·
|
|
Re: New assignment operator?
On 06/15/2021 06:29 PM, Richard Purdie wrote:
I think so.
1) In the view of compatibility, it's acceptable.
Before the change, we have:
_remove >
On 06/15/2021 06:29 PM, Richard Purdie wrote:
I think so.
1) In the view of compatibility, it's acceptable.
Before the change, we have:
_remove >
|
By
Chen Qi
·
#1246
·
|
|
Re: New assignment operator?
That is a good summary, yes.
It certainly could be a solution to the problem but I worry that having
variables that users should touch and not touch and variables shadowing
other variables is going
That is a good summary, yes.
It certainly could be a solution to the problem but I worry that having
variables that users should touch and not touch and variables shadowing
other variables is going
|
By
Richard Purdie
·
#1245
·
|
|
Re: New assignment operator?
<mark.hatle@...> wrote:
I skimmed some of the thread so may have missed a detail... but if the
initramfs recipe wants to forcefully over-ride a value of
IMAGE_FSTYPES set by a BSP,
<mark.hatle@...> wrote:
I skimmed some of the thread so may have missed a detail... but if the
initramfs recipe wants to forcefully over-ride a value of
IMAGE_FSTYPES set by a BSP,
|
By
Andre McCurdy
·
#1244
·
|
|
Re: New assignment operator?
There is more then once I thought it would be good to add a flag for some sort
of variable type. Specific for this reason. "This variable is a MACHINE
variable, this is a DISTRO variable, this is a
There is more then once I thought it would be good to add a flag for some sort
of variable type. Specific for this reason. "This variable is a MACHINE
variable, this is a DISTRO variable, this is a
|
By
Mark Hatle
·
#1243
·
|
|
Re: New assignment operator?
Thanks for the background, I understand the issue a bit better now.
It seems fairly apparent that what's wrong here isn't fundamentally an issue
with OVERRIDES, it's more that the semantic layering
Thanks for the background, I understand the issue a bit better now.
It seems fairly apparent that what's wrong here isn't fundamentally an issue
with OVERRIDES, it's more that the semantic layering
|
By
Phil Blundell
·
#1242
·
|
|
Re: New assignment operator?
I'm going to intentionally avoid using "image" as gets overloaded I
think.
This is because an initramfs can be more than one of:
- The only filesystem container we create for a MACHINE
- A filesystem
I'm going to intentionally avoid using "image" as gets overloaded I
think.
This is because an initramfs can be more than one of:
- The only filesystem container we create for a MACHINE
- A filesystem
|
By
Tom Rini
·
#1241
·
|