Commit Graph

3688 Commits

Author SHA1 Message Date
Slava Kim
8098dbdc03 Make line number a number and add comments. 2013-05-23 13:43:50 -07:00
Slava Kim
bab43785d8 Fix comment. 2013-05-23 12:16:13 -07:00
Slava Kim
8db6438fb5 Log methods add file name and line number. 2013-05-23 12:11:21 -07:00
Slava Kim
361d121934 Add license for nlogger. 2013-05-23 11:04:19 -07:00
Emily Stark
d57b2e2b4d Make publishCursor a static method on Meteor.Collection.
Allows you to publish a LocalCollection cursor more easily.
2013-05-22 18:13:36 -07:00
Emily Stark
5a84a01d17 Change objFromText to Log.objFromText 2013-05-22 18:13:16 -07:00
Emily Stark
d0f042eb82 Decide the dev bundle's architecture at runtime.
On OSX, we require sysctl to be in /usr/sbin, whereas in other scripts where
this code is duplicated (e.g. scripts/admin/launch-meteor), the assumption is
that sysctl is on the PATH.
2013-05-22 17:36:08 -07:00
Emily Stark
92406c1e3e Add objFromText to Log object because it's used from satellite 2013-05-22 17:36:08 -07:00
Slava Kim
f6f69abd0b Remove one-time methods, split printColorfullyTextOrJSON 2013-05-22 16:36:10 -07:00
Slava Kim
6773112254 Print stderr with colors. 2013-05-22 15:22:01 -07:00
Slava Kim
3daf6a733b Improve 'Log.printColorfullyFromTextOrJSON' method 2013-05-22 14:08:28 -07:00
Slava Kim
1be18e2538 Fix indentation, add comments. 2013-05-22 13:22:07 -07:00
Slava Kim
77092dfe1d Add method that prints object and falls back to printing string. 2013-05-22 11:43:57 -07:00
Emily Stark
4ecd7c32b4 Print a nice error message when fetching dev bundle if no DATA_DIR set 2013-05-22 11:40:52 -07:00
Emily Stark
9d72fb5b86 Merge branch 'translator' into linker 2013-05-22 11:36:17 -07:00
Emily Stark
157a5a04ce Rename dev-bundle to dev-bundle-fetcher 2013-05-22 11:35:33 -07:00
Emily Stark
701fbc58dd Add comment to shell script plugin 2013-05-22 11:35:33 -07:00
Emily Stark
5b419582d0 Remove shell script plugin from star-translate
(It exists in dev-bundle now)
2013-05-22 11:35:33 -07:00
Emily Stark
c06ed089ff Change satellite translator to star translator in translated manifest 2013-05-22 11:35:33 -07:00
Emily Stark
0866b15814 Add star-translate and dev-bundle packages
dev-bundle exposes the shell script that downloads the dev bundle. We need this
in a package because both star-translate and tools/bundler.js need access to it.
2013-05-22 11:35:33 -07:00
David Glasser
2aec63463b fix bundler tests 2013-05-21 18:03:41 -07:00
David Glasser
560302954b Change logging colors. cyan is too hard to read on white background. 2013-05-21 18:03:41 -07:00
Naomi Seyfer
f634817b79 Produce a mutable exported TEST_STATUS object for test-in-console 2013-05-21 17:54:51 -07:00
Slava Kim
6a05987abb Keep meteor package first. 2013-05-21 17:15:38 -07:00
David Glasser
8eeb9e97ef When running "meteor deploy --star", you don't need to be in an app dir. 2013-05-21 17:11:37 -07:00
Emily Stark
4616ac47fd Merge branch 'assetdir-fix' into linker 2013-05-21 17:07:43 -07:00
Slava Kim
7510d202e8 Extract logFromText into logging package.
So we can reuse it.
2013-05-21 16:58:53 -07:00
Slava Kim
e5b0377e3f Add 'logging' to the list of default packages. 2013-05-21 16:01:30 -07:00
Naomi Seyfer
5a26bbf502 export DONE and FAILURES so test runs can know when they are done 2013-05-21 15:51:47 -07:00
Naomi Seyfer
dfdbbe6f16 make deploy work again by making the bundler stub main.js add program.json to the command line 2013-05-21 15:42:30 -07:00
Slava Kim
575dd33cae Fix subscribeAndWait. 2013-05-21 15:27:27 -07:00
Naomi Seyfer
770948338b Fixing various bugs that keep seismograph from running tests. Mostly package.js stuff 2013-05-21 15:19:01 -07:00
Slava Kim
a959c011a8 Add synchronous version of subscribe. 2013-05-21 15:17:11 -07:00
Slava Kim
c9d71aa38f Expose the 'close' method for mongo driver. 2013-05-21 14:32:06 -07:00
Naomi Seyfer
55fbfcb6f3 fix package.js of test-in-console 2013-05-21 13:55:39 -07:00
Emily Stark
7a73122352 Revert "Remove references to assetPathPrefix that I missed"
This reverts commit c45952df35ed949bda65b13e3e7fef9a0d9474d5.
2013-05-21 11:10:16 -07:00
Emily Stark
5c6617660d Fix stomped-on assetPathPrefix in addAssetDir 2013-05-21 11:10:16 -07:00
Emily Stark
75d9f04c5d Add test for bundling apps with public/ directories 2013-05-21 11:10:15 -07:00
Emily Stark
91e715b584 Revert "Fix addAssetDir bugs"
This reverts commit 5a3baa592cf1d4f5b14eddf2ac760886d81a6737.

Conflicts:
	tools/bundler.js
2013-05-21 11:10:15 -07:00
estark37
e6e509ad86 Remove references to assetPathPrefix that I missed 2013-05-21 11:10:15 -07:00
estark37
e91ec6b853 Remove unused var assetPath 2013-05-21 11:10:15 -07:00
estark37
b1c3dc40bd Fix addAssetDir bugs
One bug (I think) was the the assetPath argument to walk() was getting stomped
on and therefore not being used, so I removed the argument. Another bug was that
the url for an asset was being set from the file's absolute path.
2013-05-21 11:10:15 -07:00
Avital Oliver
b56d4fad24 Export mongo timestamp type 2013-05-20 20:22:37 -07:00
Naomi Seyfer
d716da7746 Allow you to directly deploy a star file 2013-05-20 18:13:30 -07:00
estark37
75c0c43c47 Prevent ctl from choosing a port at random.
When deploying an app to galaxy, localPort: 0 in the deployConfig was overriding
the port assigned by satellite to the server, so the server's port was being
chosen at random, so I removed localPort from the deployConfig. (Not 100% sure
this is the right fix.)
Deploying a simple app to galaxy works now, woohoo!
2013-05-17 22:43:56 -07:00
estark37
07c5d2bb65 Send port to proxy as Number, not string 2013-05-17 22:43:56 -07:00
estark37
372a16e6ce Factor out most of ctl into a ctl-helper package
We use ctl-helper on galaxy in the proxy control program.
2013-05-17 22:43:56 -07:00
estark37
067ac21371 Put ctl in meteor instead of galaxy 2013-05-17 22:43:56 -07:00
estark37
9feabf41c2 Progress towards deploying apps to galaxy
Mostly changing "service" to "app"
2013-05-17 22:43:56 -07:00
David Glasser
957729c8ce Get run-tools-tests.sh passing.
In addition to minor "make the tests match the code" changes, there's also:

 - missing require('tar') in tarball download code
 - fix an fd leak in the bundler that was causing EMFILE on mac
 - switch run.js to listening for 'exit' to 'close' so that the end
   of stdout/err can be read
 - some concerningly necessary deletions of .build directories

Also, the version of cli-test.sh that runs against a fixed release is disabled,
since we're not building releases with the new package format for now.
2013-05-17 18:19:20 -07:00