Skip to contentSkip to conversation

Bump layer version

PATCH In review Joshua Watt 3 participants 3 messages May 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bump layer version

The commits 910ffaf5be ("pyelftools: Import from meta-python") and a96f815c53 ("pycryptodome: Import from meta-python") moved recipes from meta-python to oe-core. In order for this to be communicated with users, bump the LAYERVERSION so that meta-python can key of it in its LAYERDEPENDS.

---
 meta/conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/layer.conf +1 -1
index da93d64e0a..098ef12ac6 100644
@@ -11,7 +11,7 @@ LAYERSERIES_CORENAMES = "dunfell gatesgarth"
 
 # This should only be incremented on significant changes that will
 # cause compatibility issues with other layers
-LAYERVERSION_core = "11"
+LAYERVERSION_core = "12"
 LAYERSERIES_COMPAT_core = "gatesgarth"
 
 BBLAYERS_LAYERINDEX_NAME_core = "openembedded-core"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 18 lines · Joshua Watt

The commits 910ffaf5be ("pyelftools: Import from meta-python") and a96f815c53 ("pycryptodome: Import from meta-python") moved recipes from
meta-python to oe-core. In order for this to be communicated with users,
bump the LAYERVERSION so that meta-python can key of it in its LAYERDEPENDS.

---
 meta/conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/layer.conf +0 -0
index da93d64e0a..098ef12ac6 100644

meta/conf/layer.conf LAYERSERIES_CORENAMES = "dunfell gatesgarth" · line 15

Quoted 6 lines
meta/conf/layer.conf +1 -1
@@ -11,7 +11,7 @@ LAYERSERIES_CORENAMES = "dunfell gatesgarth"
 
 # This should only be incremented on significant changes that will
 # cause compatibility issues with other layers
-LAYERVERSION_core = "11"
+LAYERVERSION_core = "12"
 LAYERSERIES_COMPAT_core = "gatesgarth"

I'm trying to work out if/where this helps. It can certainly help the case where meta-oe is updated and core isn't as you can get an error. Where you perhaps don't get one is where you update core but not meta- oe.

Its almost as if you want core to error if meta-oe is too old too.

Cheers,

Richard

#2 lore raw

✗ patchtest: failure for Bump layer version

In reply to Joshua Watt

== Series Details ==

Series: Bump layer version
Revision: 1
URL : https://patchwork.openembedded.org/series/24255/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Patch            Bump layer version
 Issue             Shortlog does not follow expected format [test_shortlog_format] 
  Suggested fix    Commit shortlog (first line of commit message) should follow the format "<target>: <summary>"

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe