Skip to content

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

@NeilHanlon

Description

@NeilHanlon

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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions