181. OneClickInstallStandard

Module for parsing One Click Install Standard http://en.opensuse.org/Standards/One_Click_Install

181.1. Authors

  • Lukas Ocilka <locilka@suse.cz>

181.2. Summary of Module Globals

List of Global Functions

  • GetRepositoriesFromXML - Converts XML file to a list of maps with all repositories described in the XML content.

List of Global Variables

    181.3. Global Functions

    181.3.1. GetRepositoriesFromXML

    Converts XML file to a list of maps with all repositories described in the XML content.

    Function parameters

    • string filename

    Return value

    • list <map <string, any> > - <map, <string, any> >

    $[
             "distversion" : "openSUSE Factory",
             "url" : "full url of the repository (http://.../)",
             "format" : "yast",
             "recommended" : true,
             "description" : "repository description",
             "localized_description" : $[
                 "en_GB" : "repository description (localized to en_GB)",
                 ...
             ],
             "summary" : "repository summary",
             "localized_summary" : $[
                 "en_GB" : "repository summary (localized to en_GB)",
                 ...
             ],
             "name" : "repository name",
             "localized_name" : $[
                 "en_GB" : "repository name (localized to en_GB)",
                 ...
             ],
     ]

    181.4. Global Variables

    181.5. Module Requirements

    181.5.1. Module Imports

    • FileUtils

    181.5.2. Module Includes