debian-forge-composer/internal/weldr
Achilleas Koutsou c092783a70 simplify package set chain handling
Move package set chain collation to the distro package and add
repositories to the package sets while returning the package sets from
their source, i.e., the ImageType.PackageSets() method.

This also removes the concept of "base repositories".  There are no
longer repositories that are added implicitly to all package sets but
instead each package set needs to specify *all* the repositories it will
be depsolved against.

This paves the way for the requirement we have for building RHEL 7
images with a RHEL 8 build root.  The build root package set has to be
depsolved against RHEL 8 repositories without any "base repos" included.
This is now possible since package sets and repositories are explicitly
associated from the start and there is no implicit global repository
set.

The change requires adding a list of PackageSet names to the core
rpmmd.RepoConfig.  In the cloud API, repositories that are limited to
specific package sets already contain the correct package set names and
these are now copied to the internal RepoConfig when converting types in
genRepoConfig().
The user-specified repositories are only associated with the payload
package sets like before.
2022-06-01 11:36:52 +01:00
..
api.go simplify package set chain handling 2022-06-01 11:36:52 +01:00
api_test.go tests: use TestMain() instead of Init() to compile mock-dnf-json 2022-06-01 11:36:52 +01:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
compose_test.go test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
json.go tests: update base tests for weldr-client 2021-08-25 19:16:04 +02:00
responses_test.go Replace all rpmmd.Depsolve() calls with dnfjson 2022-06-01 11:36:52 +01:00
upload.go Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00