debian-forge-composer/internal/client
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
..
blueprints.go client: Add GetBlueprintChangeV1 2022-11-24 11:19:14 +01:00
blueprints_test.go client: Add GetBlueprintChangeV1 2022-11-24 11:19:14 +01:00
client.go Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
client_test.go tests: replace cmd.Diff() with require functions 2020-04-20 14:00:49 +02:00
compose.go client: Add Cancel function and tests 2022-02-18 09:31:07 +01:00
compose_test.go Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
integration_test.go Remove old build tag comments 2023-03-07 09:22:23 -08: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 weldr: Add support for the v1 API to /projects/source/delete 2020-06-03 21:24:47 +02:00
source_test.go Rename gpgkey_urls to gpgkeys 2023-02-01 10:27:58 +01:00
unit_test.go internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00
utils.go Move isStringInSlice to common.IsStringInSlice 2021-07-12 08:58:42 +02:00
weldr.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00