Mailinglist Archive: yast-devel (85 mails)

< Previous Next >
Re: [yast-devel] Changeset 39159 adds XML representation to YCP
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Wed, 04 Jul 2007 11:59:41 +0200
  • Message-id: <468B6F8D.4000605@xxxxxxx>
Klaus Kaempf wrote:
> As part of hackweek project
> http://idea.opensuse.org/content/ideas/ycp-to-ruby-translator
> I just committed changeset #39159 to yast-core on svn trunk.
> 
> This changeset adds toXml() methods to all YCP and YCode classes,
> giving all ycp code and data structures a representation as XML.

Klaus, does it also support toYCP :)? See the attached file.

During the HackWeek I met with Benji and we've decided to use his XML
format for 'some other' Installation/Repository handling. It would be
nice to have both toXml and toYCP.

Lukas

-- 

Lukas Ocilka, YaST Developer                     (xn--luk-gla45d)
-----------------------------------------------------------------
SUSE LINUX, s. r. o., Lihovarska 1060/12, Praha 9, Czech Republic
<metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install";>
    <group distversion="openSUSE Factory">

        <repositories>
            <repository recommended="true" format="yast">
                <name>Main Repository</name>
                <name lang="cs_CZ">Hlavni Zdroj</name>

                <summary lang="en_GB">This is the main openSUSE catalogue</summary>
                <summary lang="cs_CZ">Toto je hlavni instalacni katalog pro openSUSE</summary>
                <summary>This is the main openSUSE catalog</summary>

                <description lang="en_GB">en_GB blah blah blah</description>    
                <description>This is the main openSUSE package repository containing blah blah blah</description>
                <description lang="cs_CZ">cs_CZ blablabla</description>

                <url>http://download.opensuse.org/distribution/SL-OSS-factory/inst-source</url>
                <url score="5" location="ie">http://ftp.heanet.ie/mirrors/ftp.opensuse.org/opensuse/distribution/SL-OSS-factory/inst-source</url>
            </repository>
        </repositories>

        <!--
        <products>
            <product>
                <name>MyFavouritePackage</name>
                <summary>This is my favourite package</summary>
                <summary lang="en_US">This is my favorite package</summary>
                <description>Blah blah blah</description>
            </product>

            <product type="pattern">
                <name>SomePattern</name>
                <summary>Demo other resolveable</summary>
                <description>Blah blah blah</description>
            </product>
        </products>
        -->

    </group>
</metapackage>
< Previous Next >
Follow Ups
References