debian-forge-composer/internal/client
Brian C. Lane 369312989f blueprints: Fix handling of invalid blueprint names in the API code
Empty names are not allowed, and blueprint names should only contain
characters matching: ^[a-zA-Z0-9._-]+$

This also adds tests for the various places where the blueprint name
could potentially be wrong.
2020-05-13 20:00:52 +02:00
..
blueprints.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00
blueprints_test.go blueprints: Fix handling of invalid blueprint names in the API code 2020-05-13 20:00:52 +02:00
client.go client: Add GetRawBody function to return the io.ReadCloser from the request 2020-04-15 11:35:05 +02:00
client_test.go tests: replace cmd.Diff() with require functions 2020-04-20 14:00:49 +02:00
compose.go client: urlencode compose status filter parameters 2020-05-13 20:00:52 +02:00
compose_test.go blueprints: Fix handling of invalid blueprint names in the API code 2020-05-13 20:00:52 +02:00
integration_test.go client: drop client timeout in tests 2020-05-12 22:38:10 +02:00
modules.go client: Add /modules/ support 2020-03-25 10:01:14 +01:00
modules_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
projects.go client: Add /projects/ support 2020-03-25 10:01:14 +01:00
projects_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
source.go client: Add projects/source API support 2020-03-23 21:08:01 +01:00
source_test.go tests: verify system-wide sources can't be deleted. Closes #315 2020-04-06 19:49:23 +02:00
unit_test.go client: drop client timeout in tests 2020-05-12 22:38:10 +02:00
utils.go client: drop client timeout in tests 2020-05-12 22:38:10 +02:00
weldr.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00