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

Fix a problem with windows-generated go manifest files #123

Merged
merged 4 commits into from
May 16, 2023

Conversation

academo
Copy link
Member

@academo academo commented May 16, 2023

Windows-generated go manifest files use windows \ instead of /.

This adds the code to convert \ to / when validating manifests

@academo academo requested a review from andresmgot May 16, 2023 08:33
@academo academo self-assigned this May 16, 2023
@academo academo added the bug Something isn't working label May 16, 2023
Copy link
Member

@wbrowne wbrowne left a comment

Choose a reason for hiding this comment

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

Should we try make the behaviour of the Go manifest consistent with the signature manifest? IE always generate with POSIX style file paths?

Copy link
Member

@xnyo xnyo left a comment

Choose a reason for hiding this comment

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

LGTM!

@academo
Copy link
Member Author

academo commented May 16, 2023

Should we try make the behaviour of the Go manifest consistent with the signature manifest? IE always generate with POSIX style file paths?

Yes. I will soon open a PR in our go sdk to always geneate POSIX filepaths but to prevent this issue in plugins that already use the version that could generate non-POSIX file paths I am submitting this patch.

@academo academo merged commit 650fdf2 into main May 16, 2023
3 checks passed
@academo academo deleted the academo/fix-manifiest-with-windows-separators branch May 16, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants