Commit Graph

3254 Commits

Author SHA1 Message Date
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
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
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
Slava Kim
b8478e8590 Tweak the output of meteor remove 2014-10-20 15:31:51 -07:00
Slava Kim
32f3aeca09 Tweak the output of meteor show 2014-10-20 15:15:47 -07:00
Avital Oliver
85eebd807d Notice for 0.9.1 now looks like the one for 0.9.0 2014-10-20 15:14:41 -07:00
David Glasser
e22702be45 Make more DDP errors specific
These errors should look like connection errors, not clean closes:

- Heartbeat timeout (DDP-level or SockJS-level)
- Connection timeout (SockJS implementation)

The "disconnected with no error while waiting for something we asked
for" error in ServiceConnection is now a DDP.ConnectionError so that it
prints better.

If a command refuses to run due to a catalog sync error, it should print
the error. (Commands that merely warn that they could not sync don't
print that error, unless METEOR_LOG=debug.)
2014-10-20 15:04:12 -07:00
Slava Kim
bc68dfccb3 give meteor search a named spinner 2014-10-20 14:57:56 -07:00
Slava Kim
f14d986074 Tweaks to meteor search error output 2014-10-20 14:48:23 -07:00
Slava Kim
0b1040491e Ignore iOS on build entirely 2014-10-20 14:23:35 -07:00
Ben Newman
2926fdafab Tweak wording of meteor shell banner message. 2014-10-20 15:49:34 -04:00
Ben Newman
453070bfde Assert that constructor functions in main.js are invoked with new. 2014-10-20 15:48:32 -04:00
Slava Kim
fd130fea0d Print a warning when building unavailable platforms 2014-10-20 12:24:16 -07:00
Ben Newman
17138b0805 Remove an inaccurate comment and add a potentially helpful comment. 2014-10-20 15:05:44 -04:00
ekatek
8bd95ffe36 spelling variable names correctly this time 2014-10-20 12:02:29 -07:00
ekatek
f757ed9258 the tool package is never up to date 2014-10-20 11:50:11 -07:00
Ben Newman
830acf651c Implement a meteor shell command.
Summary:
Invoking `meteor shell` starts an interactive REPL for evaluating server-side code.

Shell commands are evaluated in the server process, so the shell's input and output have to be piped through a socket from/to the parent process that runs the `meteor shell` command. This separation accounts for most of the complexity of this diff, but the end result is pretty seamless: tab completion, history, ctlr-c and ctrl-d, etc. all work as expected.

Task: https://app.asana.com/0/15750483766338/16576093991355

Test Plan: Run `meteor run` in one terminal and `meteor shell` in another, evaluate some commands, and verify that the commands seem to be running the context of the server process. Also check tab completion and history, and ensure that the server is running simultaneously with the shell.

Reviewers: dgreenspan, avital, slava, emily, nim, sashko

CC: sashko

Differential Revision: https://phabricator.meteor.com/D837
2014-10-20 14:44:09 -04:00
Sashko Stubailo
b3b54db304 Merge branch 'devel' of github.com:meteor/meteor into devel 2014-10-20 11:43:08 -07:00
Sashko Stubailo
627674e2ae Let build plugins override the 'bare' option for JavaScript files 2014-10-20 11:41:23 -07:00