debian-forge-composer/internal
Brian C. Lane 7bd020ca11 weldr: Return an error when an empty blueprint is received
The JSON and TOML parsers differ in how they handle an empty body so
check for a ContentLength of zero first and return a "Missing
blueprint" error to the client.

Includes updated tests for the JSON path, and new tests for empty TOML
blueprints.
2020-03-12 01:55:45 +01:00
..
blueprint blueprint: add default version 2020-03-04 19:20:58 +01:00
client client: Use http.Client instead of a string for the socket 2020-03-09 18:02:54 +01:00
common osbuild-pipeline: validate distro when fetching it 2020-03-03 16:21:13 +01:00
compose job: pass manifest instead of pipeline to osbuild 2020-03-03 22:25:49 +01:00
crypt crypt: make it possible to compile and test on macOS 2020-01-30 14:42:25 +01:00
distro distro: drop Pipeline and Sources from interface 2020-03-08 21:05:01 +01:00
jobqueue job: pass manifest instead of pipeline to osbuild 2020-03-03 22:25:49 +01:00
mocks distro: panic less often 2020-03-03 11:53:06 +01:00
osbuild osbuild: introduce manifest concept 2020-03-03 22:25:49 +01:00
rcm distro: panic less often 2020-03-03 11:53:06 +01:00
rpmmd rpmmd: pass in cache directory explicitly 2020-03-02 20:58:39 +01:00
store store: Return an error from GetBlueprintChange 2020-03-12 01:55:45 +01:00
target targets/local: drop Location field 2020-02-14 11:53:38 +01:00
test api: implement /compose/log 2019-12-20 11:43:39 +01:00
upload lint: fix unhandled errors 2020-03-02 14:28:55 +01:00
weldr weldr: Return an error when an empty blueprint is received 2020-03-12 01:55:45 +01:00
weldrcheck weldr: Add tests for empty and invalid blueprints 2020-03-12 01:55:45 +01:00