debian-forge-composer/internal/weldr
Brian C. Lane 80f833a69b weldr: Fix confusing TOML support for source API
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.
2021-02-04 15:50:04 -08:00
..
api.go weldr: Fix confusing TOML support for source API 2021-02-04 15:50:04 -08:00
api_test.go weldr: Add tests for V1 source API and better id support 2021-02-04 15:50:04 -08:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
json.go weldr: implement cancel route 2020-06-12 10:00:50 +02:00
upload.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00