FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tools: do not rewrite npm shebang in install.py by evanlucas · Pull Request #6098 · nodejs/node · GitHub

/ node Public

tools: do not rewrite npm shebang in install.py - #6098

Closed
evanlucas wants to merge 1 commit into
nodejs:masterfrom
evanlucas:6095
Closed

tools: do not rewrite npm shebang in install.py#6098
evanlucas wants to merge 1 commit into
nodejs:masterfrom
evanlucas:6095

Conversation

Copy link
Copy Markdown
Contributor
Checklist
  • the commit message follows commit guidelines
Affected core subsystem(s)

tools

Description of change

It violates user expectations among other things.

The shebang in npm.js is kept as #!/usr/bin/env node.

See #6095 for more details

It violates user expectations among other things.

The shebang in npm.js is kept as #!/usr/bin/env node.

Fixes: nodejs#6095
evanlucas added semver-major PRs that contain breaking changes and should be released in the next major version. tools Issues and PRs related to the tools directory. labels Apr 7, 2016
evanlucas added this to the 6.0.0 milestone Apr 7, 2016
mscdex added the npm Issues and PRs related to the npm client dependency or the npm registry. label Apr 7, 2016

Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Contributor

Just making sure I understand what is going on 100%. In the past we would load the file and rewrite it to change the shebang. The change removes the bits that did that leaving the shebang exactly the way it was.

If my assumptions are correct LGTM

Copy link
Copy Markdown
Contributor Author

@thealphanerd correct

jasnell commented Apr 7, 2016

Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Contributor Author

Copy link
Copy Markdown
Contributor Author

hmmm failed again. Trying again https://ci.nodejs.org/job/node-test-pull-request/2222/

Copy link
Copy Markdown
Member

LGTM

jasnell pushed a commit that referenced this pull request Apr 9, 2016
Rewriting npm shebang in install.py violates user expectations
among other things.

The shebang in npm.js is kept as #!/usr/bin/env node.

Fixes: #6095
PR-URL: #6098
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>

jasnell commented Apr 9, 2016

Copy link
Copy Markdown
Member

Landed in 8ffa20c

jasnell closed this Apr 9, 2016
evanlucas deleted the 6095 branch April 10, 2016 03:40
jasnell pushed a commit that referenced this pull request Apr 26, 2016
Rewriting npm shebang in install.py violates user expectations
among other things.

The shebang in npm.js is kept as #!/usr/bin/env node.

Fixes: #6095
PR-URL: #6098
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
gibfahn mentioned this pull request Apr 29, 2016
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

Labels

npm Issues and PRs related to the npm client dependency or the npm registry. semver-major PRs that contain breaking changes and should be released in the next major version. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL