Skip to contentSkip to conversation

Plan to better support non-LTS branches

PATCH Superseded Ryan Eatmon 2 participants 8 messages Apr 17, 2024 1 message not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

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
#1 lore raw

PATCH 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
new file mode 100644
index 00000000..4b7bd065
@@ -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
#2 lore raw

PATCH 2/3 TODO: Add TODO list

In reply to Ryan Eatmon

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.

---
 TODO | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 TODO
TODO new file +9 -0
new file mode 100644
index 00000000..e1aeba53
@@ -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
#3 lore raw

PATCH 3/3 conf/layer.conf: Update LAYERSERIES_COMPAT

In reply to Ryan Eatmon

Update LAYERSERIES_COMPAT to remove EOL branches and add future styhead.

---
 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
index 502e355f..03cbd7ea 100644
@@ -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
index a05dbe5f..a8c68343 100644
@@ -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 = "scarthgap styhead"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
 
Signature · 1 line
2.17.1
#4 lore raw

Re: [meta-ti][master][PATCH 3/3] conf/layer.conf: Update LAYERSERIES_COMPAT

Quoted 26 lines · Ryan Eatmon via lists.yoctoproject.org

Update LAYERSERIES_COMPAT to remove EOL branches and add future styhead.

---
 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
index 502e355f..03cbd7ea 100644
@@ -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 +0 -0
index a05dbe5f..a8c68343 100644

meta-ti-extras/conf/layer.conf BBFILE_COLLECTIONS += "meta-ti-extras" · line 12

Quoted 5 lines
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 = "scarthgap styhead"

nanbield is missing here?

Quoted 4 lines
meta-ti-extras/conf/layer.conf +0 -0
 LICENSE_PATH += "${LAYERDIR}/licenses"
 
Signature · 1 line
2.17.1
#5 lore raw

Re: [meta-ti][master][PATCH 3/3] conf/layer.conf: Update LAYERSERIES_COMPAT

Quoted 30 lines · Denys Dmytriyenko
Quoted 29 lines · Ryan Eatmon via lists.yoctoproject.org

Update LAYERSERIES_COMPAT to remove EOL branches and add future styhead.

---
  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
index 502e355f..03cbd7ea 100644
@@ -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 +0 -0
index a05dbe5f..a8c68343 100644
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-extras"
  BBFILE_PATTERN_meta-ti-extras := "^${LAYERDIR}/"
  BBFILE_PRIORITY_meta-ti-extras = "6"
 
Quoted 4 lines

meta-ti-extras/conf/layer.conf BBFILE_COLLECTIONS += "meta-ti-extras" · line 12

Quoted 2 lines
meta-ti-extras/conf/layer.conf +1 -1
-LAYERSERIES_COMPAT_meta-ti-extras = "kirkstone langdale mickledore nanbield scarthgap"
+LAYERSERIES_COMPAT_meta-ti-extras = "scarthgap styhead"

nanbield is missing here?

Yes it is... but I swear it wasn't... I did make the change... I'll send a v2.

Quoted 5 lines
Quoted 5 lines
meta-ti-extras/conf/layer.conf +0 -0
  LICENSE_PATH += "${LAYERDIR}/licenses"
 
Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw

Re: [meta-ti][master][PATCH 3/3] conf/layer.conf: Update LAYERSERIES_COMPAT

Quoted 36 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 24 lines · Denys Dmytriyenko
Quoted 23 lines · Ryan Eatmon via lists.yoctoproject.org

Update LAYERSERIES_COMPAT to remove EOL branches and add future styhead.

---
  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 +0 -0
index 502e355f..03cbd7ea 100644
@@ -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 +0 -0
index a05dbe5f..a8c68343 100644
Quoted 8 lines
Quoted 6 lines
meta-ti-extras/conf/layer.conf +0 -0
@@ -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 = "scarthgap styhead"

nanbield is missing here?

Quoted 1 line

Yes it is... but I swear it wasn't...  I did make the change...  I'll send a v2.

Ah crud. I did one of the files and not both of them. Good catch.

Quoted 16 lines
Quoted 5 lines
Quoted 5 lines

  LICENSE_PATH += "${LAYERDIR}/licenses"

Signature · 1 line
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17581): https://lists.yoctoproject.org/g/meta-ti/message/17581
Mute This Topic: https://lists.yoctoproject.org/mt/105580623/6551054
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#8 lore raw
In reply to Ryan Eatmon

Thanks for doing this! This is pretty much exactly as we discussed yesterday, so besides a minor comment/issue in patch #3, you have my Ack for the series.

Quoted 33 lines · Ryan Eatmon via lists.yoctoproject.org

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

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