Introduce plusWorkaround: generate copy of file with '+' -> ' ' to workaround S3/apt bug. #98

This commit is contained in:
Andrey Smirnov
2014-10-01 21:32:56 +04:00
parent 8049d69793
commit aeae6009c4
7 changed files with 56 additions and 14 deletions
+1
View File
@@ -34,6 +34,7 @@ type S3PublishRoot struct {
ACL string `json:"acl"`
StorageClass string `json:"storageClass"`
EncryptionMethod string `json:"encryptionMethod"`
PlusWorkaround bool `json:"plusWorkaround"`
}
// Config is configuration for aptly, shared by all modules
+3 -1
View File
@@ -67,7 +67,9 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
" \"prefix\": \"\",\n"+
" \"acl\": \"\",\n"+
" \"storageClass\": \"\",\n"+
" \"encryptionMethod\": \"\"\n"+" }\n"+
" \"encryptionMethod\": \"\",\n"+
" \"plusWorkaround\": false\n"+
" }\n"+
" }\n"+
"}")
}