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

Simplify use of binaries off a local artifactory #416

Closed
wants to merge 7 commits into from

Conversation

ilatypov
Copy link

Allow installing a package with many dependent packages using node-pre-gyp binaries off the same local artifactory.

Avoid erasing the subpath in the mirror value.

Corrects #415 .

ilatypov added a commit to ilatypov/node.bcrypt.js that referenced this pull request Aug 31, 2018
Revert to using a deep path so that the local artifactory can host gyp binaries of different packages.

A small change in node-pre-gyp will allow to use a single .npmrc variable to host binary requisites for many packages in one enterprise artifactory.

mapbox/node-pre-gyp#416
Allow installing a package with many dependent packages using node-pre-gyp binaries off the same local artifactory.

Avoid erasing the subpath in the mirror value.
Passing a tool-specific define confused gyp that expects tool-agnostic defines.

nodejs/node-gyp#180
Follow node-pre-gyp treating --NAME=VALUE but not -DNAME=VALUE options specially.

Correct tests for Windows binary output paths shown by the build tool.
Follow "node-gyp configure" and "rebuild" taking unparsed options where "node-gyp build" does not.

https://github.com/nodejs/node-gyp/blob/master/lib/rebuild.js

Correct the expectations of build output paths according to the directory separator.

Simplify passing the "variables".
Also expect a PDB output on Windows.
..until fixing command line processing in Windows broken by a change making multi-target invokation possible in Windows, just like in other OSes,

nodejs/node-gyp#1164

The change did not account for the special case of passing a define on command line.
@kewde
Copy link

kewde commented Nov 26, 2018

The patch you submitted wouldn't work for all cases (/p: for example), I've submitted nodejs/node-gyp#1616 to get rid of it all.

recrsn pushed a commit to ilatypov/node.bcrypt.js that referenced this pull request Jun 1, 2020
Revert to using a deep path so that the local artifactory can host gyp binaries of different packages.

A small change in node-pre-gyp will allow to use a single .npmrc variable to host binary requisites for many packages in one enterprise artifactory.

mapbox/node-pre-gyp#416
@springmeyer
Copy link
Contributor

sorry nobody reviewed this promptly @ilatypov - since enough time has passed and the code in master has changed, I'd like to ask you to re-create this PR and provide a new one if this is still needed. thanks.

@springmeyer springmeyer closed this Feb 9, 2021
fast-facts pushed a commit to fast-facts/node.bcrypt.js that referenced this pull request Jun 17, 2022
Revert to using a deep path so that the local artifactory can host gyp binaries of different packages.

A small change in node-pre-gyp will allow to use a single .npmrc variable to host binary requisites for many packages in one enterprise artifactory.

mapbox/node-pre-gyp#416
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants