[Libosinfo] [osinfo-db PATCH v2 01/15] schema: Add "removed" attribute to devices element

Fabiano Fidêncio fidencio at redhat.com
Mon Nov 12 10:30:48 UTC 2018


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 now removed in the current one.

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

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 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..d2e98ca 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='removed'>
+              <ref name='bool'/>
+            </attribute>
+          </optional>
           <optional>
             <element name='driver'>
               <text/>
-- 
2.19.1




More information about the Libosinfo mailing list