Allows deriving from multiple OS
This refers to the FixMe
in the following code:
downloader.vala:
public static string fetch_os_logo_url (Osinfo.Os os) {
...
...
while (derived.get_length () > 0 && logo_url == null) {
// FIXME: Does Osinfo allows deriving from multiple OSs?
}
}
Yes it appears that osinfo allows it. Below is the schema from osinfo-db
:
data/schema/osinfo.rng.in:
<define name="product-rel">
<interleave>
<zeroOrMore>
<element name="upgrades">
<attribute name='id'>
<ref name="url"/>
</attribute>
</element>
</zeroOrMore>
<zeroOrMore>
<element name="derives-from">
<attribute name='id'>
<ref name="url"/>
</attribute>
</element>
</zeroOrMore>
<optional>
<element name="clones">
<attribute name='id'>
<ref name="url"/>
</attribute>
</element>
</optional>
</interleave>
</define>
Refer following files in osinfo-db
.
data/os/microsoft.com/win-xp.xml.in
data/os/univention.de/ucs-4.1.xml.in
data/os/univention.de/ucs-4.2.xml.in
data/os/univention.de/ucs-4.3.xml.in
data/os/univention.de/ucs-4.4.xml.in
data/os/univention.de/ucs-5.0.xml.in