Plan to better support non-LTS branches
v2 cover Plan to better support non-LTS branches
Since we do not directly support the non-LTS branches, customers are forced to rely on master for projects that make use of those branches. We are not going to start creating branches for all of the non-LTS releases, but we can do a better job of having master continue to support the branches that are still supported by the Yocto project [1].
Recently we added and removed a patch to support the uboot mainline that required the python3-yamllint package. We were not thinking about customers trying to use the uboot mainline who might be currently locked into nanbield and not master.
This series seeks to restore that reverted patch and create a system by which we can schedule the removal of these temporary patches. Additionaly it updates the compatible layer list to those with active support by the Yocto project [1].
[1] https://wiki.yoctoproject.org/wiki/Releases
v2: Add missing nanbield in meta-ti-extras/conf/layer.conf
Ryan Eatmon (3):
python3-yamllint: Temporarily carry this new recipe
TODO: Add TODO list
conf/layer.conf: Update LAYERSERIES_COMPAT
TODO | 9 +++++++++ meta-ti-bsp/conf/layer.conf | 2 +- meta-ti-extras/conf/layer.conf | 2 +- .../python-yamllint/python3-yamllint_1.33.0.bb | 15 +++++++++++++++ 4 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 TODO create mode 100644 meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb
Signature · 1 line
2.17.1
PATCH v2 1/3 python3-yamllint: Temporarily carry this new recipe
Add recipe for yamllint. There is an upcoming change in u-boot where the binman tool is now configured to call yamllint to verify the configs during compile time.
There was a previous patch a year ago from Trevor Woerner that never made it into oe-core. This patch is a reworking of his patch but pointing to a newer version.
We are waiting on this patch to be accepted in oe-core. Once it is available on master we will remove this recipe to avoid conflict.
--- .../python-yamllint/python3-yamllint_1.33.0.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb
meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "A linter for YAML files." +HOMEPAGE = "https://github.com/adrienverge/yamllint" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "yamllint" + +SRC_URI[sha256sum] = "2dceab9ef2d99518a2fcf4ffc964d44250ac4459be1ba3ca315118e4a1a81f7d" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += "${PYTHON_PN}-pyyaml" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Re: [meta-ti][master][PATCH v2 1/3] python3-yamllint: Temporarily carry this new recipe
Quoted 4 lines · Ryan Eatmon via lists.yoctoproject.org
Add recipe for yamllint. There is an upcoming change in u-boot where the binman tool is now configured to call yamllint to verify the configs during compile time.
Quoted 8 lines
There was a previous patch a year ago from Trevor Woerner that never made it into oe-core. This patch is a reworking of his patch but pointing to a newer version.
We are waiting on this patch to be accepted in oe-core. Once it is available on master we will remove this recipe to avoid conflict.
Signed-off-by Ryan Eatmon <[email protected]>
Quoted 28 lines
--- .../python-yamllint/python3-yamllint_1.33.0.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bbmeta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb new file +15
-0@@ -0,0 +1,15 @@ +SUMMARY = "A linter for YAML files." +HOMEPAGE = "https://github.com/adrienverge/yamllint" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "yamllint" + +SRC_URI[sha256sum] = "2dceab9ef2d99518a2fcf4ffc964d44250ac4459be1ba3ca315118e4a1a81f7d" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += "${PYTHON_PN}-pyyaml" + +BBCLASSEXTEND = "native nativesdk"Signature · 1 line
2.17.1
PATCH v2 2/3 TODO: Add TODO list
In reply to Ryan EatmonIn an attempt to try and better support non-LTS branches, we need to do a better job at not removing temporary patches too soon from master. This TODO file should allow us to better schedule the time when the patches can be safely removed.
--- TODO | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 TODO
TODO new file +9 -0
@@ -0,0 +1,9 @@ + +This TODO list allows us to track certain actions and lists of patches that +need to be removed at a future date. + + +May 2024 - nanbield EOL +----------------------- + - Remove python3-yamllint: Temporarily carry this new recipe +
Signature · 1 line
2.17.1
Re: [meta-ti][master][PATCH v2 2/3] TODO: Add TODO list
Quoted 6 lines · Ryan Eatmon via lists.yoctoproject.org
In an attempt to try and better support non-LTS branches, we need to do a better job at not removing temporary patches too soon from master. This TODO file should allow us to better schedule the time when the patches can be safely removed.
Signed-off-by Ryan Eatmon <[email protected]>
Quoted 22 lines
--- TODO | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 TODOTODO new file +9
-0@@ -0,0 +1,9 @@ + +This TODO list allows us to track certain actions and lists of patches that +need to be removed at a future date. + + +May 2024 - nanbield EOL +----------------------- + - Remove python3-yamllint: Temporarily carry this new recipe +Signature · 1 line
2.17.1
PATCH v2 3/3 conf/layer.conf: Update LAYERSERIES_COMPAT
In reply to Ryan EatmonUpdate LAYERSERIES_COMPAT to remove EOL branches and add future styhead.
---
v2: Add missing nanbield in meta-ti-extras/conf/layer.conf
meta-ti-bsp/conf/layer.conf | 2 +- meta-ti-extras/conf/layer.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta-ti-bsp/conf/layer.conf +1 -1
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-bsp" BBFILE_PATTERN_meta-ti-bsp := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-ti-bsp = "6" -LAYERSERIES_COMPAT_meta-ti-bsp = "kirkstone langdale mickledore nanbield scarthgap" +LAYERSERIES_COMPAT_meta-ti-bsp = "nanbield scarthgap styhead" LICENSE_PATH += "${LAYERDIR}/licenses"
meta-ti-extras/conf/layer.conf +1 -1
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-extras" BBFILE_PATTERN_meta-ti-extras := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-ti-extras = "6" -LAYERSERIES_COMPAT_meta-ti-extras = "kirkstone langdale mickledore nanbield scarthgap" +LAYERSERIES_COMPAT_meta-ti-extras = "nanbield scarthgap styhead" LICENSE_PATH += "${LAYERDIR}/licenses"
Signature · 1 line
2.17.1
Re: [meta-ti][master][PATCH v2 3/3] conf/layer.conf: Update LAYERSERIES_COMPAT
Quoted 3 lines · Ryan Eatmon via lists.yoctoproject.org
Update
LAYERSERIES_COMPATto remove EOL branches and add future styhead.Signed-off-by Ryan Eatmon <[email protected]>
Quoted 35 lines
---
v2: Add missing nanbield inmeta-ti-extras/conf/layer.confmeta-ti-bsp/conf/layer.conf | 2 +- meta-ti-extras/conf/layer.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)meta-ti-bsp/conf/layer.conf +1
-1@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-bsp" BBFILE_PATTERN_meta-ti-bsp := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-ti-bsp = "6" -LAYERSERIES_COMPAT_meta-ti-bsp = "kirkstone langdale mickledore nanbield scarthgap" +LAYERSERIES_COMPAT_meta-ti-bsp = "nanbield scarthgap styhead" LICENSE_PATH += "${LAYERDIR}/licenses"meta-ti-extras/conf/layer.conf +1
-1@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-extras" BBFILE_PATTERN_meta-ti-extras := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-ti-extras = "6" -LAYERSERIES_COMPAT_meta-ti-extras = "kirkstone langdale mickledore nanbield scarthgap" +LAYERSERIES_COMPAT_meta-ti-extras = "nanbield scarthgap styhead" LICENSE_PATH += "${LAYERDIR}/licenses"Signature · 1 line
2.17.1