There is some confusion surrounding the format of the source TOML that can be sent to the server. The format it accepts doesn't match the output from composer-cli which includes the source id in [] eg. [k8s] name = "kubernetes packages" ... This patch changes the parsing to allow the id to be set as 'id = "k8s"' or passed as a map in [k8s]. If the id is passed in the body it takes precedence over the map name. |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| compose.go | ||
| json.go | ||
| upload.go | ||
| util.go | ||