peridot
peridot copied to clipboard
[bug/rfe] catalog config allows configuration of package without repository name
Describe The Bug
It's possible to declare a package->repository stanza without declaring a 'name' for the repo. I believe the implicit 'all' repo is used in this case, but since the all repo is not synced typically, this can be problematic and cause confusion when writing catalog configs.
Possibly one workaround would be to enable a 'default' repository (alongside all') which packages would be automatically "tagged" into upon completion of build.
Reproduction Steps
- Create a catalog with a package and repository stanza declaring Name-Architectures for binary rpms, but without a 'name' in the repository stanza
Expected Behavior
An error is thrown due to declaring a package/repository without a name
Version and Build Information
HEAD
Additional context
No response
In dreamland please add an automated unit test for the configuration as well as for folks like me who frankly can't read well.