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

RFC: otk.op.if #18

Open
supakeen opened this issue Apr 18, 2024 · 1 comment
Open

RFC: otk.op.if #18

supakeen opened this issue Apr 18, 2024 · 1 comment
Labels

Comments

@supakeen
Copy link
Member

Current users of osbuild-mpp use conditional code often. #17 might resolve some of these issues but some use cases would persist

This isn't a full RFC yet, it's work in progress as I need a bit more thinking about if and how to do this nicely. However, some discussion and ideas are welcome!

@supakeen supakeen added help wanted Extra attention is needed specification RFC labels Apr 18, 2024
@supakeen
Copy link
Member Author

During discussions yesterday we will be having conditionals. We'll likely start with:

otk.op.if_set:
  what: ${some_variable}
  then:
    # A block

Without a test yet.

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

No branches or pull requests

1 participant