-
Notifications
You must be signed in to change notification settings - Fork 72
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 package validation on Windows #358
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jsoriano
force-pushed
the
test-on-windows
branch
2 times, most recently
from
June 22, 2022 10:46
1e3c1e7
to
eb514b5
Compare
v1v
reviewed
Jun 22, 2022
jsoriano
force-pushed
the
test-on-windows
branch
from
June 22, 2022 11:06
eb514b5
to
a58cb94
Compare
v1v
reviewed
Jun 22, 2022
jsoriano
force-pushed
the
test-on-windows
branch
from
June 22, 2022 11:19
a58cb94
to
9c56f07
Compare
v1v
reviewed
Jun 22, 2022
v1v
reviewed
Jun 22, 2022
v1v
reviewed
Jun 22, 2022
jsoriano
changed the title
Add testing stage on windows
Fix package validation on Windows
Jun 22, 2022
mtojek
approved these changes
Jun 23, 2022
@@ -23,3 +23,5 @@ require ( | |||
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect | |||
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7 // indirect | |||
) | |||
|
|||
replace github.com/xeipuuv/gojsonschema => github.com/elastic/gojsonschema v1.2.1-0.20220622182608-92eeb544ec83 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice finding :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It took me a while to find that there were a problem there 🙂
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Use
path
instead ofpath/filepath
for operations on paths for files infs.FS
filesystems.fs.FS
uses/
as path separator also in Windows, so operations with paths in these filesystems should be done withpath
instead offilepath
.Add a fork for
gojsonschema
with a fix for references on Windows usingfs.FS
.A new testing stage is added for Windows to validate these changes.
Why is it important?
To fix validation of packages in Windows.
Checklist
test/packages
that prove my change is effective.versions/N/changelog.yml
.Related issues