Commit Graph

11414 Commits

Author SHA1 Message Date
Slava Kim
eddc136fb8 Add a verbose log 2014-10-22 12:25:29 -07:00
Slava Kim
dc0563c620 Properly escape command line arguments for cordova plugins 2014-10-22 12:25:29 -07:00
Nick Martin
ccbac61cf0 Disable color by default. 2014-10-22 11:09:20 -07:00
Sashko Stubailo
5257732e47 Make offline message only appear when we are actually offline 2014-10-22 10:59:42 -07:00
David Greenspan
da1b34c449 Print “server restarting” only when doing so 2014-10-22 10:59:11 -07:00
David Greenspan
46c77c142a Print in console when we are restarting the server
(…due to a server-side code change)

Restarting the server can take a while (30 seconds for one particular app), so it’s nice to at least print when we start doing it.  Soon there will be progress displays during it, too (when we add more of them to `meteor run`).

We lose the opportunity to coalesce server restarted messages, as in `Meteor server restarted (x2)`, but adding any sort of progress display also does that.
2014-10-22 10:55:12 -07:00
David Greenspan
5418f34887 Whitespace 2014-10-22 10:55:12 -07:00
Emily Stark
620edd3f0c Line-wrap springboarding failure messages 2014-10-22 10:48:18 -07:00
Justin SB
e92f9b3ff9 Style fix: use _.map instead of _.each 2014-10-22 10:03:42 -07:00
Justin SB
8c99924685 Make USE_GLOBAL_ADK work again, and install Android SDK more carefully 2014-10-22 09:57:19 -07:00
Avital Oliver
011b14e949 Help users install HAXM if that's all they're missing for Android dev
We intentionally consider a machine without HAXM to be "acceptable"
since HAXM can't be installed on VMs. But we should still let the users
know how to install if if that's what they're missing.
2014-10-22 09:37:09 -07:00
Nick Martin
f064c2d03f Bump catalog update timer from 15min to 3hr.
This should save load on the package server. The tradeoff is
it makes the case in #2847 have a wider window to affect users.
2014-10-21 22:36:44 -07:00
Sashko Stubailo
b71d2751e5 Change explainIfRefreshFailed to recommend connecting to the internet 2014-10-21 20:28:04 -07:00
Sashko Stubailo
678b510e4c Wrap all cordova errors since none of them print a useful stack trace 2014-10-21 20:11:34 -07:00
Emily Stark
7f2df72de2 Line-wrap a 'meteor update' message 2014-10-21 17:51:39 -07:00
ekatek
f2378ce616 some processing on how we display release name 2014-10-21 17:49:48 -07:00
David Glasser
5a2892a26c Better error on springboard failures 2014-10-21 17:18:50 -07:00
David Glasser
2db8e7bc61 Fix release.forced/explicit comment, simplify code
This comment has been wrong since "explicit" was introduced.

The code change is intended to be a no-op that is a clarity improvement.
2014-10-21 17:18:50 -07:00
Justin SB
a25173a71c Format meteor show nicely
We only do 'meteor show mypackage', not 'meteor show mypackage@1.0'
2014-10-21 17:07:45 -07:00
Emily Stark
a2f9385211 Show pretty progess spinners during 'meteor build' 2014-10-21 17:03:56 -07:00
Emily Stark
139a7fd024 Fix call to getCordovaDependenciesFromStar
Not sure how this happened... maybe mistake during rebase?
2014-10-21 16:58:03 -07:00
Justin SB
b569095119 Use the progress startTime for time estimates 2014-10-21 16:40:43 -07:00
Emily Stark
97c85bc3da Exit 'meteor run' when cordova plugins or platforms change.
We don't have a way to HCP a changed set of plugins or platforms, so
just exit and ask the user to re-run. There are probably some cases
where we don't have to exit (e.g. if you add the android platform, we
probably don't need to exit out of 'meteor run ios'), but we exit in all
cases for simplicity.
2014-10-21 15:59:40 -07:00
ekatek
5d9cde97bb adding a test for watching the versions file 2014-10-21 15:58:18 -07:00
ekatek
68406388a6 the .meteor/versions file is part of the app control files 2014-10-21 15:39:07 -07:00
Justin SB
f59aa4c0f3 future.isResolved is a function 2014-10-21 15:12:44 -07:00
Ben Newman
b45bc06fff Catch shell socket server errors so they don't break self-test. 2014-10-21 17:49:16 -04:00
Sashko Stubailo
4bbb03db29 Add message about not being able to start app on Android device
Also, don't print the stack trace in this case
2014-10-21 14:44:00 -07:00
Emily Stark
88143939a6 Use displayRelease helper for running-from-checkout message 2014-10-21 14:31:18 -07:00
Emily Stark
14e6b8e298 Use Console.stderr for package stats errors 2014-10-21 14:14:16 -07:00
Emily Stark
420d6e59e2 Supress progress spinner while waiting for file changes.
This prevents "Starting your app..." from showing immediately after
"Your app is crashing. Waiting for file changes."
2014-10-21 14:10:56 -07:00
Avital Oliver
9b5c7a8198 Kill iOS/iPhone simulator better
Turns out different versions of the iOS simular
have differently named apps, so we now call killall
for both the old and the new name.
2014-10-21 13:50:43 -07:00
Slava Kim
a6eb9c3dc4 Merge branch 'ios-build' into devel
Allows to build projects with 'ios' platform included on linux machines that
cannot build for iOS. Creates an easier workaround for #2867.
2014-10-21 12:34:25 -07:00
Emily Stark
1179d402ed Fix usage of utils.displayRelease; it already includes "Meteor " 2014-10-21 11:39:49 -07:00
Emily Stark
397109b167 Use existing 'utils.displayRelease' helper 2014-10-21 11:37:34 -07:00
Emily Stark
1eaba883ae Use Console in tools/main.js
The specific issue is the "Could not springboard to release..." message
showing up on the same line as a progress bar. Seems like a good idea to
use Console everywhere in this file anyway.
2014-10-21 10:56:03 -07:00
Ben Newman
fe487ef0a3 Further simplify NpmDiscards to perform no additional disk I/O. 2014-10-21 12:19:59 -04:00
Ben Newman
e20572a8a7 Disallow passing nested objects to Npm.strip.
As you can see, this simplifies the implementation considerably.
2014-10-21 12:07:32 -04:00
Slava Kim
debbdd5f38 Merge branch 'meteor-update-ux' into devel 2014-10-20 22:57:46 -07:00
Emily Stark
23eba80656 Print release name more prettily in 'meteor update' message.
Instead of "Meteor METEOR@1.0", print "Meteor 1.0".

This change is somewhat untested because in order to test it we need
1. a built release, and 2. installed 'meteor' to point to that built
release.
2014-10-20 22:55:36 -07:00
Emily Stark
79aa54bcde Update publish-one-arch test for new 'meteor publish' output 2014-10-20 22:43:15 -07:00
Emily Stark
8d8589714f Update old cli tests for new 'meteor remove' text 2014-10-20 22:39:44 -07:00
Mitar
c2c92d9c44 Fixed comment. 2014-10-20 17:44:46 -07:00
Emily Stark
db35e64807 Tweak error printing on errors from package server 2014-10-20 17:39:37 -07:00
Emily Stark
784e8fa29b Tweak wording of offline package sync message 2014-10-20 17:31:21 -07:00
Eric Wyne
1042e00e16 clean up comment - remove _wrapAsync
_wrapAsync is deprecated. Clarify comment to remove future confusion.
2014-10-20 17:26:36 -07:00
Maxime Quandalle
8040967e73 show command doesn't have a maintainer option 2014-10-20 17:14:28 -07:00
Ben Newman
a776715dae Never print a stack trace when unlinkSocketFile fails. 2014-10-20 20:09:24 -04:00
David Glasser
8299a9b57e Improve package download error while offline
Now we see something like:

  $ curmeteor
  Unable to refresh catalog (are you offline?)

  Could not download package iron:dynamic-template@0.4.1: getaddrinfo ENOTFOUND
  Could not download package iron:router@0.9.4: getaddrinfo ENOTFOUND
  Could not download package iron:layout@0.4.1: getaddrinfo ENOTFOUND
  Could not download package iron:core@0.3.4: getaddrinfo ENOTFOUND
  Could not install all the requested packages.
2014-10-20 15:59:37 -07:00
Slava Kim
aaaa22b7de Give feedback on updating packages not in the project 2014-10-20 15:47:29 -07:00