Support WSL#186
Open
attiasas wants to merge 7 commits intojfrog:masterfrom
Open
Conversation
1 task
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.
feat(wsl): route Go, npm, and Yarn scans through WSL for UNC project pathsDepends on:
Summary
When the project directory is detected as a WSL-style UNC path (
WslUtils.isWslPath), dependency scanning and component updates invoke Go, npm, and Yarn viawsl.exewith Linux paths (--cd, path translation) so Windows-hosted IDE plugins can resolve tooling inside WSL. Build dependencies are bumped to align with extractor support (build-info-extractorfamily includingWslUtils,GoDriverWSL mode) and a newergradle-dep-tree.Changes
buildInfoVersionto2.43.x-SNAPSHOT(comment notes sync with published extractors / WSL); bumpgradle-dep-treefrom3.0.1to3.2.1.GoDriver; extendGoScanWorkspaceCreatorwithrunGoThroughWsland WSL-mounted paths forgo modabsolutizerrunarguments when applicable; propagate fromGoTreeBuilder/GoComponentUpdater; clarify missing Go executable errors with[WSL=…].NpmTreeBuilderandNpmComponentUpdateruseCommandExecutor("wsl.exe", …)whenisWsl, mirroring--cd/--exec npminvocation; parsenpm ls --jsonoutput from WSL;isDriverInstalled/ install paths branch on WSL vsNpmDriver.YarnDrivergains optional WSL mode (wsl.exe+--exec yarn),isYarnInstalled(File)for consistent--cdchecks;YarnTreeBuilder/YarnComponentUpdaterpass WSL flag fromWslUtils.isWslPath(projectDir); error messages note[WSL=…].