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

Defining one default profile for all streams #580

Open
LorbusChris opened this issue Dec 22, 2021 · 2 comments
Open

Defining one default profile for all streams #580

LorbusChris opened this issue Dec 22, 2021 · 2 comments

Comments

@LorbusChris
Copy link

For modules that release new streams frequently, it would be useful to allow for one default profile for all streams, so the new streams wouldn't have to be added to the defaults file each time.

Example:

document: modulemd-defaults
version: 1
data:
    module: cri-o
    profiles:
        '*': [default]
@sgallagher
Copy link
Collaborator

If you use the newer modulemd-packager v3 format you can include a field default: true to any profile that the stream specifies and it will be added automatically to the modulemd-defaults document once built.

That's friendlier to the developer and means that we don't have to change the defaults parser.

@sgallagher
Copy link
Collaborator

I just opened https://src.fedoraproject.org/modules/cri-o/pull-request/1 as an example for cri-o. I hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants