New configuration options to disable gpg usage in aptly.

This commit is contained in:
Andrey Smirnov
2014-02-06 19:56:26 +04:00
parent 0e9ccb4481
commit a97365377f

View File

@@ -14,6 +14,8 @@ type ConfigStructure struct {
DepFollowSuggests bool `json:"dependencyFollowSuggests"`
DepFollowRecommends bool `json:"dependencyFollowRecommends"`
DepFollowAllVariants bool `json:"dependencyFollowAllVariants"`
GpgDisableSign bool `json:"gpgDisableSign"`
GpgDisableVerify bool `json:"gpgDisableVerify"`
}
// Config is configuration for aptly, shared by all modules
@@ -24,6 +26,8 @@ var Config = ConfigStructure{
DepFollowSuggests: false,
DepFollowRecommends: false,
DepFollowAllVariants: false,
GpgDisableSign: false,
GpgDisableVerify: false,
}
// LoadConfig loads configuration from json file