David Glasser
203a82d9b9
Fix race condition in 'meteor mongo'.
...
The 'exit' event on a ChildProcess doesn't necessarily occur before all the
'data' events on its stdio, so sometimes 'meteor mongo' didn't find the
process. We should have been using the 'close' event. Switch from
child_process.spawn to child_process.exec, which simplifies the code and uses
the right event.
2013-01-03 09:29:52 -08:00
David Glasser
2d7d419ef8
Add a comment about the now-undocumented meteor run --once.
2013-01-02 17:48:43 -08:00
David Glasser
dd5bf80f5b
Make the modification needed for testing the updater simpler.
2012-12-31 11:48:44 -08:00
David Glasser
45a19ee918
Re-run app when --settings file changes.
2012-12-29 13:28:17 -08:00
David Glasser
cf4190e9c0
Increment version to 0.5.3.
2012-12-23 12:36:05 -08:00
David Glasser
13074d58b9
Remove two copies of underscore.js from Meteor, using NPM package instead.
...
Follow-up to 27382c6 . A step towards addressing issue #302 .
We still have one copy in the underscore smart package, for serving to clients.
2012-12-21 11:20:01 -08:00
Naomi Seyfer
a744cbd9e8
Print a warning when you try to reset a deployed app, regarding how to actually dwym
2012-12-19 14:19:14 -08:00
David Greenspan
27382c62ee
meteor.js: wrap in Fiber, use npm underscore
...
Conflicts:
app/meteor/meteor.js
2012-12-18 16:49:51 -08:00
Naomi Seyfer
e0532012f6
Remove --debug option, replace with general NODE_OPTIONS env var
2012-12-18 15:35:35 -08:00
Naomi Seyfer
7724c7ef7f
Changed from a fake enum thing to just strings for debug opts
...
Taking Geoff's advice. Also adjusting the docstrings in the usage
for --debug and --debug-brk
2012-12-12 12:53:39 -08:00
Naomi Seyfer
9bc802b3f6
Added file with library of mongo exit codes
...
Make meteor clearer about why mongo exited.
test for one possible mongo badness
Only print explanation if we have it
2012-12-07 11:27:18 -08:00
David Glasser
8916b1cd02
Don't add '.meteor.com' to deployed app names (the server will do that now and
...
return the site URL).
2012-12-06 16:45:01 -08:00
Naomi Seyfer
325b93e6ea
Add newline
2012-12-06 14:28:27 -08:00
Naomi Seyfer
16fff9ea48
Fixed documentation to talk about unsetting
2012-12-06 14:21:42 -08:00
Naomi Seyfer
ad45a0854b
Passing an empty settings file unsets settings on deploy
2012-12-06 14:21:42 -08:00
Naomi Seyfer
3f8b7c9b78
More code review comments; simplifying mongo kill
2012-12-06 14:21:42 -08:00
Naomi Seyfer
0531db7dcb
Adjusting code as per code review comments
2012-12-06 14:21:42 -08:00
Naomi Seyfer
dc47e4304c
Geoff comments on usage text
2012-12-06 14:21:42 -08:00
Naomi Seyfer
67c37b9d41
removed extraneous console.log
2012-12-06 14:21:42 -08:00
Naomi Seyfer
8769274e76
Settings working with meteor deploy
2012-12-06 14:21:42 -08:00
Naomi Seyfer
fb1d2b319a
Tests for --settings, and also Nick's review comments
2012-12-06 14:21:42 -08:00
Naomi Seyfer
4d5498424a
launch_mongo now returns a handle that can stop the mongo proc
2012-12-06 14:21:42 -08:00
Naomi Seyfer
24e70fda21
Find mongo and kill it dead on --once exit
2012-12-06 14:21:42 -08:00
Naomi Seyfer
29a0391c32
Plumbed settings & once through run
...
--settings - specify a JSON file to use as settings for your app, which
will appear in Meteor.settings as an object
--once - only run once. Exit with whatever exit code your app produced.
2012-12-06 14:21:42 -08:00
Naomi Seyfer
196d52eeae
Read a settings file in meeteor run
...
For now, do nothing with it. Constructing the framework
to pass it to the running app, bit by bit
2012-12-06 14:21:42 -08:00
Naomi Seyfer
cc2dcd573d
Change start_server to use options call format
2012-12-06 14:21:42 -08:00
David Greenspan
b4fae6212b
Rename variables in bundler with identical names
...
api -> declarationFuncs for top-level Package.on_use etc
on_{use,test} -> on_{use,test}_handler when stored
2012-12-04 17:21:16 -08:00
Naomi Seyfer
7bfa178bbd
Clean up & style-ify debug and debug-brk options
...
* --debug-brk instead of --debug_brk to match node.js
* Use an enum passed through functions instead of global vars
2012-12-03 12:02:12 -08:00
Naomi Seyfer
3367cf0840
Merged jwulf change to start inner server with debug.
2012-12-03 10:17:50 -08:00
David Glasser
6d1c0a7c93
Merge branch 'master' into devel
2012-11-27 10:32:57 -08:00
David Glasser
68db80f500
Update version number to 0.5.2.
2012-11-27 08:43:29 -08:00
David Greenspan
95f0278cb9
semicolons
2012-11-21 19:42:10 -08:00
Nick Martin
83386b23d9
Bump version number to 0.5.1.
2012-11-15 23:14:19 -08:00
Nick Martin
34b7bdbbac
Bump underscore version.
2012-11-15 20:44:56 -08:00
David Greenspan
298823686f
improved error on deploy with no network
2012-11-13 16:35:36 -08:00
David Glasser
cb464b7ee4
For both CLI meteor and the server, require up-to-date Node.
...
We allow Node versions later than the version in the dev bundle (which is the
version that is used for pre-release QA) but not earlier.
2012-11-05 14:04:48 -08:00
David Glasser
89730bcfcb
Follow-up to ed0c21ad.
2012-11-05 13:34:21 -08:00
David Glasser
ed0c21ad37
meteor update: put old directory at meteor.old, not meteo.old.
2012-11-05 12:18:11 -08:00
Nick Martin
ef7d5f6b80
Missing path.join.
2012-10-30 16:00:44 -07:00
Tom Wijsman
8f83b2c32e
Made sure all file system related statements use proper path.join and path.sep to support other platforms.
2012-10-30 15:53:49 -07:00
Joshua Wulf
c264998279
added --debug and --debug_brk options to meteor run
2012-10-21 00:08:00 -04:00
Nick Martin
6dfb976104
Bump version number for 0.5.0.
2012-10-12 21:17:18 -07:00
David Glasser
41cc24d9e7
Merge branch 'devel' into auth
...
Pulls in Meteor._ContextSet, bumps version to 0.4.2, etc.
2012-10-06 11:10:56 -07:00
David Glasser
71851fef89
Merge branch 'devel' into auth
...
Conflicts:
app/meteor/skel/.meteor/packages
examples/leaderboard/.meteor/packages
packages/livedata/livedata_connection.js
2012-10-01 20:07:27 -07:00
David Glasser
5eb81e920d
Increment version to 0.4.2.
2012-10-01 18:25:18 -07:00
David Greenspan
f3f64922c4
Merge branch 'preserve-inputs' into devel
2012-09-29 13:26:23 -07:00
David Greenspan
b995d4751a
add preserve-inputs package to skel and more examples
2012-09-28 13:23:30 -07:00
David Glasser
5470b3f511
Merge branch 'devel' into auth
2012-09-27 13:51:21 -07:00
David Glasser
c4f977588a
Replace our custom non-blocking stdin hack.
...
Instead:
- Upgrade to node v0.8.10, which includes the fix to
https://github.com/joyent/node/issues/3994 , to fix "meteor mongo".
- To fix "meteor deploy" in emacs shell, use a hack to revert the O_NONBLOCK
setting after process.stdin is evaluated: since the 3994 fix only applies
when something is spawn'd, make sure to spawn 'true' after evaluating
process.stdin.
- In our node.sh script, if in emacs shell, use Perl to make stdin
non-blocking after node exits. This makes the Node REPL work.
2012-09-27 12:39:01 -07:00
Nick Martin
3feefd3cda
Merge remote-tracking branch 'origin/devel' into auth
2012-09-24 22:36:15 -07:00