|
Re: Should we change variable override formatting?
Well, I am not asking we support both forever, but that we offer a proper transition period. For most key (and public) layers, it might be an option to switch 'quickly' enough, but for developers
Well, I am not asking we support both forever, but that we offer a proper transition period. For most key (and public) layers, it might be an option to switch 'quickly' enough, but for developers
|
By
Nicolas Dechesne
·
#1269
·
|
|
Re: Should we change variable override formatting?
I have to admit I'm leaning the other way, make this explicit and hope that
it actually helps users understand overrides a little better by making it clear.
If we support both forms, firstly, few of
I have to admit I'm leaning the other way, make this explicit and hope that
it actually helps users understand overrides a little better by making it clear.
If we support both forms, firstly, few of
|
By
Richard Purdie
·
#1268
·
|
|
Re: Should we change variable override formatting?
I agree.
I understand that this change would be needed to improve the metadata we
currently have, but I would like to stress that such big change in
syntax would be major PIA for some use
I agree.
I understand that this change would be needed to improve the metadata we
currently have, but I would like to stress that such big change in
syntax would be major PIA for some use
|
By
Martin Jansa
·
#1267
·
|
|
Re: Should we change variable override formatting?
This is the dilemma. We hear a lot about usability and the syntax being confusing
and hard to use/understand. If we try and improve that, we are going to have to
break compatibility at some
This is the dilemma. We hear a lot about usability and the syntax being confusing
and hard to use/understand. If we try and improve that, we are going to have to
break compatibility at some
|
By
Richard Purdie
·
#1266
·
|
|
Re: Should we change variable override formatting?
I've been pondering this a bit more and my preference is to move this to use
overrides more explicitly.
What I did realise is that d.getVar("RDEPENDS:${PN}") can actually split out
the override
I've been pondering this a bit more and my preference is to move this to use
overrides more explicitly.
What I did realise is that d.getVar("RDEPENDS:${PN}") can actually split out
the override
|
By
Richard Purdie
·
#1265
·
|
|
Re: Should we change variable override formatting?
hey!
Ouch.. I never realized that! I like Mark's suggestion to convert that to variables. RDEPENDS is typically used in users' layers, so that way they wouldn't be impacted by an override syntax
hey!
Ouch.. I never realized that! I like Mark's suggestion to convert that to variables. RDEPENDS is typically used in users' layers, so that way they wouldn't be impacted by an override syntax
|
By
Nicolas Dechesne
·
#1264
·
|
|
Re: Should we change variable override formatting?
The idea is interesting, but it would certainly break layers out there that
only provide a single master branch and claim compatibility with several past
releases, including dunfell, or even older.
The idea is interesting, but it would certainly break layers out there that
only provide a single master branch and claim compatibility with several past
releases, including dunfell, or even older.
|
By
Denys Dmytriyenko
·
#1263
·
|
|
Re: Should we change variable override formatting?
Hello Richard,
Em qui., 15 de jul. de 2021 às 10:56, Richard Purdie
<richard.purdie@...> escreveu:
If we don't do as a flag day we cannot drop old code from bitbake, so
my vote goes
Hello Richard,
Em qui., 15 de jul. de 2021 às 10:56, Richard Purdie
<richard.purdie@...> escreveu:
If we don't do as a flag day we cannot drop old code from bitbake, so
my vote goes
|
By
Otavio Salvador
·
#1262
·
|
|
Re: Should we change variable override formatting?
Ya, this is all over the packaging code. Should be trivial to move to treating
it as a variable (and not override). I can help with this if you want.
(It can of course also be moved to overrides,
Ya, this is all over the packaging code. Should be trivial to move to treating
it as a variable (and not override). I can help with this if you want.
(It can of course also be moved to overrides,
|
By
Mark Hatle
·
#1261
·
|
|
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
·
|