GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: using common.isWindows consistently by thefourtheye · Pull Request #2269 · nodejs/node

Conversation

@thefourtheye

@thefourtheye thefourtheye commented Jul 29, 2015

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@thefourtheye thefourtheye added the test Issues and PRs related to Node.js core tests and test infrastructure. label Jul 29, 2015
@thefourtheye
thefourtheye force-pushed the isWindows-consistent-fix branch 3 times, most recently from abd0432 to 0c6c1c4 Compare July 29, 2015 12:07
@cjihrig

cjihrig commented Jul 29, 2015

Copy link
Copy Markdown
Contributor

LGTM if the CI is happy. You might want to change some of the var isWindows type lines to const isWindows while you're already changing the lines.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Jul 29, 2015

Copy link
Copy Markdown
Member

Rubber-stamp LGTM if CI is happy. Maybe change to commit line to something like "test: use common.isWindows() check everywhere" (or "consistently"), I think that explains it just a little bit better.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thefourtheye

thefourtheye commented Jul 29, 2015

Copy link
Copy Markdown
Contributor Author

@cjihrig Actually I am working on another PR which will replace all the requires with const. Can we deal with it in that? Also, can you please trigger a CI run?

@bnoordhuis Sure, I ll change it when I am landing it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thefourtheye

thefourtheye commented Jul 29, 2015

Copy link
Copy Markdown
Contributor Author

CI: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/211/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Fishrock123
Fishrock123 reviewed Jul 29, 2015
View reviewed changes
Comment thread test/pummel/test-child-process-spawn-loop.js Outdated

@Fishrock123 Fishrock123 Jul 29, 2015

Copy link
Copy Markdown
Contributor

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.

Can we just use common.isWindows on line 28?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Fishrock123

Fishrock123 commented Jul 29, 2015

Copy link
Copy Markdown
Contributor

Mostly LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thefourtheye

thefourtheye commented Jul 29, 2015

Copy link
Copy Markdown
Contributor Author

@Fishrock123 You want to replace the variables with common.isWindows if they are used only once?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123

Fishrock123 commented Jul 29, 2015

Copy link
Copy Markdown
Contributor

@thefourtheye might as well.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thefourtheye
thefourtheye force-pushed the isWindows-consistent-fix branch 2 times, most recently from 89422b1 to 0dba4ed Compare July 30, 2015 06:19
@thefourtheye
test: using common.isWindows consistently
4c6280d
@thefourtheye
thefourtheye force-pushed the isWindows-consistent-fix branch from 0dba4ed to dcb2c68 Compare July 30, 2015 06:23
@thefourtheye

thefourtheye commented Jul 30, 2015

Copy link
Copy Markdown
Contributor Author

@Fishrock123 I did that change and I had to rebase, so that I can pull in #2265.

@bnoordhuis I fixed the commit line, PTAL.

CI run 2: iojs+any-pr+multi/213

Edit: Sorry, I pushed few more files. Restarting the CI and the latest is at iojs+any-pr+multi/215

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thefourtheye
Fishrock's suggestion
9d2cfcf
@thefourtheye
thefourtheye force-pushed the isWindows-consistent-fix branch from dcb2c68 to 9d2cfcf Compare July 30, 2015 06:33
@thefourtheye thefourtheye changed the title test: making isWindows check consistent with common test: using common.isWindows consistently Jul 30, 2015
@bnoordhuis

bnoordhuis commented Jul 30, 2015

Copy link
Copy Markdown
Member

I'd s/using/use/, that's the prevalent tense in commit messages. Ideally, you'd add one or two lines describing the what and why of the change but in this case it's pretty self-explanatory.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thefourtheye

thefourtheye commented Jul 30, 2015

Copy link
Copy Markdown
Contributor Author

@bnoordhuis ah, your original comment had use only. My bad. I ll fix it while landing :-)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thefourtheye

thefourtheye commented Jul 30, 2015

Copy link
Copy Markdown
Contributor Author

CI is almost green and about the SmartOS failure, @targos and @bnoordhuis are working on it in #2220

@cjihrig Oh sorry, I totally misunderstood what you were saying. BTW, as per Fishrock123's comments, I removed all those variables. Does it look fine to you now? cc @Fishrock123

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cjihrig

cjihrig commented Jul 30, 2015

Copy link
Copy Markdown
Contributor

Still LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Fishrock123
Fishrock123 reviewed Jul 30, 2015
View reviewed changes
Comment thread test/parallel/test-dgram-exclusive-implicit-bind.js Outdated

@Fishrock123 Fishrock123 Jul 30, 2015

Copy link
Copy Markdown
Contributor

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.

Might as well also do it here then?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@thefourtheye thefourtheye Jul 30, 2015

Copy link
Copy Markdown
Contributor Author

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.

And then I thought I covered everything :D

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Fishrock123

Fishrock123 commented Jul 30, 2015

Copy link
Copy Markdown
Contributor

LGTM.

You didn't have to change the ones that were used a bunch of times in the file, but, either way
¯\_(ツ)_/¯.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thefourtheye
Fixing one off case
55a7131
@thefourtheye

thefourtheye commented Jul 30, 2015

Copy link
Copy Markdown
Contributor Author

CI run 3: iojs+any-pr+multi/216/

I'll land this, if it turns green.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

thefourtheye added a commit that referenced this pull request Jul 30, 2015
@thefourtheye
test: use common.isWindows consistently
d5ab92b
In the tests, we use "process.platform === 'win32'" in some places.
This patch replaces them with the "common.isWindows" for consistency.

PR-URL: #2269
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
@thefourtheye

thefourtheye commented Jul 30, 2015

Copy link
Copy Markdown
Contributor Author

Thanks people. Landed at d5ab92b

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thefourtheye thefourtheye closed this Jul 30, 2015
@thefourtheye
thefourtheye deleted the isWindows-consistent-fix branch July 30, 2015 19:04
@rvagg rvagg mentioned this pull request Aug 4, 2015
Release proposal: v3.0.0 #2299
Merged
@aliscco aliscco mentioned this pull request Apr 26, 2023
[Snyk] Fix for 6 vulnerabilities aliscco/alisco-node#197
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@thefourtheye @cjihrig @bnoordhuis @Fishrock123
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.