mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-01 04:40:38 +00:00
Rename config option to endpoint. #15
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"rootDir": "${HOME}/.aptly",
|
"rootDir": "/Users/smira/.aptly",
|
||||||
"downloadConcurrency": 4,
|
"downloadConcurrency": 4,
|
||||||
"downloadSpeedLimit": 0,
|
"downloadSpeedLimit": 0,
|
||||||
"architectures": [],
|
"architectures": [],
|
||||||
@@ -12,5 +12,5 @@
|
|||||||
"downloadSourcePackages": false,
|
"downloadSourcePackages": false,
|
||||||
"ppaDistributorID": "ubuntu",
|
"ppaDistributorID": "ubuntu",
|
||||||
"ppaCodename": "",
|
"ppaCodename": "",
|
||||||
"S3PublishRoots": {}
|
"S3PublishEndpoints": {}
|
||||||
}
|
}
|
||||||
+1
-1
@@ -21,7 +21,7 @@ type ConfigStructure struct {
|
|||||||
DownloadSourcePackages bool `json:"downloadSourcePackages"`
|
DownloadSourcePackages bool `json:"downloadSourcePackages"`
|
||||||
PpaDistributorID string `json:"ppaDistributorID"`
|
PpaDistributorID string `json:"ppaDistributorID"`
|
||||||
PpaCodename string `json:"ppaCodename"`
|
PpaCodename string `json:"ppaCodename"`
|
||||||
S3PublishRoots map[string]S3PublishRoot `json:"S3PublishRoots"`
|
S3PublishRoots map[string]S3PublishRoot `json:"S3PublishEndpoints"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// S3PublishRoot describes single S3 publishing entry point
|
// S3PublishRoot describes single S3 publishing entry point
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
|
|||||||
" \"downloadSourcePackages\": false,\n"+
|
" \"downloadSourcePackages\": false,\n"+
|
||||||
" \"ppaDistributorID\": \"\",\n"+
|
" \"ppaDistributorID\": \"\",\n"+
|
||||||
" \"ppaCodename\": \"\",\n"+
|
" \"ppaCodename\": \"\",\n"+
|
||||||
" \"S3PublishRoots\": {\n"+
|
" \"S3PublishEndpoints\": {\n"+
|
||||||
" \"test\": {\n"+
|
" \"test\": {\n"+
|
||||||
" \"region\": \"us-east-1\",\n"+
|
" \"region\": \"us-east-1\",\n"+
|
||||||
" \"bucket\": \"repo\",\n"+
|
" \"bucket\": \"repo\",\n"+
|
||||||
|
|||||||
Reference in New Issue
Block a user