[osinfo-db][PATCH] opensuse-unknown: Adjust the volume-id regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The regex to match unknown openSUSE prereleases is becoming
bigger and harder to read.

Basically, what it's doing is:

(15\.[1-9]|(1[6-9]|[23]|[5-9])[0-9]\.[0-9]|4[3-9]\.[0-9])
---------   -----  ----------------   ---- -------------
    |         |         |                |       |
    v         v         v                |       v
  15.1+      16     20, 30, 50 - 90      v     43.0+
                                  .0, .1, ..., .9

I'm desconsidering both the 13.x series or older and 42.x series as
those are not going to have new releases anymore.

Also, (DVD|NET|Kubic) was introduced as this is the naming chosen for
DVD or NET installation or whether it's a Kubic  DVD installation.

Signed-off-by: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx>
---
 data/os/opensuse.org/opensuse-unknown.xml.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/os/opensuse.org/opensuse-unknown.xml.in b/data/os/opensuse.org/opensuse-unknown.xml.in
index 06ae67a..6a8a3b2 100644
--- a/data/os/opensuse.org/opensuse-unknown.xml.in
+++ b/data/os/opensuse.org/opensuse-unknown.xml.in
@@ -14,7 +14,7 @@
 
     <media arch="x86_64">
       <iso>
-        <volume-id>openSUSE-Leap-([1-9][4-9]\.[0-9]+|13\.[3-9])-DVD-x86_64</volume-id>
+        <volume-id>openSUSE-Leap-(15\.[1-9]|(1[6-9]|[23]|[5-9])[0-9]\.[0-9]|4[3-9]\.[0-9])-(DVD|NET|Kubic)-x86_64*</volume-id>
         <system-id>LINUX</system-id>
         <publisher-id>SUSE LINUX GmbH</publisher-id>
       </iso>
-- 
2.14.3

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux