bitbake-setup: rename bb-layers -> bb-layers-in-sources, bb-layers-relative -> bb-layers-in-thisdir
PATCH 1/2 bitbake-setup: rename bb-layers -> bb-layers-in-sources, bb-layers-relative -> bb-layers-in-thisdir
From: Alexander Kanavin <[email protected]>
As pointed out by Peter K, bb-layers and bb-layers-relative is a confusing way to name these lists:
https://lists.openembedded.org/g/bitbake-devel/message/18296
I do believe this is the best option of several, it's yet another rename, but also a super important one, and the only chance to get the best nomenclature is now.
--- bin/bitbake-setup | 14 +++++------ .../configurations/oe-nodistro.conf.json | 2 +- .../configurations/poky-master.conf.json | 2 +- lib/bb/tests/setup.py | 24 +++++++++---------- 4 files changed, 21 insertions(+), 21 deletions(-)
bin/bitbake-setup +7 -7
@@ -129,7 +129,7 @@ def checkout_layers(layers, layerdir, d): return layers_fixed_revisions def setup_bitbake_build(bitbake_config, layerdir, setupdir, thisdir): - def _setup_build_conf(layers, relative_layers, build_conf_dir): + def _setup_build_conf(layers, thisdir_layers, build_conf_dir): os.makedirs(build_conf_dir) layers_s = []
@@ -137,11 +137,11 @@ def setup_bitbake_build(bitbake_config, layerdir, setupdir, thisdir): l = os.path.join(layerdir, l) layers_s.append(" {} \\".format(l)) - for l in relative_layers: + for l in thisdir_layers: if thisdir: l = os.path.join(thisdir, l) else: - raise Exception("Configuration is using bb-layers-relative to specify " \ + raise Exception("Configuration is using bb-layers-in-this-dir to specify " \ "a layer path relative to itself. This can be done only " \ "when the configuration is specified by its path on local " \ "disk, not when it's in a registry or is fetched over http.")
@@ -209,9 +209,9 @@ def setup_bitbake_build(bitbake_config, layerdir, setupdir, thisdir): print("Setting up bitbake configuration in\n {}\n".format(bitbake_builddir)) template = bitbake_config.get("oe-template") - layers = bitbake_config.get("bb-layers") + layers = bitbake_config.get("bb-layers-in-sources") if not template and not layers: - print("Bitbake configuration does not contain a reference to an OpenEmbedded build template via 'oe-template' or a list of layers via 'bb-layers'; please use oe-setup-build, oe-init-build-env or another mechanism manually to complete the setup.") + print("Bitbake configuration does not contain a reference to an OpenEmbedded build template via 'oe-template' or a list of layers via 'bb-layers-in-sources'; please use oe-setup-build, oe-init-build-env or another mechanism manually to complete the setup.") return oesetupbuild = os.path.join(layerdir, 'setup-build') if template and not os.path.exists(oesetupbuild):
@@ -223,8 +223,8 @@ def setup_bitbake_build(bitbake_config, layerdir, setupdir, thisdir): os.rename(bitbake_confdir, backup_bitbake_confdir) if layers: - relative_layers = bitbake_config.get("bb-layers-relative") or [] - _setup_build_conf(layers, relative_layers, bitbake_confdir) + thisdir_layers = bitbake_config.get("bb-layers-in-this-dir") or [] + _setup_build_conf(layers, thisdir_layers, bitbake_confdir) if template: bb.process.run("{} setup -c {} -b {} --no-shell".format(oesetupbuild, template, bitbake_builddir))
default-registry/configurations/oe-nodistro.conf.json +1 -1
@@ -43,7 +43,7 @@ { "name": "nodistro", "description": "OpenEmbedded 'nodistro'", - "bb-layers": ["openembedded-core/meta"], + "bb-layers-in-sources": ["openembedded-core/meta"], "oe-fragments-one-of": { "machine": { "description": "Target machines",
default-registry/configurations/poky-master.conf.json +1 -1
@@ -53,7 +53,7 @@ "bitbake-setup": { "configurations": [ { - "bb-layers": ["openembedded-core/meta","meta-yocto/meta-yocto-bsp","meta-yocto/meta-poky"], + "bb-layers-in-sources": ["openembedded-core/meta","meta-yocto/meta-yocto-bsp","meta-yocto/meta-poky"], "oe-fragments-one-of": { "machine": { "description": "Target machines",
lib/bb/tests/setup.py +12 -12
@@ -122,7 +122,7 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"])) { "name": "gizmo-env-passthrough", "description": "Gizmo configuration with environment-passthrough", - "bb-layers": ["layerC","layerD/meta-layer"], + "bb-layers-in-sources": ["layerC","layerD/meta-layer"], "oe-fragments": ["test-fragment-1"], "bb-env-passthrough-additions": [ "BUILD_ID",
@@ -138,20 +138,20 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"])) { "name": "gadget-notemplate", "description": "Gadget notemplate configuration", - "bb-layers": ["layerA","layerB/meta-layer"], + "bb-layers-in-sources": ["layerA","layerB/meta-layer"], "oe-fragments": ["test-fragment-1"] }, { "name": "gizmo-notemplate", "description": "Gizmo notemplate configuration", - "bb-layers": ["layerC","layerD/meta-layer"], + "bb-layers-in-sources": ["layerC","layerD/meta-layer"], "oe-fragments": ["test-fragment-2"] }, { - "name": "gizmo-notemplate-with-relative-layers", - "description": "Gizmo notemplate configuration using relative layers", - "bb-layers": ["layerC","layerD/meta-layer"], - "bb-layers-relative": ["layerE/meta-layer"], + "name": "gizmo-notemplate-with-thisdir-layers", + "description": "Gizmo notemplate configuration using thisdir layers", + "bb-layers-in-sources": ["layerC","layerD/meta-layer"], + "bb-layers-in-this-dir": ["layerE/meta-layer"], "oe-fragments": ["test-fragment-2"] } ]
@@ -204,14 +204,14 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"])) self.assertIn(bitbake_config["description"], f.read()) with open(os.path.join(bb_conf_path, 'bblayers.conf')) as f: bblayers = f.read() - for l in bitbake_config["bb-layers"]: + for l in bitbake_config["bb-layers-in-sources"]: self.assertIn(os.path.join(setuppath, "layers", l), bblayers) - for l in bitbake_config.get("bb-layers-relative") or []: - relative_layer = os.path.join( + for l in bitbake_config.get("bb-layers-in-this-dir") or []: + thisdir_layer = os.path.join( os.path.dirname(config_upstream["path"]), l, ) - self.assertIn(relative_layer, bblayers) + self.assertIn(thisdir_layer, bblayers) if 'oe-fragment' in bitbake_config.keys(): for f in bitbake_config["oe-fragments"]:
@@ -298,7 +298,7 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"])) 'gizmo-env-passthrough', 'gizmo-no-fragment', 'gadget-notemplate','gizmo-notemplate', - 'gizmo-notemplate-with-relative-layers')} + 'gizmo-notemplate-with-thisdir-layers')} } for cf, v in test_configurations.items(): for c in v['buildconfigs']:
Signature · 1 line
2.39.5
PATCH 2/2 bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'
From: Alexander Kanavin <[email protected]>
'layers' is not a good directory name, as it contains bitbake, or repositories that can contain multiple layers or no layers at all (e.g. yocto-docs).
While there's a chance, let's name it right: 'sources'. This aligns nicely with both the 'sources' property in the json configs, and oe-core's unpack dir which also 'sources'.
Then the setup directory contains:
- build (bitbake's build directory)
- config (bitbake-setup's configuration data under version control)
- sources (everything that was fetched and unpacked)
A patch to correct everything in yocto-autobuilder-helper will be sent shortly.
--- bin/bitbake-setup | 8 ++++---- lib/bb/tests/setup.py | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-)
bin/bitbake-setup +4 -4
@@ -461,7 +461,7 @@ def init_config(top_dir, settings, args, d): print("\nRun 'bitbake-setup init --non-interactive {}' to select this configuration non-interactively.\n".format(" ".join(upstream_config['non-interactive-cmdline-options']))) setupdir = os.path.join(os.path.abspath(top_dir), args.setup_dir_name or "{}-{}".format(upstream_config['name']," ".join(upstream_config['non-interactive-cmdline-options'][1:]).replace(" ","-").replace("/","_"))) - if os.path.exists(os.path.join(setupdir, "layers")): + if os.path.exists(os.path.join(setupdir, "sources")): print(f"Setup already initialized in:\n {setupdir}\nUse 'bitbake-setup status' to check if it needs to be updated, or 'bitbake-setup update' to perform the update.\nIf you would like to start over and re-initialize in this directory, remove it, and run 'bitbake-setup init' again.") return
@@ -475,7 +475,7 @@ def init_config(top_dir, settings, args, d): os.makedirs(setupdir, exist_ok=True) confdir = os.path.join(setupdir, "config") - layerdir = os.path.join(setupdir, "layers") + layerdir = os.path.join(setupdir, "sources") os.makedirs(confdir) os.makedirs(layerdir)
@@ -535,7 +535,7 @@ def build_status(top_dir, settings, args, d, update=False): setupdir = args.setup_dir confdir = os.path.join(setupdir, "config") - layerdir = os.path.join(setupdir, "layers") + layerdir = os.path.join(setupdir, "sources") current_upstream_config = json.load(open(os.path.join(confdir, "config-upstream.json")))
@@ -648,7 +648,7 @@ def install_buildtools(top_dir, settings, args, d): return shutil.rmtree(buildtools_install_dir) - install_buildtools = os.path.join(args.setup_dir, 'layers/oe-scripts/install-buildtools') + install_buildtools = os.path.join(args.setup_dir, 'sources/oe-scripts/install-buildtools') buildtools_download_dir = os.path.join(args.setup_dir, 'buildtools-downloads/{}'.format(time.strftime("%Y%m%d%H%M%S"))) print("Buildtools archive is downloaded into {} and its content installed into {}".format(buildtools_download_dir, buildtools_install_dir)) subprocess.check_call("{} -d {} --downloads-directory {}".format(install_buildtools, buildtools_install_dir, buildtools_download_dir), shell=True)
lib/bb/tests/setup.py +3 -3
@@ -181,7 +181,7 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"])) def check_setupdir_files(self, setuppath, test_file_content): with open(os.path.join(setuppath, 'config', "config-upstream.json")) as f: config_upstream = json.load(f) - with open(os.path.join(setuppath, 'layers', 'test-repo', 'test-file')) as f: + with open(os.path.join(setuppath, 'sources', 'test-repo', 'test-file')) as f: self.assertEqual(f.read(), test_file_content) bitbake_config = config_upstream["bitbake-config"] bb_build_path = os.path.join(setuppath, 'build')
@@ -205,7 +205,7 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"])) with open(os.path.join(bb_conf_path, 'bblayers.conf')) as f: bblayers = f.read() for l in bitbake_config["bb-layers-in-sources"]: - self.assertIn(os.path.join(setuppath, "layers", l), bblayers) + self.assertIn(os.path.join(setuppath, "sources", l), bblayers) for l in bitbake_config.get("bb-layers-in-this-dir") or []: thisdir_layer = os.path.join( os.path.dirname(config_upstream["path"]),
@@ -328,7 +328,7 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"])) setuppath = os.path.join(self.tempdir, 'bitbake-builds', 'test-config-1-{}'.format(c)) os.environ['BBPATH'] = os.path.join(setuppath, 'build') out = self.runbbsetup("status") - self.assertIn("Layer repository file://{} checked out into {}/layers/test-repo updated revision master from".format(self.testrepopath, setuppath), out[0]) + self.assertIn("Layer repository file://{} checked out into {}/sources/test-repo updated revision master from".format(self.testrepopath, setuppath), out[0]) out = self.runbbsetup("update") if c in ('gadget', 'gizmo'): self.assertIn("Existing bitbake configuration directory renamed to {}/build/conf-backup.".format(setuppath), out[0])
Signature · 1 line
2.39.5
Re: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'
Quoted 8 lines · Alexander Kanavin via lists.openembedded.org
From: Alexander Kanavin <[email protected]>
'layers' is not a good directory name, as it contains bitbake, or repositories that can contain multiple layers or no layers at all (e.g. yocto-docs).
While there's a chance, let's name it right: 'sources'. This aligns nicely with both the 'sources' property in the json configs, and oe-core's unpack dir which also 'sources'.
I'm afraid I strongly disagree with this change. Whilst "layers" isn't ideal, to me "sources" is worse since it implies source code and the general downloads. It is all too easy to think this is going to be a downloads cache directory of some kind, or where S might get unpacked, and so on.
From that standpoint "repositories" would be a more fitting description but I think "layers" is reasonable.
Quoted 5 lines
Then the setup directory contains:
- build (bitbake's build directory)
- config (bitbake-setup's configuration data under version control)
- sources (everything that was fetched and unpacked)
so the linux kernel?
I say that tongue in cheek but it illustrates my point, new users will not understand that.
Cheers,
Richard
RE: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'
Quoted 17 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie via lists.openembedded.org
Sent: den 7 november 2025 10:49
To: [email protected]; [email protected]
Cc: Alexander Kanavin <[email protected]>
Subject: Re: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'Quoted 8 lines · Alexander Kanavin via lists.openembedded.org
From: Alexander Kanavin <[email protected]>
'layers' is not a good directory name, as it contains bitbake, or repositories that can contain multiple layers or no layers at all (e.g. yocto-docs).
While there's a chance, let's name it right: 'sources'. This aligns nicely with both the 'sources' property in the json configs, and oe-core's unpack dir which also 'sources'.
Quoted 7 lines
I'm afraid I strongly disagree with this change. Whilst "layers" isn't ideal, to me "sources" is worse since it implies source code and the general downloads. It is all too easy to think this is going to be a downloads cache directory of some kind, or where S might get unpacked, and so on.
From that standpoint "repositories" would be a more fitting description
In our setup, I have called the corresponding directory 'repos'.
Quoted 1 line
but I think "layers" is reasonable.
Please don't call it 'layers'. To me, a directory called 'layers' should be used for individual layers, e.g., meta, meta-oe, meta-virtualization, etc, whereas this directory contains full repositories, which may each be a single layer, a collection of layers, or may contain something not layer-related at all, e.g., documentation. I have some ideas for the future, and can see a use case for a 'layers' directory, which would then typically contain symbolic links to the individual layer directories somewhere within the 'repos' directory.
Quoted 11 lines
Quoted 6 lines
Then the setup directory contains:
- build (bitbake's build directory)
- config (bitbake-setup's configuration data under version control)
- sources (everything that was fetched and unpacked)so the linux kernel?
I say that tongue in cheek but it illustrates my point, new users will not understand that.
And I think they will even less understand why a directory called 'layers' contains bitbake and the documentation. I believe 'repos' (or the longer 'repositories') would be the best option.
Quoted 4 lines
Cheers,
Richard
//Peter
Re: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'
Quoted 23 lines · Peter Kjellerstedt
Quoted 23 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie via lists.openembedded.org
Sent: den 7 november 2025 10:49
To: [email protected]; [email protected]
Cc: Alexander Kanavin <[email protected]>
Subject: Re: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'Quoted 8 lines · Alexander Kanavin via lists.openembedded.org
From: Alexander Kanavin <[email protected]>
'layers' is not a good directory name, as it contains bitbake, or repositories that can contain multiple layers or no layers at all (e.g. yocto-docs).
While there's a chance, let's name it right: 'sources'. This aligns nicely with both the 'sources' property in the json configs, and oe-core's unpack dir which also 'sources'.
I'm afraid I strongly disagree with this change. Whilst "layers" isn't ideal, to me "sources" is worse since it implies source code and the general downloads. It is all too easy to think this is going to be a downloads cache directory of some kind, or where S might get unpacked, and so on.
Quoted 7 lines
Quoted 1 line
From that standpoint "repositories" would be a more fitting description
In our setup, I have called the corresponding directory 'repos'.
Quoted 1 line
but I think "layers" is reasonable.
Please don't call it 'layers'.
It is already called layers and has been in the patches for months.
Quoted 8 lines
To me, a directory called 'layers' should
be used for individual layers, e.g., meta, meta-oe, meta-virtualization, etc, whereas this directory contains full repositories, which may each be a single layer, a collection of layers, or may contain something not layer-related at all, e.g., documentation. I have some ideas for the future, and can see a use case for a 'layers' directory, which would then typically contain symbolic links to the individual layer directories somewhere within the 'repos' directory.
At this point that ship has sailed.
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Then the setup directory contains:
- build (bitbake's build directory)
- config (bitbake-setup's configuration data under version control)
- sources (everything that was fetched and unpacked)
Quoted 8 lines
Quoted 4 lines
so the linux kernel?
I say that tongue in cheek but it illustrates my point, new users will not understand that.
And I think they will even less understand why a directory called 'layers' contains bitbake and the documentation. I believe 'repos' (or the longer 'repositories') would be the best option.
I disagree, quite strongly and I don't really want to open this for discussion. That should have happened months ago.
Cheers,
Richard
RE: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'
Quoted 68 lines
-----Original Message-----
From: Richard Purdie <[email protected]>
Sent: den 7 november 2025 12:44
To: Peter Kjellerstedt <[email protected]>; [email protected]; [email protected]
Cc: Alexander Kanavin <[email protected]>
Subject: Re: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'Quoted 23 lines · Peter Kjellerstedt
Quoted 23 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie via lists.openembedded.org
Sent: den 7 november 2025 10:49
To: [email protected]; [email protected]
Cc: Alexander Kanavin <[email protected]>
Subject: Re: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'Quoted 8 lines · Alexander Kanavin via lists.openembedded.org
From: Alexander Kanavin <[email protected]>
'layers' is not a good directory name, as it contains bitbake, or repositories that can contain multiple layers or no layers at all (e.g. yocto-docs).
While there's a chance, let's name it right: 'sources'. This aligns nicely with both the 'sources' property in the json configs, and oe-core's unpack dir which also 'sources'.
I'm afraid I strongly disagree with this change. Whilst "layers" isn't ideal, to me "sources" is worse since it implies source code and the general downloads. It is all too easy to think this is going to be a downloads cache directory of some kind, or where S might get unpacked, and so on.
Quoted 7 lines
Quoted 1 line
From that standpoint "repositories" would be a more fitting description
In our setup, I have called the corresponding directory 'repos'.
Quoted 1 line
but I think "layers" is reasonable.
Please don't call it 'layers'.
It is already called layers and has been in the patches for months.
Quoted 8 lines
To me, a directory called 'layers' should
be used for individual layers, e.g., meta, meta-oe, meta-virtualization, etc, whereas this directory contains full repositories, which may each be a single layer, a collection of layers, or may contain something not layer-related at all, e.g., documentation. I have some ideas for the future, and can see a use case for a 'layers' directory, which would then typically contain symbolic links to the individual layer directories somewhere within the 'repos' directory.At this point that ship has sailed.
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Then the setup directory contains:
- build (bitbake's build directory)
- config (bitbake-setup's configuration data under version control)
- sources (everything that was fetched and unpacked)Quoted 8 lines
Quoted 4 lines
so the linux kernel?
I say that tongue in cheek but it illustrates my point, new users will not understand that.
And I think they will even less understand why a directory called 'layers' contains bitbake and the documentation. I believe 'repos' (or the longer 'repositories') would be the best option.
Quoted 6 lines
I disagree, quite strongly and I don't really want to open this for discussion. That should have happened months ago.
Cheers,
Richard
Tbh, I was not surprised by your response. My reply was primarily in the context of _if_ we were going to rename the 'layers' directory now, as suggested by Alex, then I would much rather see it named 'repos' (or 'repositories') than 'sources'.
That said, unless I am mistaken, the 'layers' directory is not part of any API. It is created and maintained by bitbake-setup, and if it is renamed, then that should only affect bitbake-setup. It is not really any different than renaming sources-unpack to sources. Ok, that may be a slight exaggeration as it is more visible to the user, but at least I don't think the current name is something that should be seen as set in stone.
And while your are quite right that it would have been better if this discussion had happened months ago, there is still room for improving things, after the Whinlatter release.
//Peter
Re: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'
Quoted 118 lines · Peter Kjellerstedt via lists.openembedded.org
Quoted 96 lines
-----Original Message-----
From: Richard Purdie <[email protected]>
Sent: den 7 november 2025 12:44
To: Peter Kjellerstedt <[email protected]>; [email protected]; [email protected]
Cc: Alexander Kanavin <[email protected]>
Subject: Re: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'Quoted 37 lines · Peter Kjellerstedt
Quoted 37 lines
-----Original Message-----
From:
[email protected] <[email protected]Quoted 1 line
On Behalf Of Richard Purdie via lists.openembedded.org
Sent: den 7 november 2025 10:49
To: [email protected]; [email protected]
Cc: Alexander Kanavin <[email protected]>
Subject: Re: [bitbake-devel] [PATCH 2/2] bitbake-setup: unpack sources (e.g. layers and bitbake) into 'sources' rather than 'layers'Quoted 7 lines · Alexander Kanavin via lists.openembedded.org
From: Alexander Kanavin <[email protected]>
'layers' is not a good directory name, as it contains bitbake, or repositories
that can contain multiple layers or no layers at all (e.g. yocto-docs).Quoted 5 lines
While there's a chance, let's name it right: 'sources'. This aligns nicely
with both the 'sources' property in the json configs, and oe- core's unpack dir
which also 'sources'.I'm afraid I strongly disagree with this change. Whilst "layers" isn't
ideal, to me "sources" is worse since it implies source code and the
general downloads. It is all too easy to think this is going to be a
downloads cache directory of some kind, or where S might get unpacked,
and so on.Quoted 8 lines
Quoted 2 lines
From that standpoint "repositories" would be a more fitting description
In our setup, I have called the corresponding directory 'repos'.
Quoted 1 line
but I think "layers" is reasonable.
Please don't call it 'layers'.
It is already called layers and has been in the patches for months.
Quoted 6 lines
To me, a directory called 'layers' should
be used for individual layers, e.g., meta, meta-oe, meta- virtualization,
etc, whereas this directory contains full repositories, which may each be
a single layer, a collection of layers, or may contain somethingQuoted 8 lines
not
layer-related at all, e.g., documentation. I have some ideas for the
future, and can see a use case for a 'layers' directory, which would then
typically contain symbolic links to the individual layer directories
somewhere within the 'repos' directory.At this point that ship has sailed.
Quoted 13 lines
Quoted 7 lines
Quoted 6 lines
Then the setup directory contains:
- build (bitbake's build directory)
- config (bitbake-setup's configuration data under version control)
- sources (everything that was fetched and unpacked)Quoted 5 lines
so the linux kernel?
I say that tongue in cheek but it illustrates my point, new users will
not understand that.Quoted 5 lines
And I think they will even less understand why a directory called 'layers'
contains bitbake and the documentation. I believe 'repos' (or the longer
'repositories') would be the best option.Quoted 6 lines
I disagree, quite strongly and I don't really want to open this for discussion. That should have happened months ago.
Cheers,
Richard
Tbh, I was not surprised by your response. My reply was primarily in the context of _if_ we were going to rename the 'layers' directory now,
as suggested by Alex, then I would much rather see it named 'repos' (or
'repositories') than 'sources'.That said, unless I am mistaken, the 'layers' directory is not part of any API. It is created and maintained by bitbake-setup, and if it is renamed, then that should only affect bitbake-setup. It is not really any different than renaming sources-unpack to sources. Ok, that may be a slight exaggeration as it is more visible to the user, but at least I don't think the current name is something that should be seen as set in stone.
Quoted 3 lines
And while your are quite right that it would have been better if this discussion had happened months ago, there is still room for improving things, after the Whinlatter release.
Perhaps. The bigger picture of these changes are testing the limits of my sanity as things are though so I don't really want to do this now as I don't think there is a big issue there.
Alex's change to autobuilder-helper also showed just how invasive that change was. Yes, it is 'only' CI, so fewer people notice/care and it only breaks people maintaining CI but it did mean a lot of change there.
We have bigger problems right now.
Cheers,
Richard