Fix package validation on Windows#358
Merged
jsoriano merged 11 commits intoelastic:mainfrom Jun 23, 2022
Merged
Conversation
1e3c1e7 to
eb514b5
Compare
v1v
reviewed
Jun 22, 2022
eb514b5 to
a58cb94
Compare
v1v
reviewed
Jun 22, 2022
a58cb94 to
9c56f07
Compare
v1v
reviewed
Jun 22, 2022
v1v
reviewed
Jun 22, 2022
v1v
reviewed
Jun 22, 2022
mtojek
approved these changes
Jun 23, 2022
| 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 |
Member
Author
There was a problem hiding this comment.
It took me a while to find that there were a problem there 🙂
This file contains hidden or 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
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
pathinstead ofpath/filepathfor operations on paths for files infs.FSfilesystems.fs.FSuses/as path separator also in Windows, so operations with paths in these filesystems should be done withpathinstead offilepath.Add a fork for
gojsonschemawith 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/packagesthat prove my change is effective.versions/N/changelog.yml.Related issues