debian-forge-composer/internal/mocks
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
..
distro Make the Distroregistry FromHost() return distro with correct name 2021-05-14 15:43:00 +02:00
dnfjson mocks/dnfjson: Add mock support for the search command 2022-08-23 22:47:46 +01:00
rpmmd Replace all rpmmd.Depsolve() calls with dnfjson 2022-06-01 11:36:52 +01:00
rpmrepo internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00