debian-forge-composer/internal
Tomas Hozza dda9cce03e Add support for image type tags in rpmmd and add RepoRegistry API
Extend the RepoConfig structure to contain new field ImageTypeTags.
Extend also other structures and functions as needed, to support loading
repository definitions, which use this new field. The idea is that a
repository should be used for building all image types, unless it has
some ImageTypeTags defined. In such case, it should be used only for
building the specific image types, which names are specified in the new
field.

Add RepoRegistry as a higher-level API to load and manage repository
definitions for each distribution. Currently it provides one method,
which returns a set of repositories needed to build a given image
type. The RepoRegistry uses the new ImageTypeTags field in the RepoConfig
structure and returns all the needed repositories for the image type.

Modify rpmmd unit tests and add unit tests for RepoRegistry.

Add News entry describing the change done to RepoConfig and its JSON
representation.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-05-14 15:43:00 +02:00
..
blueprint rhel84/grub2: set saved_entry 2021-02-20 20:01:15 +01:00
boot test: replace genisoimage with mkisofs 2021-04-02 14:21:29 +02:00
client Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
cloud/gcp GCP: Fix panic while parsing a specific build job log 2021-04-29 14:48:50 +02:00
cloudapi Rename all occurrences of "Compute Node" to "Compute Engine" 2021-04-01 20:12:39 +02:00
common weldr: move common.ComposeState to weldr 2020-11-09 14:17:19 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk osbuild: rename package to osbuild1 2021-03-17 18:12:17 +00:00
distro Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
distroregistry Add rhel85 to distro registry 2021-05-11 12:10:09 +02:00
jobqueue jobqueue: Replace JobArgs() with Job() 2021-01-19 10:37:51 +01:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
kojiapi Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
mocks Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
osbuild1 distro/rhel84: build qcow2 images with compat=0.10 2021-04-10 19:18:13 +01:00
osbuild2 osbuild2: tar stage 2021-05-11 12:10:09 +02:00
reporegistry Add support for image type tags in rpmmd and add RepoRegistry API 2021-05-14 15:43:00 +02:00
rpmmd Add support for image type tags in rpmmd and add RepoRegistry API 2021-05-14 15:43:00 +02:00
store Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
target target/azure: document what it does 2021-03-06 15:40:48 +00:00
test test: add arch to the generate test artifact names 2020-12-01 08:27:44 +01:00
upload internal: Move GCP library to internal/cloud 2021-03-15 16:48:40 +00:00
weldr Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
worker Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00