write commented json default config

This commit is contained in:
André Roth
2024-12-01 10:51:58 +01:00
parent 622072bd50
commit ea80f6d49c
8 changed files with 421 additions and 53 deletions

36
debian/aptly.conf vendored
View File

@@ -1,6 +1,6 @@
// vim: : filetype=json
// json configuration file with comments
// validate with: sed '/\/\//d' debian/aptly.conf | json_pp
// validate with: sed '/\/\//d' aptly.conf | json_pp
{
// General
@@ -30,7 +30,7 @@
"logFormat": "default",
// Default Architectures
// * empty defaults to all available architectures
// empty array defaults to all available architectures
"architectures": [],
// Follow contents of `Suggests:` field when processing dependencies for the package
@@ -49,7 +49,7 @@
"dependencyVerboseResolve": false,
// Specifies paramaters for short PPA url expansion
// * empty defaults to output of `lsb_release` command
// empty defaults to output of `lsb_release` command
"ppaDistributorID": "ubuntu",
// Codename for short PPA url expansion
@@ -84,14 +84,20 @@
////////////
// Database backend
// Type must be one of:
// * leveldb (default)
// * etcd
"databaseBackend": {
//
"type": "",
//
"url": "",
//
// LevelDB
"type": "leveldb",
// Path to leveldb files
// empty dbPath defaults to `rootDir`/db
"dbPath": ""
//
// // etcd
// "type": "etcd",
// // URL to db server
// "url": "127.0.0.1:2379"
},
@@ -171,7 +177,7 @@
// // File Copare Method for comparing existing links from the internal pool to the published directory
// // Only used when "linkMethod" is set to "copy"
// // * md5 (default: compare md5 sum)
// // * size (only compare file size)
// // * size (compare file size)
// "verifyMethod": "md5"
// }
},
@@ -325,7 +331,7 @@
//
// // Endpoint URL
// // See: Azure documentation https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string
// // defaults to "https://$accountName.blob.core.windows.net"
// // defaults to "https://<accountName>.blob.core.windows.net"
// "endpoint": ""
// }
},
@@ -336,9 +342,11 @@
// * local
// * azure
"packagePoolStorage": {
// Local Pool Path
// Local Pool
"type": "local",
"path": "$ROOTDIR/pool"
// Local Pool Path
// empty path defaults to `rootDir`/pool
"path": ""
// // Azure Azure Blob Storage Pool
// "type": "azure",
@@ -357,7 +365,7 @@
//
// // Endpoint URL
// // See: Azure documentation https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string
// // defaults to "https://$accountName.blob.core.windows.net"
// // defaults to "https://<accountName>.blob.core.windows.net"
// "endpoint": ""
// }
}