Commit Graph

123 Commits

Author SHA1 Message Date
Avital Oliver
5af5a98342 Hide springboard progress bar when complete
Fixes https://app.asana.com/0/802778796897/17391461309554

Apparently Console.enableProgressBar is written to do nothing if Console
is not in pretty mode.
2014-10-09 11:46:05 -07:00
Avital Oliver
c19e133b8b Show progress bar when downloading a release prior to springboarding 2014-10-07 15:26:56 -07:00
Justin SB
c50bdca142 Check platform readiness on run & print errors appropriately 2014-10-03 08:07:45 -07:00
Sashko Stubailo
7e4848d939 Merge branch 'isopack' into release-0.9.4
Conflicts:
	tools/uniload.js
2014-09-29 20:08:02 -07:00
David Greenspan
98eff9059e Capitalize buildmessages 2014-09-29 16:18:38 -07:00
Sashko Stubailo
7cd12072ea Rename unipackage to isopack in almost all cases 2014-09-29 16:01:08 -07:00
Sashko Stubailo
b312c1f6e6 Rename Unipackage to Isopack 2014-09-23 19:19:58 -07:00
Sashko Stubailo
4bf93172b6 Rename unipackage.js to isopack.js 2014-09-23 19:17:03 -07:00
Justin SB
b1e6a2a0ae Cleanup Console code, and make sure we cleanup the poller on exit
Not cleaning up the poller was preventing 'meteor mongo' from exiting cleanly
2014-09-23 05:40:29 -07:00
Justin SB
79e0d5dda9 Use pretty on a per-command basis
It can be overridden using METEOR_PRETTY_OUTPUT=0 or METEOR_PRETTY_OUTPUT=1
2014-09-19 16:16:02 -07:00
Justin SB
30f4fa2cbe Progress bars and output formatting 2014-09-19 15:52:23 -07:00
ekatek
27be069475 temporary solution to springboard in publish-for-arch 2014-09-15 23:02:08 -07:00
Avital Oliver
186579ea5e Merge branch 'master' into devel
Conflicts:
	examples/todos/.meteor/versions
	packages/autoupdate/package.js
	packages/constraint-solver/package.js
	packages/less/package.js
	packages/meteor-tool/package.js
	packages/meteor/package.js
	scripts/admin/meteor-release-experimental.json
	tools/help.txt
	tools/tests/apps/hot-code-push-test/.meteor/versions
2014-09-04 16:56:19 -07:00
Sashko Stubailo
b18d592042 Minor changes to help text 2014-09-03 17:18:33 -07:00
Sashko Stubailo
9491b0cad8 Fix length measurement for commands list 2014-09-03 13:59:14 -07:00
Matthew Arbesfeld
75427d70ce Merge branch 'devel' into cordova-hcp
Conflicts:
	docs/client/docs.js
	examples/leaderboard/.meteor/versions
	meteor
	packages/backbone/package.js
	packages/constraint-solver/package.js
	packages/meetup/package.js
	packages/meteor-tool/package.js
	packages/showdown/package.js
	packages/stylus/package.js
	scripts/admin/meteor-release-experimental.json
	tools/commands-packages.js
	tools/commands.js
	tools/project.js
	tools/tests/old/app-with-private/.meteor/versions
	tools/tests/old/app-with-public/.meteor/versions
	tools/tests/old/empty-app/.meteor/versions
2014-08-27 13:38:57 -07:00
David Glasser
f7c6f505ac Never springboard to a red pill 2014-08-25 22:49:32 -07:00
Matthew Arbesfeld
922af65765 Merge branch 'devel' into cordova-hcp
Conflicts:
	meteor
	scripts/generate-dev-bundle.sh
	tools/bundler.js
	tools/unipackage.js
2014-08-20 19:48:26 -07:00
ekatek
b29a4cc439 more detaled wip on name coming from package.js 2014-08-19 12:32:16 -07:00
David Glasser
98b2885e85 Revert "Upgrade Node to 0.10.30. Fix npm bug again."
This reverts commit 56ff54b085.
2014-08-15 07:21:24 -07:00
David Glasser
987b5dd42d Merge branch 'upgrade-node-fix-npm' into devel 2014-08-14 11:41:01 -07:00
David Glasser
9c1afcf0b9 Unbreak springboarding, oops. 2014-08-14 11:34:27 -07:00
David Glasser
56ff54b085 Upgrade Node to 0.10.30. Fix npm bug again. 2014-08-14 10:15:47 -07:00
David Glasser
7743a55bba Use official catalog for springboarding
Read it into memory at initialize time
2014-08-13 18:11:46 -07:00
David Glasser
f946ff9054 uniload from checkout uses separate catalog 2014-08-13 18:11:46 -07:00
David Glasser
9e55a23541 replace uniloadDir hack with BuiltUniloadCatalog
this only affects built meteor for now
2014-08-13 18:11:46 -07:00
Matthew Arbesfeld
e9b9132a04 Merge branch 'devel' into cordova-hcp
Conflicts:
	meteor
	tools/catalog.js
	tools/commands-packages.js
	tools/commands.js
2014-08-13 15:07:42 -07:00
David Glasser
64d939acb2 Add a lot more buildmessage captures
Many of these (mostly in top level commands in commands-packages.js) are
not super well thought out: they use a new "doOrDie" helper to run some
function in a capture and exit if there are any messages.  We really
need to get a little more thoughtful about the big picture of error
handling (combining "build" errors, network errors, catalog errors,
etc). But this at least allows the addition of more buildmessage
assertions.

At the very least, this ensures that if you edit a package.js in a local
package while "meteor run" is running, that instead of crashing the tool
it properly shows the buildmessage and lets you fix the issue.
2014-08-11 17:06:28 -04:00
Matthew Arbesfeld
4ed38d2403 Add bundle ios command and fix tests 2014-08-07 17:10:10 -07:00
David Glasser
671c82e618 Print package downloads except background updater
Before, there were some random contexts (like 'test-packages') which
didn't print downloads. Now, the default is printing, and the exception
is the automatic background updater.

(Some of these bulk contexts should probably set silent and print their
own progress bar.  And maybe even do paralellism...)

Generally clean up the tropohouse.maybeDownloadPackageForArchitectures
interface. Change it to take options, remove the vestigial return
value (though really, there needs to be better error handling...)
2014-08-07 16:27:23 -07:00
David Glasser
92cf32a49a don't break running from checkout 2014-08-06 16:05:34 -07:00
David Glasser
215872fea2 speed up legacy springboarding
after the first time you springboard to a legacy release, don't refresh
the catalog before springboarding
2014-08-06 16:02:33 -07:00
David Glasser
7d05640ea0 Make buildmessage fiber-aware
Port a simplified version of Meteor.EnvironmentVariable and
Meteor.bindEnvironment to fiber-helpers.js to deal with this.

Identify uses of fiberHelpers.inFiber and switch them to either
fiberHelpers.bindEnvironment (if the callback they are wrapping is
semantically "part of" the context that creates the callback) or
fiberHelpers.inBareFiber (otherwise).

Without this, concurrency was causing the wrong buildmessage message
sets and jobs to be active when builds yielded.
2014-08-04 19:03:05 -07:00
David Glasser
06a7dc90b5 Add many buildmessage.capture/assertInCapture
Moving towards a world where all things that might invoke buildmessage.error are
encouraged to be in a buildmessage.capture.

This commit is the answer to the question "how many small changes need to be
made to add buildmessage.assertInCapture to PackageCache.loadPackageAtPath?"

Next steps include:
 - Making catalog.resolveConstraints ALWAYS buildmessage.assertInCapture
   (not just when ignoreProjectDeps isn't passed)
 - Then changing resolveConstraints to complain using buildmessage
 - Removing the process.exit(1) in _ensureDepsUpToDate
 - Adding a more structured way to ensure that most commands
   call _ensureDepsUpToDate at an unsurprising location
2014-07-30 22:16:21 -07:00
Avital Oliver
9afd6f4cf9 A first pass on some package command error messages 2014-07-24 14:02:47 -07:00
ekatek
8bb675c0b6 cleaning up some tests to run from release 2014-07-17 15:41:39 -07:00
David Glasser
e6328a094f Make sure package you are publishing is in catalog
Otherwise tests won't work
2014-06-30 16:53:42 -07:00
David Glasser
499ca1ff23 Extra comment about catalog initiatialization 2014-06-30 16:53:42 -07:00
ekatek
7d9a2ff6f3 put some try/catch blocks around maybeDownloadPackageForArchitectures. Not sure that this is the best plan? 2014-06-25 22:44:13 -07:00
David Glasser
ee462d49b7 resolve paths in $PACKAGE_DIRS 2014-06-25 22:16:25 -07:00
David Glasser
98bd2895fa add more text around local package init failure
text is the same used pre-packaging
2014-06-23 22:24:44 -07:00
David Glasser
5a85e2f24c Merge branch 'devel' into packaging
Conflicts:
	tools/bundler.js
	tools/tests/login.js
	tools/unipackage.js
2014-06-23 14:48:21 -07:00
David Glasser
2e5adc2659 fix autoupdate test
also fixes a bunch of other stuff like:

- parseStack markTop works again (so you get the right line numbers in
  self-test)

- you can (with appropriate env var) run apps with NO PACKAGES at
  all (even ctl)

- more consistently refer to METEOR-CORE@ releases as "Meteor 1.2.3"
2014-06-17 14:26:29 -07:00
David Glasser
d083f4aaf6 change --offline-catalog to $OFFLINE_CATALOG 2014-06-17 09:40:59 -07:00
Emily Stark
1180597f06 bump dev bundle; upgrade node 2014-06-16 18:17:21 -07:00
ekatek
a710408b1c correct update semantics with release --explicit 2014-06-11 22:40:07 -07:00
David Glasser
1e011e1ae9 run catalog initFromPackageDir in buildmessage
gives you better errors when local packages are buggy
2014-06-11 17:37:04 -07:00
David Glasser
f66e357353 allow springboarding to pre-tropohouse releases! 2014-06-11 17:12:43 -07:00
David Glasser
d3ca5b0497 print when downloading packages in foreground
would rather have a progress bar but that involves restructuring the
download code and that should wait until we rename builds or something
2014-06-11 14:41:46 -07:00
ekatek
41800b2dbf moving packaging commands to their own file, beggining of the great command reorg 2014-06-11 12:27:31 -07:00