yast2-installation |
clients/inst_extrasources.ycp |
Automatically register software repositories from content file | |
|
|
This module has an unstable interface. |
Imports
Local Functions |
local
GetURLsToRegister (list <string> registered)
->
list <map>
Returns list of maps of repositories to register. See bnc #381360.
- Parameters:
-
registered URLs of already registered repositories (they will be ignored to not register the same repository one more)
- Return value:
-
of URLs to register
local
RegisterRepos (list <map> url_list)
->
list <integer>
Register the installation sources in offline mode (no network connection required). The repository metadata will be downloaded by sw_single (or another yast module) when the repostory is enabled
- Parameters:
-
url_list
- Return value:
-
list of created source IDs
local
RegisteredUrls ()
->
list<string>
Returns list of already registered repositories.
- Return value:
-
of registered repositories