debian-forge-composer/internal/weldr
Brian C. Lane ddd2010815 weldr: Add support for the v1 API to /projects/source/new
This commit changes the store.PushSource function to take the key as
well as the SourceConfig so that it can be used for v0 or v1.

It adds helper functions for decoding the toml/json into a new
SourceConfig interface type which lets the core source/new code be
shared between the versions.

It also adds tests for the new API behavior.
2020-06-03 21:24:47 +02:00
..
api.go weldr: Add support for the v1 API to /projects/source/new 2020-06-03 21:24:47 +02:00
api_test.go weldr: use compose status for targets as well 2020-06-03 11:49:20 +02:00
compose.go weldr: use compose status for targets as well 2020-06-03 11:49:20 +02:00
json.go weldr: Add support for the v1 API to /projects/source/new 2020-06-03 21:24:47 +02:00
upload.go weldr: use compose status for targets as well 2020-06-03 11:49:20 +02:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00