[Libosinfo] [libosinfo PATCH 5/8] os: add OSINFO_RELEASE_STATUS_ROLLING

Pino Toscano ptoscano at redhat.com
Fri Feb 15 11:48:25 UTC 2019


Add the OSINFO_RELEASE_STATUS_ROLLING value to the OsinfoReleaseStatus
enum, to track the new "rolling" release-status available in the osinfo
schema.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
 osinfo/osinfo_os.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/osinfo/osinfo_os.h b/osinfo/osinfo_os.h
index 5e677e1..cbebd59 100644
--- a/osinfo/osinfo_os.h
+++ b/osinfo/osinfo_os.h
@@ -91,11 +91,14 @@ struct _OsinfoOsClass
  * development snapshots of GNOME and nightly build ISOs of Fedora etc.
  * @OSINFO_RELEASE_STATUS_PRERELEASE: A pre-release. For example, alpha and
  * beta pre-releases of Fedora etc.
+ * @OSINFO_RELEASE_STATUS_ROLLING: A rolling version of an OS and thus with no
+ * actual releases. For example, Gentoo, Arch Linux, etc.
  */
 typedef enum {
     OSINFO_RELEASE_STATUS_RELEASED,
     OSINFO_RELEASE_STATUS_SNAPSHOT,
-    OSINFO_RELEASE_STATUS_PRERELEASE
+    OSINFO_RELEASE_STATUS_PRERELEASE,
+    OSINFO_RELEASE_STATUS_ROLLING
 } OsinfoReleaseStatus;
 
 GType osinfo_os_get_type(void);
-- 
2.20.1




More information about the Libosinfo mailing list