Commit Graph

170 Commits

Author SHA1 Message Date
David Glasser
4b91013be8 Don't print a message at the end of running the install script. 2013-03-30 00:08:22 -07:00
David Glasser
421bd951c7 in update message, only print basename 2013-03-29 22:57:12 -07:00
David Glasser
88dedc5503 add newlines to "meteor deploy" output
this way any NPM lines between "bundling..." and "uploading..." are less jarring
2013-03-29 22:49:53 -07:00
David Glasser
e989706d51 avoid creating temporary package NPM dirs when nothing has changed 2013-03-29 22:41:57 -07:00
David Glasser
081a517baa npm update message: don't include version (which can be long and ugly) 2013-03-29 22:37:27 -07:00
David Glasser
fe1d61db40 more effective detection of stdout/err use for restart message 2013-03-29 22:27:51 -07:00
David Glasser
912e36ad3f move --get-ready comment 2013-03-29 22:21:04 -07:00
David Glasser
55fbe16acf slightly better short description for update 2013-03-29 21:45:53 -07:00
David Glasser
de753799ba fix typo in notices support 2013-03-29 18:54:35 -07:00
David Glasser
8ed6e80771 notice printing, as per script 2013-03-29 18:30:17 -07:00
David Glasser
8e550dfe9a add more spacing around banner 2013-03-29 18:03:02 -07:00
David Glasser
8c8fea17c4 don't print overriding message when overriding "none" 2013-03-29 16:23:24 -07:00
David Glasser
c28c7db3e0 wrap some text 2013-03-29 16:23:14 -07:00
David Glasser
526320ca05 fix --release with releases where you already have all the pieces 2013-03-29 16:09:14 -07:00
David Glasser
e072540031 - better errors when running "meteor update" or a command with an unknown
release while offline
- fix "meteor help update"
- add an OfflineError to files.getUrl
- factor out die into a logging package
2013-03-29 15:40:26 -07:00
David Glasser
b6e4398aef fix comment (thanks @awwx) 2013-03-29 11:52:34 -07:00
David Glasser
331654c0b8 basic pass on making updater reasonable. 2013-03-29 11:52:34 -07:00
David Glasser
513a6f2571 oops, no-* is specially handled 2013-03-29 11:52:34 -07:00
David Glasser
068774147c unbreak running from git 2013-03-29 11:52:34 -07:00
David Glasser
1ceef40beb apps with no release file are now assumed to be the latest release, not 0.6.0 2013-03-29 11:52:34 -07:00
David Glasser
8d8bacd9a9 checkpoint for upgrade-to-engine.sh 2013-03-29 11:52:34 -07:00
David Glasser
b38bfe299d A newline 2013-03-29 11:52:33 -07:00
David Glasser
ab96ca29e8 don't ever call releaseManifestByVersion from the background 2013-03-29 11:52:33 -07:00
David Glasser
250b9b9826 fresh files 2013-03-29 11:52:33 -07:00
David Glasser
1dda5a05a3 Add another newline in overriding message. 2013-03-29 11:52:33 -07:00
David Glasser
06f911a327 revert addition of urlBase to release.json
it was intended to give us a gateway to arch-specific packages later
but we're doing them now already
2013-03-29 11:52:33 -07:00
David Glasser
19521f56f3 fix issues 2013-03-29 11:52:33 -07:00
David Glasser
71b6708c66 packages now per-platform 2013-03-29 11:52:33 -07:00
David Glasser
5c366a34fe build arch-specific packages, which contain NPM modules! 2013-03-29 11:52:33 -07:00
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