config: add gpg folder and signing options
This commit is contained in:
@@ -44,6 +44,8 @@ class BuildSection(DictScheme):
|
||||
crosscompile: bool
|
||||
crossdirect: bool
|
||||
threads: int
|
||||
sign_pkgs: bool
|
||||
sign_repos: bool
|
||||
|
||||
|
||||
class PkgbuildsSection(DictScheme):
|
||||
@@ -141,6 +143,9 @@ class RuntimeConfiguration(DictScheme):
|
||||
uid: Optional[int]
|
||||
progress_bars: Optional[bool]
|
||||
colors: Optional[bool]
|
||||
gpg_initialized: bool
|
||||
gpg_pkg_key: Optional[str]
|
||||
gpg_repo_key: Optional[str]
|
||||
|
||||
|
||||
class ConfigLoadState(DictScheme):
|
||||
|
||||
@@ -24,6 +24,8 @@ CONFIG_DEFAULTS_DICT = {
|
||||
'crosscompile': True,
|
||||
'crossdirect': True,
|
||||
'threads': 0,
|
||||
'sign_pkgs': True,
|
||||
'sign_repos': False,
|
||||
},
|
||||
'pkgbuilds': {
|
||||
'git_repo': 'https://gitlab.com/kupfer/packages/pkgbuilds.git',
|
||||
@@ -64,6 +66,9 @@ CONFIG_RUNTIME_DEFAULTS: RuntimeConfiguration = RuntimeConfiguration.fromDict({
|
||||
'uid': None,
|
||||
'progress_bars': None,
|
||||
'colors': None,
|
||||
'gpg_initialized': False,
|
||||
'gpg_pkg_key': None,
|
||||
'gpg_repo_key': None,
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user