cloudapi: Add module_hotfixes flag
Allow passing module_hotfixes flag through the cloudapi. This will enable depsolving on repositories that might be affected by modularity filtering. Refs HMS-3202
This commit is contained in:
parent
61e6f75281
commit
4b3b942dde
10 changed files with 281 additions and 246 deletions
|
|
@ -1051,6 +1051,9 @@ func genRepoConfig(repo Repository) (*rpmmd.RepoConfig, error) {
|
|||
if repo.CheckRepoGpg != nil {
|
||||
repoConfig.CheckRepoGPG = repo.CheckRepoGpg
|
||||
}
|
||||
if repo.ModuleHotfixes != nil {
|
||||
repoConfig.ModuleHotfixes = repo.ModuleHotfixes
|
||||
}
|
||||
|
||||
if repoConfig.CheckGPG != nil && *repoConfig.CheckGPG && len(repoConfig.GPGKeys) == 0 {
|
||||
return nil, HTTPError(ErrorNoGPGKey)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue