debian-forge-composer/cmd/osbuild-tests
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
..
main_test.go weldr: Add support for the v1 API to /projects/source/new 2020-06-03 21:24:47 +02:00