Commit Graph

111 Commits

Author SHA1 Message Date
Slava Kim
6ca6641a34 Merge branch 'master' into release-0.9.2
Includes latest 0.9.1 changes

Conflicts:
	examples/leaderboard/.meteor/versions
	examples/parties/.meteor/versions
	examples/todos/.meteor/versions
	packages/accounts-base/package.js
	packages/accounts-ui-unstyled/package.js
	packages/autoupdate/package.js
	packages/constraint-solver/package.js
	packages/facebook/package.js
	packages/github/package.js
	packages/google/package.js
	packages/http/package.js
	packages/less/package.js
	packages/meetup/package.js
	packages/meteor-developer/package.js
	packages/meteor-platform/package.js
	packages/meteor-tool/package.js
	packages/meteor/package.js
	packages/minimongo/package.js
	packages/oauth/package.js
	packages/oauth1/package.js
	packages/reload/package.js
	packages/templating/package.js
	packages/twitter/package.js
	packages/webapp/package.js
	packages/weibo/package.js
	scripts/admin/meteor-release-experimental.json
	tools/help.txt
	tools/tests/apps/hot-code-push-test/.meteor/versions
2014-09-05 11:28:12 -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
David Glasser
cbf0850ca7 fix 'meteor update' on track with none recommended 2014-06-09 14:04:37 -07:00
ekatek
5ebbbdbc63 merging packaging into uvf 2014-05-28 13:26:48 -07:00
ekatek
b97f7c5a76 renamed some catalog variables, more cleanup around catalog 2014-05-27 16:07:43 -07:00
ekatek
5f10cb37a2 no more bootstrap dirs 2014-05-25 21:44:09 -07:00
ekatek
9e04e2dc35 unified versions wip two 2014-05-23 14:07:48 -07:00
ekatek
6f3504a2d3 project refactoring, wip 1 2014-05-21 15:42:12 -07:00
David Glasser
84e7342e82 meteor update should keep you on track 2014-05-20 17:08:44 -07:00
David Glasser
8bc9733645 try to update to different things 2014-05-20 11:51:46 -07:00
David Glasser
3d3ce33d32 be more consistent about release track vs name 2014-05-19 19:57:29 -07:00
David Glasser
22efb24606 use tool record in unipackage.json for springboard 2014-05-19 19:57:28 -07:00
David Glasser
9146cf3c76 two partial fixes 2014-05-19 18:00:31 -07:00
Emily Stark
9e3d6fc5cf Merge branch 'package-stats' into packaging
Conflicts:
	tools/commands.js
2014-05-13 13:43:48 -07:00