mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 13:45:45 -05:00
config: add gpg folder and signing options
This commit is contained in:
parent
6f09fe4403
commit
166a8620a7
2 changed files with 10 additions and 0 deletions
|
@ -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,
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue