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

Multi-line strings containing quotes breaks the parser #220

Open
schuylermartin45 opened this issue Oct 28, 2024 · 2 comments
Open

Multi-line strings containing quotes breaks the parser #220

schuylermartin45 opened this issue Oct 28, 2024 · 2 comments
Labels
enhancement New feature or request source::maintainer to sort Needs additional investigation

Comments

@schuylermartin45
Copy link
Collaborator

schuylermartin45 commented Oct 28, 2024

Quotes in multi-line strings cause the parser to crash in a few different ways.

For example:

about:                                                                          
  summary: fooo                                                                 
    'bar' bar         

Results in:

EXCEPTION: An exception occurred while parsing the recipe file
did not find expected <document start>
  in "<unicode string>", line 1, column 7
@schuylermartin45 schuylermartin45 added enhancement New feature or request source::maintainer to sort Needs additional investigation labels Oct 28, 2024
@schuylermartin45
Copy link
Collaborator Author

Here is another example that causes the same excapetion:

  description: "
    `doit` is a task management & automation tool.

    `doit` comes from the idea of bringing the power of build-tools to execute
    any kind of **task**

    `doit` is a modern open-source build-tool written in python designed to be
    simple to use and flexible to deal with complex work-flows.

    It is specially suitable for building and managing custom work-flows where
    there is no out-of-the-box solution available.

    `doit` has been successfully used on: systems test/integration automation,
    scientific computational pipelines, content generation, configuration
    management, etc."

(from https://github.com/AnacondaRecipes/doit-feedstock)

@schuylermartin45
Copy link
Collaborator Author

There are many R-recipes that contain description fields that cause exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request source::maintainer to sort Needs additional investigation
Projects
Status: Backlog
Development

No branches or pull requests

1 participant