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
|
crosscompile: bool
|
||||||
crossdirect: bool
|
crossdirect: bool
|
||||||
threads: int
|
threads: int
|
||||||
|
sign_pkgs: bool
|
||||||
|
sign_repos: bool
|
||||||
|
|
||||||
|
|
||||||
class PkgbuildsSection(DictScheme):
|
class PkgbuildsSection(DictScheme):
|
||||||
|
@ -141,6 +143,9 @@ class RuntimeConfiguration(DictScheme):
|
||||||
uid: Optional[int]
|
uid: Optional[int]
|
||||||
progress_bars: Optional[bool]
|
progress_bars: Optional[bool]
|
||||||
colors: Optional[bool]
|
colors: Optional[bool]
|
||||||
|
gpg_initialized: bool
|
||||||
|
gpg_pkg_key: Optional[str]
|
||||||
|
gpg_repo_key: Optional[str]
|
||||||
|
|
||||||
|
|
||||||
class ConfigLoadState(DictScheme):
|
class ConfigLoadState(DictScheme):
|
||||||
|
|
|
@ -24,6 +24,8 @@ CONFIG_DEFAULTS_DICT = {
|
||||||
'crosscompile': True,
|
'crosscompile': True,
|
||||||
'crossdirect': True,
|
'crossdirect': True,
|
||||||
'threads': 0,
|
'threads': 0,
|
||||||
|
'sign_pkgs': True,
|
||||||
|
'sign_repos': False,
|
||||||
},
|
},
|
||||||
'pkgbuilds': {
|
'pkgbuilds': {
|
||||||
'git_repo': 'https://gitlab.com/kupfer/packages/pkgbuilds.git',
|
'git_repo': 'https://gitlab.com/kupfer/packages/pkgbuilds.git',
|
||||||
|
@ -64,6 +66,9 @@ CONFIG_RUNTIME_DEFAULTS: RuntimeConfiguration = RuntimeConfiguration.fromDict({
|
||||||
'uid': None,
|
'uid': None,
|
||||||
'progress_bars': None,
|
'progress_bars': None,
|
||||||
'colors': None,
|
'colors': None,
|
||||||
|
'gpg_initialized': False,
|
||||||
|
'gpg_pkg_key': None,
|
||||||
|
'gpg_repo_key': None,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue