1321 Commits

Author SHA1 Message Date
vasyl
1ba5bc0e1c #29 Remove code duplication for env. variables merge. Extract to a new function. 2014-11-27 12:44:23 +11: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
Unitech
636fd99c42 update isbinaryfile 2014-11-21 12:09:18 +01:00
Unitech
21306731e4 Move startLogging method into Utility.js to avoid memory overhead from Common.js 2014-11-21 12:04:43 +01:00
Alexandre Strzelewicz
217cecfbb4 Merge pull request #828 from Tjatse/development
fix: typo bugs
2014-11-21 11:57:10 +01:00
Alexandre Strzelewicz
16ef876b64 0.12.1 [ci skip] 2014-11-21 10:51:42 +01:00
Tjatse
bf32318b2a 1. Make sure directories of logs and pods exist before logging. 2. Refactor: put startLogging into Common. 2014-11-21 11:22:35 +08:00
Unitech
13d5baf6ba bash fix 2014-11-20 16:35:10 +01:00
Tjatse
6a2be4ccdb fix: a js file which name data.jsonable.js should not be treated as JSON. 2014-11-20 21:30:49 +08:00
Unitech
253640f792 keep return 2014-11-20 11:48:23 +01:00
Unitech
ae038d1e51 throttle tests 2014-11-20 11:39:30 +01:00
Unitech
f2a4ee4665 Revert "0.12.1"
This reverts commit d7656a9d9b2353ac68dfb44eb0ebc7c82693f387.
2014-11-20 01:06:42 +01:00
Unitech
71f85377c2 test pid file deletion in cluster mode 2014-11-19 16:18:58 +01:00
Joni Shkurti
74f2e657c5 Update PULL.md 2014-11-19 15:31:00 +01:00
jshkurti
0d309ed69d added table to doc PULL.md 2014-11-19 15:14:03 +01:00
jshkurti
e984220c7a typo fix 2014-11-19 14:50:17 +01:00
jshkurti
9d3a815789 doc for pull/backward/forward 2014-11-19 14:43:44 +01:00