mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-26 13:47:40 +00:00
Add config option to follow dependency to source packages.
This commit is contained in:
@@ -14,6 +14,7 @@ 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"`
|
||||||
|
DepFollowSource bool `json:"dependencyFollowSource"`
|
||||||
GpgDisableSign bool `json:"gpgDisableSign"`
|
GpgDisableSign bool `json:"gpgDisableSign"`
|
||||||
GpgDisableVerify bool `json:"gpgDisableVerify"`
|
GpgDisableVerify bool `json:"gpgDisableVerify"`
|
||||||
DownloadSourcePackages bool `json:"downloadSourcePackages"`
|
DownloadSourcePackages bool `json:"downloadSourcePackages"`
|
||||||
@@ -27,6 +28,7 @@ var Config = ConfigStructure{
|
|||||||
DepFollowSuggests: false,
|
DepFollowSuggests: false,
|
||||||
DepFollowRecommends: false,
|
DepFollowRecommends: false,
|
||||||
DepFollowAllVariants: false,
|
DepFollowAllVariants: false,
|
||||||
|
DepFollowSource: false,
|
||||||
GpgDisableSign: false,
|
GpgDisableSign: false,
|
||||||
GpgDisableVerify: false,
|
GpgDisableVerify: false,
|
||||||
DownloadSourcePackages: false,
|
DownloadSourcePackages: false,
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
|
|||||||
" \"dependencyFollowSuggests\": false,\n"+
|
" \"dependencyFollowSuggests\": false,\n"+
|
||||||
" \"dependencyFollowRecommends\": false,\n"+
|
" \"dependencyFollowRecommends\": false,\n"+
|
||||||
" \"dependencyFollowAllVariants\": false,\n"+
|
" \"dependencyFollowAllVariants\": false,\n"+
|
||||||
|
" \"dependencyFollowSource\": false,\n"+
|
||||||
" \"gpgDisableSign\": false,\n"+
|
" \"gpgDisableSign\": false,\n"+
|
||||||
" \"gpgDisableVerify\": false,\n"+
|
" \"gpgDisableVerify\": false,\n"+
|
||||||
" \"downloadSourcePackages\": false\n"+
|
" \"downloadSourcePackages\": false\n"+
|
||||||
|
|||||||
Reference in New Issue
Block a user