[OE-core] [RFC] [PATCH] Provide users with project support status

Ruslan Bilovol ruslan.bilovol at gmail.com
Fri Nov 1 18:46:38 UTC 2019


When OE/Yocto project goes through its lifecycle, there
is no any way to identify where it is other than go
to a Yocto wiki and look at current status.

Moreover, change from maintained to community maintained
end EOLing happens silently so users not always know
about that.

This patch aims to remove this gap. The status should
be changed so users can clearly identify at which point
it is now:
 Development -> Stable -> Community supported -> End Of Life

It is now printed during the build.

It will be also captured in the git history and
may be discussed over mailing lists during such a patch
reviews.

In the future this can be extended also to LTS when
we will have it

Signed-off-by: Ruslan Bilovol <ruslan.bilovol at gmail.com>
---
 meta/conf/bitbake.conf       | 5 ++++-
 meta/conf/documentation.conf | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 263d8aea4f..795dd3d5fb 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -6,6 +6,9 @@
 # files may also need changes to keep in sync.
 #
 
+# Project support level
+SUPPORT_LEVEL = "Development"
+
 # Used by multilib code to change the library paths
 baselib = "${BASELIB}"
 baselib[vardepvalue] = "${baselib}"
@@ -701,7 +704,7 @@ PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
 
 # Pre-build configuration output
 BUILDCFG_HEADER = "Build Configuration:"
-BUILDCFG_VARS = "BB_VERSION BUILD_SYS NATIVELSBSTRING TARGET_SYS MACHINE DISTRO DISTRO_VERSION TUNE_FEATURES TARGET_FPU"
+BUILDCFG_VARS = "SUPPORT_LEVEL BB_VERSION BUILD_SYS NATIVELSBSTRING TARGET_SYS MACHINE DISTRO DISTRO_VERSION TUNE_FEATURES TARGET_FPU"
 BUILDCFG_VARS[type] = "list"
 BUILDCFG_NEEDEDVARS = "TARGET_ARCH TARGET_OS"
 BUILDCFG_NEEDEDVARS[type] = "list"
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf
index 550df20b0f..3efef4b18b 100644
--- a/meta/conf/documentation.conf
+++ b/meta/conf/documentation.conf
@@ -392,6 +392,7 @@ STAGING_KERNEL_DIR[doc] = "The directory with kernel headers that are required t
 STAMP[doc] = "Specifies the base path used to create recipe stamp files. The path to an actual stamp file is constructed by evaluating this string and then appending additional information."
 STAMPS_DIR[doc] = "Specifies the base directory in which the OpenEmbedded build system places stamps."
 SUMMARY[doc] = "The short (80 characters or less) summary of the binary package for packaging systems such as opkg, rpm or dpkg. By default, SUMMARY is used to define the DESCRIPTION variable if DESCRIPTION is not set in the recipe."
+SUPPORT_LEVEL[doc] = "Specifies the project support level which can be one of 'Development', 'Stable', 'Community supported' or 'End Of Life'."
 SVNDIR[doc] = "The directory where Subversion checkouts will be stored."
 SYSLINUX_DEFAULT_CONSOLE[doc] = "Specifies the kernel boot default console."
 SYSLINUX_OPTS[doc] = "Lists additional options to add to the syslinux file."
-- 
2.17.1



More information about the Openembedded-core mailing list