[elbe-devel] [PATCH v3 3/7] schema: Allow free-form text for suite-proj

Bastian Germann bage at linutronix.de
Fri Mar 3 14:37:10 CET 2023


The current approach to validate the project's suite is not feasible as
there are many Debian-based distributions that we do not list.
While we do not support any distribution other than Debian, we should not
keep users from running Elbe for other distributions.

Also, this gets rid of claiming support of unsupported release, e.g.,
jessie, which has a too old apt version.

This partly reverts 04d0bbbec9
("Add schema definition for initvm/project suite restriction").

Signed-off-by: Bastian Germann <bage at linutronix.de>
---
 schema/dbsfed.xsd | 32 +-------------------------------
 1 file changed, 1 insertion(+), 31 deletions(-)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 72bca5a3d6..cc27d275f6 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -519,7 +519,7 @@ SPDX-FileCopyrightText: Linutronix GmbH
           </documentation>
         </annotation>
       </element>
-      <element name="suite" type="rfs:suite-proj">
+      <element name="suite" type="rfs:string">
         <annotation>
           <documentation>
             name of the debian suite that should be used to generate the
@@ -680,36 +680,6 @@ SPDX-FileCopyrightText: Linutronix GmbH
     </restriction>
   </simpleType>
 
-  <simpleType name="suite-proj">
-    <restriction base="string">
-      <enumeration value="sid" />
-      <enumeration value="bookworm" />
-      <enumeration value="bullseye" />
-      <enumeration value="buster" />
-      <enumeration value="stretch" />
-      <enumeration value="jessie" />
-
-      <enumeration value="jammy" />
-      <enumeration value="groovy" />
-      <enumeration value="focal" />
-      <enumeration value="cosmic" />
-      <enumeration value="bionic" />
-      <enumeration value="artful" />
-      <enumeration value="zesty" />
-      <enumeration value="yakkety" />
-      <enumeration value="xenial" />
-      <enumeration value="wily" />
-      <enumeration value="vivid" />
-      <enumeration value="utopic" />
-      <enumeration value="trusty" />
-      <enumeration value="saucy" />
-      <enumeration value="raring" />
-      <enumeration value="quantal" />
-      <enumeration value="precise" />
-      <enumeration value="lucid" />
-    </restriction>
-  </simpleType>
-
   <complexType name="preference">
     <annotation>
       <documentation>
-- 
2.39.2



More information about the elbe-devel mailing list