Tim Abbott
59abefa616
node_cache: Extract cached_node_modules variable.
2017-07-21 17:28:20 -07:00
Tim Abbott
5d05cc7294
scripts: Rename NPM_CACHE_PATH to NODE_MODULES_CACHE_PATH.
2017-07-21 17:28:20 -07:00
neiljp (Neil Pilgrim)
8433d95d99
mypy: Make success_stamp parameter to do_npm_install be required.
2017-07-08 10:49:42 -07:00
Aditya Bansal
e4af0caddb
node_cache.py: Refactor to seperate out sha1sum generation.
...
Basically we just seperate out the sha1sum generation for the
node modules so that it can be reused later for cache clearance
logic. This is achieved by adding a function which returns the
sha1sum based HEX digest.
2017-06-19 07:55:23 -04:00
Tim Abbott
95a49f6ea2
node_cache: Fix buggy production deployment code.
...
The previous version of the production deployment code for release
tarballs did not correctly install the node_modules directory.
2016-12-08 10:34:04 -08:00
Tim Abbott
8e82257444
Fix node_cache code to not require root.
...
The previous code caused problems using a system where the zulip user
doesn't have sudo rights.
2016-10-25 17:52:19 -07:00
Tim Abbott
41b0079ab2
node_cache: Fix success_stamp logic.
...
Previously, success_stamp was touched whenever we used a particular
node_modules version; it makes more sense to only touch it when the
node_modules directory has actually changed.
2016-10-25 17:52:17 -07:00
Tim Abbott
7c16172f9e
node_cache: Fix buggy annotations for stdout/stderr.
2016-10-15 22:53:28 -07:00
Tim Abbott
9c0c6c0c23
node_cache: Don't make node_modules symlinks as root.
2016-09-28 00:36:40 -07:00
Umair Khan
ec74974de3
Create node_cache module for npm caching.
2016-09-16 12:40:48 -07:00