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

Preprocessor: Replace dot with bar functions #67

Merged

Conversation

schuylermartin45
Copy link
Collaborator

There are a number of instances where recipe files call foo.lower() instead of foo | lower. The former executes Python code (presumably) while the latter is a "JINJA function". The code in this PR uses the terms "dot functions" and "pipe functions" to easily discern between the two.

"Dot functions" are not supported by the new format while "pipe functions" are supported.

- The conversion tooling can now upgrade _most_ situations where `script_env`
  is present.
- We cannot easily upgrade scenarios where an environment variable is specified
  with a value with a selector. That will require manual intervention for now
…sting to ensure failure is handled correctly
…h a period mark to using the pipe functions supported by rattler-build
…r into smartin_preprocess_replace_dot_with_bar_functions
@schuylermartin45 schuylermartin45 requested a review from a team as a code owner June 4, 2024 16:20
@schuylermartin45 schuylermartin45 merged commit 50618de into main Jun 5, 2024
11 checks passed
@schuylermartin45 schuylermartin45 deleted the smartin_preprocess_replace_dot_with_bar_functions branch June 5, 2024 14:09
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

Successfully merging this pull request may close these issues.

3 participants