peridot icon indicating copy to clipboard operation
peridot copied to clipboard

[bug/rfe] catalog config allows configuration of package without repository name

Open NeilHanlon opened this issue 11 months ago • 1 comments

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

  1. 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

NeilHanlon avatar Mar 26 '24 14:03 NeilHanlon

In dreamland please add an automated unit test for the configuration as well as for folks like me who frankly can't read well.

MatthewHink avatar Mar 26 '24 14:03 MatthewHink