debian-forge-composer/internal/worker
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
..
api api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
clienterrors internal/clienterrors: add file resolution error 2023-03-16 09:55:39 +00:00
client.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
client_test.go worker: define job types as constants 2022-06-10 14:48:18 +01:00
json.go container: add ListDigest to the spec 2023-04-17 18:30:41 +02:00
json_test.go worker: Remove ellipsis operator from clienterrors.Error 2022-08-03 13:51:52 +02:00
proxy_test.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
server.go internal/worker: log dequeue failures 2023-04-14 12:12:41 +02:00
server_test.go internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00