-
Notifications
You must be signed in to change notification settings - Fork 1
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
DCA11Y-1145: Support standard Node version files #3
DCA11Y-1145: Support standard Node version files #3
Conversation
This is more likely to contain the files we're after as they're often colocated
...n-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NodeVersionDetector.java
Show resolved
Hide resolved
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.
lgtm
...gin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NodeVersionParser.java
Outdated
Show resolved
Hide resolved
...gin/src/main/java/com/github/eirslett/maven/plugins/frontend/mojo/InstallNodeAndNpmMojo.java
Show resolved
Hide resolved
...gin/src/main/java/com/github/eirslett/maven/plugins/frontend/mojo/InstallNodeAndNpmMojo.java
Outdated
Show resolved
Hide resolved
...n-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NodeVersionDetector.java
Show resolved
Hide resolved
...n-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NodeVersionDetector.java
Show resolved
Hide resolved
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.
Great improvement overall. I left a few smaller comments for your consideration.
...n-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NodeVersionDetector.java
Show resolved
Hide resolved
c645409
to
9429520
Compare
cfbc71b
to
c0fc4aa
Compare
c0fc4aa
to
13eb4d1
Compare
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.
LGTM
...gin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NodeVersionHelper.java
Show resolved
Hide resolved
...gin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NodeVersionHelper.java
Show resolved
Hide resolved
if (!nodeVersions.get().isPresent()) { | ||
synchronized (NodeVersionHelper.class) { // avoiding racing sending multiple requests | ||
try (CloseableHttpClient httpClient = HttpClients.createDefault()) { | ||
HttpGet getNodeVersionIndex = new HttpGet("https://nodejs.org/dist/index.json"); |
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.
Should this be based on nodeDownloadRoot
property maybe so that we can override node registry?
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.
lgtm
Topics to discuss raised by @rafalsatl during QA demo:
|
The documentation changes should be self-sufficient.
The driving force is friction internal to Atlassian.