debian-forge-composer/internal/cloudapi/v2
Gianluca Zuccarelli 4d42808b6a internal/rpmmd: RepoConfig baseurl change
Update the internal RepoConfig object to
accept a slice of baseurls rather than a
single field. This change was needed to
align RepoConfig with the dnf spec [1].

Additionally, this change adds custom json
marshal and unmarshal functions to ensure
backwards compatibility with older workers.
Add json tags to the internal rpmmd config
since this is serialized in dnfjson.
Add unit tests to check the serialization
is okay.

[1] See dnf.config
2023-04-21 17:40:00 +02:00
..
errors.go Cloud API: add error for failed customization validation 2023-02-22 12:17:36 +01:00
errors_test.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
handler.go internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00
middleware.go cloudapi: get specific error from openapi 2022-06-28 10:02:55 +02:00
openapi.v2.gen.go cloudapi/v2: expose repo metadata verification 2023-04-13 22:08:17 +02:00
openapi.v2.yml cloudapi/v2: expose repo metadata verification 2023-04-13 22:08:17 +02:00
server.go container: add ListDigest to the spec 2023-04-17 18:30:41 +02:00
v2_internal_test.go internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00
v2_koji_test.go cloudapi: Add endpoints to clone aws images across regions 2022-08-30 16:14:52 +02:00
v2_multi_tenancy_test.go cloudapi: Correctly test dependency errors 2022-08-03 13:51:52 +02:00
v2_test.go Cloud API: expose directory and file customizations 2023-02-22 12:17:36 +01:00