diff --git a/utils/config.go b/utils/config.go index 6d4b83ec..01c8439e 100644 --- a/utils/config.go +++ b/utils/config.go @@ -14,6 +14,7 @@ type ConfigStructure struct { DepFollowSuggests bool `json:"dependencyFollowSuggests"` DepFollowRecommends bool `json:"dependencyFollowRecommends"` DepFollowAllVariants bool `json:"dependencyFollowAllVariants"` + DepFollowSource bool `json:"dependencyFollowSource"` GpgDisableSign bool `json:"gpgDisableSign"` GpgDisableVerify bool `json:"gpgDisableVerify"` DownloadSourcePackages bool `json:"downloadSourcePackages"` @@ -27,6 +28,7 @@ var Config = ConfigStructure{ DepFollowSuggests: false, DepFollowRecommends: false, DepFollowAllVariants: false, + DepFollowSource: false, GpgDisableSign: false, GpgDisableVerify: false, DownloadSourcePackages: false, diff --git a/utils/config_test.go b/utils/config_test.go index db406d06..bfc28304 100644 --- a/utils/config_test.go +++ b/utils/config_test.go @@ -48,6 +48,7 @@ func (s *ConfigSuite) TestSaveConfig(c *C) { " \"dependencyFollowSuggests\": false,\n"+ " \"dependencyFollowRecommends\": false,\n"+ " \"dependencyFollowAllVariants\": false,\n"+ + " \"dependencyFollowSource\": false,\n"+ " \"gpgDisableSign\": false,\n"+ " \"gpgDisableVerify\": false,\n"+ " \"downloadSourcePackages\": false\n"+