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

Multiline summary fix issue 44 #68

Merged
merged 22 commits into from
Jun 7, 2024

Conversation

schuylermartin45
Copy link
Collaborator

Fixes #44 . A number of packages in the integration testing data (namely R-packages) contain multiline strings in their summaries that are unmarked (i.e. they do not use the |, > or other variants indicating how multiline strings are represented).

The ideal fix would be to handle this at parse-time. But that is a relatively big ask. So for the short-term, here is a small fix that makes a pretty big impact on our compatibility with R-packages.

Arguably this transforms these problematic recipes to be "compliant" and use the much more commonly used |-multiline YAML option used by recipes in AnacondaRecipes and conda-forge.

- 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 6, 2024 15:21
@schuylermartin45 schuylermartin45 merged commit 177b65a into main Jun 7, 2024
11 checks passed
@schuylermartin45 schuylermartin45 deleted the smartin_multiline_summary_fix_issue_44 branch June 7, 2024 13:39
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.

Multiline strings that don't use > or | characters get interpreted as lists of strings
3 participants