#2640 CLI mock-config does not returns error for non-existing arch
Closed: Fixed by tkopecek. Opened by mfilip.

CLI mock-config does not verify if value of option --arch is existing arch. This should be asserted before command processing.


Hmm. We are already calling getBuildConfig in the command handler, so we do know exactly which arches the repo is supposed to contain. That makes this easy to check.

Might be better to just warn instead. This would line up with the dist-repo command, which warns rather than errors in this case.

Metadata Update from @mikem:
- Custom field Size adjusted to None

Metadata Update from @jcupova:
- Issue set to the milestone: 1.25

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

Metadata Update from @mfilip:
- Issue tagged with: testing-done

Metadata Update from @mfilip:
- Issue untagged with: testing-done

Metadata Update from @mfilip:
- Issue tagged with: testing-done

Commit 7665ea83 fixes this issue

Commit 0c6f43a9 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/2640

Please continue any further discussion there.

Metadata
Related Pull Requests