Skip to content
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

makefile: added option for http clone of gcovr #24073

Closed
wants to merge 2 commits into from

Conversation

mritunjayz
Copy link
Contributor

Checklist

@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Nov 4, 2018
@Trott
Copy link
Member

Trott commented Nov 4, 2018

@nodejs/build-files

@Trott
Copy link
Member

Trott commented Nov 4, 2018

I don't think "try git protocol and then switch to https if it takes longer than 20 seconds" is a good approach. I also don't think that timeout is portable across all the platforms that run the Makefile such as macOS. The commit message needs to explain why this was added.

@Trott
Copy link
Member

Trott commented Nov 4, 2018

Applied this change, removed gcovr, and ran make coverage-build on macOS. Sure enough:

/bin/sh: timeout: command not found

It continued to run, which surprised me but makes sense now looking at the code.

@refack
Copy link
Contributor

refack commented Nov 4, 2018

I'd recommend simply switching the URI to https.

@Trott
Copy link
Member

Trott commented Nov 4, 2018

I'd recommend simply switching the URI to https.

Oh, yeah, that would at least make it consistent wherever git clone appears throughout the Makefile. @mritunjaygoutam12 What do you think?

@mritunjayz
Copy link
Contributor Author

I'd recommend simply switching the URI to https.

Oh, yeah, that would at least make it consistent wherever git clone appears throughout the Makefile. @mritunjaygoutam12 What do you think?

It will be fine to have one URI for git clone with http .
yeah, I missed it. Timeout is not portable for all platform.

@Trott
Copy link
Member

Trott commented Nov 4, 2018

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 4, 2018
@Trott
Copy link
Member

Trott commented Nov 8, 2018

Landed in 7cefc80

@Trott Trott closed this Nov 8, 2018
Trott pushed a commit to Trott/io.js that referenced this pull request Nov 8, 2018
PR-URL: nodejs#24073
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
BridgeAR pushed a commit that referenced this pull request Nov 14, 2018
PR-URL: #24073
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
kiyomizumia pushed a commit to kiyomizumia/node that referenced this pull request Nov 15, 2018
PR-URL: nodejs#24073
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
codebytere pushed a commit that referenced this pull request Nov 29, 2018
PR-URL: #24073
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
MylesBorins pushed a commit that referenced this pull request Nov 29, 2018
PR-URL: #24073
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
@codebytere codebytere mentioned this pull request Nov 29, 2018
MylesBorins pushed a commit that referenced this pull request Dec 3, 2018
PR-URL: #24073
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants