Last modified: 2014-11-17 21:35:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63502, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61502 - npm install needs to be run on "vagrant provision" for guests using vagrant-proxyconf
npm install needs to be run on "vagrant provision" for guests using vagrant-p...
Status: NEW
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-18 17:39 UTC by Mark A. Hershberger
Modified: 2014-11-17 21:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark A. Hershberger 2014-02-18 17:39:25 UTC
The image doesn't include npm and vagrant-proxyconf can only configure npm's proxy once it is installed.  This means that npm needs to be run on "vagrant provision".
Comment 1 Ori Livneh 2014-04-16 01:53:58 UTC
This seems like a legitimate bug, but I have a hard time figuring out what is actually broken. What are you expecting, and what is the actual behavior?
Comment 2 Andre Klapper 2014-07-03 21:39:03 UTC
hexmode: Can you please answer comment 1?
Comment 3 Mark A. Hershberger 2014-07-04 13:06:35 UTC
(In reply to Ori Livneh from comment #1)
> This seems like a legitimate bug, but I have a hard time figuring out what
> is actually broken. What are you expecting, and what is the actual behavior?

I'm working on other things right now, so I can't say for sure what the problem is, but as I recall, mw-vagrant would try to invoke npm before its proxy was configured.

Re-reading my explanation, though, I'm not sure how npm could be run without a proxy (since evidently apt needs to have its proxy configured).

Hrm... but perhaps this is an interaction between vagrant-proxyconf and mw-vagrant.  Maybe this fails if you enable the ve role and then run provision.  npm would then be installed but the npm-based installations would fail because its proxy isn't configured.

In this case, If vagrant-proxyconf might (or might not, I don't recall) configure the npm proxy on the next provision.  Would mw-vagrant try to re-run the npm installations after that?

Sorry, I'll try to provide a better explanation after I retry the scenario.
Comment 4 Bryan Davis 2014-11-17 21:35:40 UTC
Bulk unassigning bugs from Ori.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links