YaST2 Developers Documentation: OneClickInstallStandard.pm

OneClickInstallStandard.pm

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

This module has an unstable interface.

Imports

  • FileUtils

Structures

Global Functions

global GetRepositoriesFromXML (string filename) -> list <map <string, any> >

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

Structure $[

         "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)",
             ...
         ],
 ]
Parameters:
filename
Return value:
>