distro: bugfixes: use get_kupfer_url() in the right place to resolve branch placeholder, default some values

This commit is contained in:
InsanePrawn 2023-03-27 18:48:23 +02:00
parent f3c53e449b
commit e7fbcb6fbe
2 changed files with 5 additions and 2 deletions

View file

@ -135,6 +135,8 @@ BASE_DISTRO_DEFAULTS = {
}
REPOS_CONFIG_DEFAULT = ReposConfigFile({
'_path': None,
'_checksum': None,
REMOTEURL_KEY: KUPFER_HTTPS,
REPOS_KEY: {
'local': REPO_DEFAULTS | {LOCALONLY_KEY: True},
@ -148,6 +150,7 @@ REPOS_CONFIG_DEFAULT = ReposConfigFile({
},
})
_current_config = deepcopy(REPOS_CONFIG_DEFAULT)
def get_repo_config(
initialize_pkgbuilds: bool = False,