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

Fixing parsing bug with singularity cli #181

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Sep 13, 2021

currently, it is assumed the comments and sections come after the header. However, we
need to allow comments before because it is not unheard of (although it seems rare). This will fix #180

Signed-off-by: vsoch vsoch@users.noreply.github.com

currently, it is assumed the comments and sections come after the header. However, we
need to allow comments before because it is not unheard of (although it seems rare)

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@StopMotionCuber
Copy link

I'm not sure about multi-stage builds, could be that the parser assigns these comments wrongly to the stage. But I'm not too deep in the parser that I'm sure whether that actually holds.
Other than that, LGTM

@vsoch
Copy link
Member Author

vsoch commented Sep 14, 2021

@StopMotionCuber that sounds correct - I don't think Singularity had support for them when I developed this, so likely there will be issues. I'll merge and release here, and if you hit a multistage build bug please open another issue and we will fix it up :)

@vsoch vsoch merged commit 64358eb into master Sep 14, 2021
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.

Errors when parsing singularity definitions with comments before bootstrap line
2 participants