186. OneClickInstallStandard

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

186.1. 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

    186.2. Global Functions

    186.2.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)",
                 ...
             ],
             "mirrors" : [
                 $[
                     "url" : "full url of the mirror (http://.../)",
                     "location" : "?",
                     "score" : number,
                 ]
                 ...
             ]
     ]

    186.3. Global Variables

    186.4. Module Requirements

    186.4.1. Module Imports

    • FileUtils

    186.4.2. Module Includes