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