1336 Commits

Author SHA1 Message Date
Unitech
820672caa3 Add units in doc 2014-11-28 11:44:25 +01:00
Unitech
1aadc4fd9d update CHANGELOG.md 2014-11-28 11:39:13 +01:00
Alexandre Strzelewicz
677e9b3cec Merge pull request #847 from koresar/development
Allow env vars per each ecosystem's deploy
2014-11-28 11:35:26 +01:00
Alexandre Strzelewicz
826d5e7e64 Merge pull request #849 from Tjatse/development
TreeKill lib
2014-11-28 11:35:08 +01:00
Tjatse
e3b205ee47 fix: pid must be a Number 2014-11-28 17:17:13 +08:00
Tjatse
adb6c6b2f1 fix: delay should be greater than 800ms 2014-11-28 16:19:16 +08:00
Tjatse
11fe5f4bf6 Reference treekill lib from the original one but not a copy, and make it works more stabler && highly performance. 2014-11-28 11:54:21 +08:00
jshkurti
f4d6a29fea little fix 2014-11-27 12:15:04 +01:00
vasyl
8dfc2e07af #29 Change priority: lowest is deploy.dev.env, then app.env, and highest is app.env_dev. Update docs. Update sample ecosystem.json when doing pm2 ecosystem. 2014-11-27 19:37:21 +11:00
vasyl
3170152036 #29 Additional check for envName 2014-11-27 15:01:37 +11:00
vasyl
dd7b6ead22 #29 Comment amendment. 2014-11-27 14:02:02 +11:00
vasyl
1148b4efb7 #29 Create a test for the new functionality. Fix a found bug. 2014-11-27 13:58:10 +11:00
vasyl
1941a69a7b #29 Minor code cleanup. 2014-11-27 13:08:38 +11:00
vasyl
22a520501e #29 Merge 'deploy.[ENVNAME].env' values to the environment variables object. 2014-11-27 13:01:48 +11:00
vasyl
1ba5bc0e1c #29 Remove code duplication for env. variables merge. Extract to a new function. 2014-11-27 12:44:23 +11:00
Tjatse
2cc824c744 do not strip quotes in sentence 2014-11-26 22:01:14 +08:00
Jun
9ee30fba62 Merge pull request #843 from Tjatse/development
fix: match more complex arguments
2014-11-26 21:28:39 +08:00
Tjatse
7053921785 fix: match more complex arguments 2014-11-26 21:03:03 +08:00
Jun
3143ed21b3 Merge pull request #2 from Unitech/development
Development
2014-11-26 16:57:04 +08:00
Alexandre Strzelewicz
60f6c35910 Inform cluster in beta after processing exec mode 2014-11-26 01:16:06 +01:00
Unitech
0b3a2c693e State ERRORED_STATUS like stopped/stopping - calling reloadProcessId restart if app stopped or not cluster_mode (fix pull&reload bug) - change exec logic order - flattify Methods.backward 2014-11-26 01:03:53 +01:00
Unitech
1244da156b homogeneize option parsing logic between JSON and CLI execution - cancel JSON execution if there are errors - cleanly exit PM2 CLI with exitCli() 2014-11-25 22:19:02 +01:00
Unitech
007231a042 allow array and string for watch option -- add some tests for JSON validation 2014-11-25 18:14:27 +01:00
Unitech
04bbcc73db merge from master 2014-11-25 17:04:40 +01:00
Unitech
69ea82d327 add Jun Tjatse as contributor and maintainer 2014-11-25 17:03:28 +01:00
Unitech
11b4327fc0 update CHANGELOG.md 2014-11-25 17:01:21 +01:00
Alexandre Strzelewicz
82465733dc Merge pull request #838 from Tjatse/development
Revisions for dev branch
2014-11-25 16:59:42 +01:00
jshkurti
f1f829c8b8 Now Worker:Refresh is only applied to ahead and unstaged flags 2014-11-25 15:03:28 +01:00
Tjatse
b6c3b11e4f clean logs 2014-11-25 15:34:02 +08:00
soyuka
522bac8500 fix #825 - bump isbinary 2014-11-25 08:21:35 +01:00
Antoine Bluchet
c958df9dc8 Merge pull request #836 from treblam/fix_cwd_bug
Fix the wrong base path bug when there is cwd in JSON app declaration
2014-11-24 21:53:41 +01:00
Tjatse
5c5105a681 default unit of --max-memory-restart is byte now. 2014-11-24 17:17:10 +08:00
Tjatse
8d6e7aebe3 1. add post_update schema; 2. fix log path bug. 2014-11-24 17:16:26 +08:00
Tjatse
d7aadc9bf4 rename: Common.resolveAppPaths -> `Common.prepareAppCo 2014-11-24 15:17:22 +08:00
Tjatse
1e017a546e recommends 2014-11-24 15:14:38 +08:00
Tjatse
744fa4dae2 rename: Common.resolveAppPaths -> Common.prepareAppConf 2014-11-24 14:56:37 +08:00
Tjatse
0c31dede26 1. Validate Commander options && JSON key-values and make options briefness and easy configuration. 2. Refactor start/restart 2014-11-24 14:44:20 +08:00
Tjatse
cce859a338 CLI ignore_watch supports 2014-11-24 14:41:32 +08:00
Tjatse
7e2e987a0e schema docs 2014-11-24 14:40:43 +08:00
Jamie
2d42e6cfa6 Merge branch 'master' of https://github.com/Unitech/PM2 into fix_cwd_bug 2014-11-23 22:36:45 +08:00
Jamie
29e062e0ca small changes 2014-11-23 22:33:45 +08:00
Antoine Bluchet
d54babd74f Mention #837 EACCESS 2014-11-23 15:31:47 +01:00
Jamie
6a5712814e fix the directory or file not found bug when there is cwd key in JSON app declaration 2014-11-23 00:08:30 +08:00
Tjatse
167c7a57e5 1. Reload env graceful and peaceful, 2. Unify appConf - rename ignoreWatch to ignore_watch 2014-11-22 09:26:55 +08:00
Jun
126fecfba2 Merge pull request #1 from Unitech/development
merge dev-branch from Unitech/PM2
2014-11-22 08:22:25 +08:00
jshkurti
c2e3581cb5 Worker: restart process if using 0 memory and status equals ONLINE 2014-11-21 16:53:14 +01:00
Joni Shkurti
d3d2bcc179 Update PULL.md 2014-11-21 16:38:02 +01:00
jshkurti
402190264f CLI Feature added: pm2 pull <name> [commit_id] // goes to commit_id if specified 2014-11-21 15:46:09 +01:00
Joni Shkurti
c0143cc5da Update ActionMethods.js 2014-11-21 14:54:00 +01:00
Unitech
197781ed57 check reload logs and avoid cb if error 2014-11-21 14:46:13 +01:00