Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NeilHanlon opened this issue Mar 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NeilHanlon
Copy link
Member

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 NeilHanlon added the bug Something isn't working label Mar 26, 2024
@MatthewHink
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants