[osinfo-db PATCH 01/18] schema: Add "deprecated" attribute to device element

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

 



As devices are inherited whenever a new entry "derives-from" or "clones"
an existing entry, we have to have a way to express that the device from
the previous entry is deprecated (mind that deprecated devices will
still be present in the list of devices, although should not be used).

https://gitlab.com/libosinfo/osinfo-db/issues/13

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 data/schema/osinfo.rng.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/data/schema/osinfo.rng.in b/data/schema/osinfo.rng.in
index 6693391..214c195 100644
--- a/data/schema/osinfo.rng.in
+++ b/data/schema/osinfo.rng.in
@@ -247,6 +247,11 @@
           <attribute name='id'>
             <ref name='url'/>
           </attribute>
+          <optional>
+            <attribute name='deprecated'>
+              <ref name='bool'/>
+            </attribute>
+          </optional>
           <optional>
             <element name='driver'>
               <text/>
-- 
2.19.1

_______________________________________________
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