Commit Graph

141 Commits

Author SHA1 Message Date
David Glasser
02b91c3dc4 only print override message if using warehouse 2013-03-29 11:52:33 -07:00
David Glasser
08efe48090 Print "as requested" message in meteor run
(maybe should be others too)
2013-03-29 11:52:33 -07:00
David Glasser
734c185a89 Call "uname plus arch" the "platform".
Normalize to _ (like dev bundle) rather than - (like old releases).
2013-03-29 11:52:33 -07:00
David Glasser
4e199eb07f look for an urlBase in release.json (to support binary packages later) 2013-03-29 11:52:32 -07:00
David Glasser
3c8f21a409 make TEST_WAREHOUSE_DIR a non-test thing called METEOR_WAREHOUSE_DIR
(the non-springboarding piece of that is now controlled by
METEOR_TEST_NO_SPRINGBOARD)

This means that run-all-tests.sh can use launch-meteor to bootstrap a warehouse
instead of starting with an empty warehouse directory (which is no longer
allowed).

also, fix npm module usage out of the bootstrap tarball: we were too liberal in
the "never update npm dependencies in the warehouse" rule since the bootstrap
tarball would contain packages with no node_modules (or if we had a failure
between downloading a package and running installNpmDependencies).  instead,
"never update npm dependencies in the warehouse if .npm/node_modules already
exists".
2013-03-29 11:52:32 -07:00
David Glasser
99ba22d2c4 Don't assign to exports. That breaks circular requires. 2013-03-29 11:52:32 -07:00
David Glasser
6b383db405 We can assume there is always a latest release installed now. 2013-03-29 11:52:32 -07:00
David Glasser
034a6b862d background update check, now with print-once-only banner 2013-03-29 11:52:32 -07:00
Nick Martin
f146c7383c Workaround issue with new node and old connect. Fixes #852
New node (0.8.21+) throws an error when path.join is passed null. Connect 1.9.2's static.send (used by gzippo) does this if you don't pass a 'root' option. Passing root: '/' works around this, but we should consider fixing the underlying issue, possibly by upgrading connect.
2013-03-25 15:22:15 -07:00
Andrew Wilcox
d5bfc0a3f3 Remove unneeded code to pass "this" to top-level code.
Reverts commit c1f2379710, as @glasser
discovered it isn't needed and so is an unnecessary complication.

Add a space after the leading "(function(){", to make generated code
easier to read.
2013-03-23 13:07:22 -07:00
Andrew Wilcox
661484fe14 spelling fix in test-packages help 2013-03-23 13:01:53 -07:00
David Glasser
c05b0dd652 fix release blessing 2013-03-22 23:39:10 -07:00
David Glasser
d5c85ec5c4 Overhaul release blessing process.
Blessing is now the time that bootstrap tarballs are created.

There's a banner that goes into the global manifest (stored in
scripts/admin/banner.txt).

The global manifest.json is now entirely generated: there's no record of the
current version stored in git.

Have not yet updated launch-meteor or install-template.sh or the fake release
for this brave new bootstrap world, or https://install-bootstrap.meteor.com/.
2013-03-22 19:15:18 -07:00
Nick Martin
9f397fbbdc Comment on API mismatch between with-dot and without. 2013-03-22 17:16:00 -07:00
Nick Martin
c905c7b001 Stylistic cleanups and finding on other place that needs findExtension 2013-03-22 16:52:35 -07:00
mquandalle
1ef7e770b0 2 new functions : files.findExtension and files.extname 2013-03-22 16:07:42 -07:00
mquandalle
72482ec07c Possibility to register multiple extensions such as '.coffee.md' Add the new registered_file_extension function Solve issue #830 2013-03-22 16:07:42 -07:00
David Glasser
bef03af0b2 Make --version/checkout logic more reasonable. 2013-03-22 15:06:37 -07:00
David Glasser
c489d44517 Update package NPM modules at most once per bundler run. 2013-03-21 16:10:14 -07:00
David Glasser
e070bf2771 "meteor run" exits on concurrent "meteor update" that would affect it 2013-03-21 15:33:44 -07:00
David Glasser
3cac15d23e Skip slow npm-update step for warehouse packages, which should be write-once. 2013-03-21 15:16:48 -07:00
David Glasser
664b98ba5e Make directories in the warehouse contain read-only files. 2013-03-21 15:16:48 -07:00
David Glasser
37e518c115 don't shrinkwrap-install things that we're about to (un/re)-install 2013-03-21 15:16:47 -07:00
David Glasser
aad4b377be don't watch warehouse "tools" files for reload 2013-03-21 01:29:46 -07:00
David Glasser
d714d1f792 support github tarballs as dependencies 2013-03-21 01:14:06 -07:00
David Glasser
4d5fa270ee Make _renameAlmostAtomically slightly more atomic.
This removes an existence check before a rename, and just tries the rename and
sees if it succeeds.
2013-03-20 23:39:15 -07:00
David Glasser
ac378fcefc Revert addition of Meteor.release to skel. 2013-03-20 18:03:07 -07:00
David Glasser
9fbe8e1599 change noMinify bundler option to minify 2013-03-20 17:56:04 -07:00
Naomi Seyfer
06b3e22c96 Merge branch 'test-in-phantom' into devel 2013-03-20 17:29:56 -07:00
David Glasser
eeab9aa6f6 Support test-packages --production. 2013-03-20 13:27:47 -07:00
Naomi Seyfer
62884e8cbe Started a package to allow you to run Meteor tests from the command line 2013-03-20 13:22:58 -07:00
David Glasser
2f1ef40f79 Support test-packages --settings. 2013-03-20 12:34:54 -07:00
David Glasser
212e3f2e8c Undocumented test-packages option to specify a different driver.
Will be used by Seismograph.
2013-03-20 12:10:07 -07:00
David Glasser
1b679236cb Delete chaff, such as install.sh 2013-03-20 00:32:00 -07:00
David Glasser
9898e7cff6 change message for meteor update in a checkout 2013-03-20 00:23:32 -07:00
David Glasser
652b9b9209 die if running a "none" app from warehouse without specifying --release 2013-03-20 00:22:39 -07:00
David Glasser
5410903696 message when running a versioned project from a checkout 2013-03-20 00:02:55 -07:00
David Glasser
dd6bf35b80 changelog -> notices 2013-03-19 23:45:06 -07:00
David Glasser
245c8b5d10 top-level help 2013-03-19 23:42:07 -07:00
David Glasser
487ce383fe update test-packages help 2013-03-19 23:39:18 -07:00
David Glasser
7712b3a077 replace --package-dir with the ability to specify paths to packages.
while I'm at it, fix it so that it actually works if the package's on_test tries
to use() itself (which is common). This previously did not work with
--package-dir
2013-03-19 23:25:21 -07:00
David Glasser
b1b707546d Copy test-runner-app to a temporary directory.
This allows multiple test-packages commands to run in parallel.

We make a best-effort attempt to clean them up on exit.
2013-03-19 22:34:44 -07:00
David Glasser
c08b54492e fix typo 2013-03-19 20:31:50 -07:00
David Glasser
764b4860ea pass context to runner 2013-03-19 19:56:15 -07:00
David Glasser
781eb54a5b calculate an appReleaseVersion 2013-03-19 19:42:08 -07:00
David Glasser
4ebb21c439 fix bug in context.appDir calculation 2013-03-19 19:39:02 -07:00
David Glasser
623ad4ae5f change "release" to "releaseStamp" in bundler options 2013-03-19 19:36:10 -07:00
David Glasser
fd6234525e simplify bundle options in deploy 2013-03-19 19:32:39 -07:00
David Glasser
10c995c549 refactor context, and maybe checkout #1 2013-03-19 19:27:21 -07:00
David Glasser
8a79edb43b "tools" -> "scripts", "engine" -> "tools" 2013-03-19 18:19:31 -07:00