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

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

Closed
wants to merge 1 commit into from

Conversation

evanlucas
Copy link
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 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 evanlucas added this to the 6.0.0 milestone Apr 7, 2016
@mscdex mscdex added the npm Issues and PRs related to the npm client dependency or the npm registry. label Apr 7, 2016
@bnoordhuis
Copy link
Member

LGTM

@MylesBorins
Copy link
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

@evanlucas
Copy link
Contributor Author

@thealphanerd correct

@jasnell
Copy link
Member

jasnell commented Apr 7, 2016

LGTM

@evanlucas
Copy link
Contributor Author

@evanlucas
Copy link
Contributor Author

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

@jbergstroem
Copy link
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
Copy link
Member

jasnell commented Apr 9, 2016

Landed in 8ffa20c

@jasnell jasnell closed this Apr 9, 2016
@evanlucas 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 gibfahn mentioned this pull request Apr 29, 2016
1 task
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