distro/depsolve/cloudapi: Add 3rd-party repository support.

Allow 3rd-party repositories to be supported and custom packages installed.
Fixes #COMPOSER-1273
This commit is contained in:
Djebran Lezzoum 2021-12-06 17:33:07 +01:00 committed by Sanne Raymaekers
parent 10f34de88b
commit c93ea748a2
17 changed files with 196 additions and 96 deletions

View file

@ -94,11 +94,12 @@ func (pn *PipelineNames) All() []string {
}
type DepsolveJob struct {
PackageSets map[string]rpmmd.PackageSet `json:"package_sets"`
Repos []rpmmd.RepoConfig `json:"repos"`
ModulePlatformID string `json:"module_platform_id"`
Arch string `json:"arch"`
Releasever string `json:"releasever"`
PackageSets map[string]rpmmd.PackageSet `json:"package_sets"`
Repos []rpmmd.RepoConfig `json:"repos"`
ModulePlatformID string `json:"module_platform_id"`
Arch string `json:"arch"`
Releasever string `json:"releasever"`
PackageSetsRepositories map[string][]rpmmd.RepoConfig `json:"package_sets_repositories,omitempty"`
}
type ErrorType string