mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-26 13:47:40 +00:00
New configuration options to disable gpg usage in aptly.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user