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

Fixes Issue #18 by adding a new conversion pre-processor #39

Merged
merged 6 commits into from
Apr 30, 2024

Conversation

schuylermartin45
Copy link
Collaborator

Fixes Issue #18 by way of adding a new recipe pre-processing phase to the conversion script.

Although this particular issue could likely be fixed in the parser, there are seemingly not that many recipes that use this environ[""] syntax and most that do use it, use it in a very specific way. I anticipate we will run into nastier problems that may require a pre-processing step, so this is at least a good candidate issue to test the waters.

- This will enable us to address issues that are easily fixed by modifying the
  recipe before parsing. This should be used as a last-resort or for problems
  where the cost of implementing a fix is outweighed by how many recipes are
  afflicted by the problem.
- Simplifies some logic in `convert.py`
@schuylermartin45 schuylermartin45 requested a review from a team as a code owner April 29, 2024 20:25
Copy link
Member

@beeankha beeankha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few wording edit suggestions, otherwise LGTM

@schuylermartin45 schuylermartin45 merged commit ae34991 into main Apr 30, 2024
11 checks passed
@schuylermartin45 schuylermartin45 deleted the smartin_pre_preprocessor_issue_18 branch April 30, 2024 16:51
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.

2 participants