Commit Graph

2571 Commits

Author SHA1 Message Date
Avital Oliver
782c0ac1bb Support semver prerelease versions
The semver library's compare functions already did the right thing,
but our `PackageVersion.versionMagnitude` did not. It now almost
correctly works for prerelease versions with a few caveats described
in a [* XXX!] comment.

While at it, add many tests which caught a separate bug due to
adding a number to a string for versions such as "1.2.3_50".
(That version would have been chosen over "5.0.0"!)
2014-09-23 15:19:20 -07:00
Justin SB
0c35bff3e2 Minimal fix for progress bar preventing 'meteor mongo' from exiting 2014-09-23 10:58:40 -07:00
ekatek
e35e64b30c user the underscore instead of a tilde 2014-09-22 21:57:23 -07:00
ekatek
559983ea07 fix versionsFrom 2014-09-21 11:37:34 -07:00
ekatek
3c9d7e26d0 push does not work like that 2014-09-19 22:36:30 -07:00
ekatek
5d8fb6d05b release constraints are weak and also increment 2014-09-19 22:34:39 -07:00
ekatek
35513fd745 fixed a bug in a more final way 2014-09-19 22:24:01 -07:00
ekatek
c8f4152f04 fix running from release to work 2014-09-19 21:47:05 -07:00
ekatek
78f36994e3 do not start line with space 2014-09-19 20:48:21 -07:00
ekatek
7e50a51d2b do not crash on maintainers of unknown package 2014-09-19 20:48:21 -07:00
Justin SB
d26387fdd7 More delays in JS HCP self-test 2014-09-19 20:45:07 -07:00
Justin SB
715c13ff7c Update self-test with new 'up to date' language 2014-09-19 20:21:31 -07:00
Justin SB
4d572fcc1d Insert some pauses to see if this does indeed fix the self-test
This would be a hack, but it does seem to work
2014-09-19 20:17:58 -07:00
ekatek
0403d545c7 slightly better wording on some commands 2014-09-19 20:02:25 -07:00
Nick Martin
e76d6dc787 comment on style. 2014-09-19 20:00:19 -07:00
Justin SB
9c5abcc8fa Use cleanup onExit instead of process.on('exit', ) 2014-09-19 19:53:16 -07:00
Justin SB
27a1a66039 Make sure the progress bar is hidden when we exit the process
Otherwise it leaves artifacts when we call process.exit
2014-09-19 19:49:23 -07:00
ekatek
18ffeafe20 start patience messages on a new line 2014-09-19 19:42:01 -07:00
ekatek
06434cfefb wrap this output to fewer columns 2014-09-19 19:39:30 -07:00
ekatek
8e9dbe6513 a less obnoxious banner that only comes up once 2014-09-19 19:34:14 -07:00
Justin SB
cfefbcf28f Revert 7282c0ee5b, now that 0ac1855166 has reverted bdcf0d188 2014-09-19 19:10:37 -07:00
ekatek
c5f87bc3e0 fixed the reduce of empty array bug 2014-09-19 18:57:18 -07:00
Justin SB
2c6e615d17 Auto-agree to the license in self-test; wait for the huge download 2014-09-19 18:42:48 -07:00
Justin SB
30442946cf Set warning as an alias for warn on Console.prototype, not on the singleton 2014-09-19 18:42:47 -07:00
ekatek
b97032b85e get rid of other Console.warning too 2014-09-19 18:41:52 -07:00
ekatek
099cb726ee use right index, use Console.warn 2014-09-19 18:41:19 -07:00
ekatek
298f684580 we also need to update the warehouse code to use the right version 2014-09-19 18:24:05 -07:00
Nick Martin
6fec720a2a Use banners from v1 2014-09-19 18:15:18 -07:00
Justin SB
3b84a63fc2 Choose stdout/stderr, even if we're not in pretty mode 2014-09-19 18:04:06 -07:00
Justin SB
e5dcef9127 Prettify publish 2014-09-19 17:26:48 -07:00
ekatek
25961fef63 Revert "weird trick that makes test-packages run again"
This reverts commit 6b3a1c217b.
2014-09-19 17:26:02 -07:00
ekatek
6b3a1c217b weird trick that makes test-packages run again 2014-09-19 17:24:45 -07:00
Justin SB
98ffa7d6d3 Add missing return to enterJob
I removed it accidentally in 9963a8bc
2014-09-19 17:22:59 -07:00
Justin SB
7d171be03b Turn on pretty for show 2014-09-19 17:06:45 -07:00
Justin SB
ebabe84d13 Turn on pretty for search command 2014-09-19 17:06:44 -07:00
Justin SB
cdb840a577 Make deploy pretty also
Still pausing until we merge in the minification changes
2014-09-19 17:06:44 -07:00
Justin SB
db11a5de0b 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:56:25 -07:00
Justin SB
5abc41222c Hide progress bar when we're not watching any tasks 2014-09-19 16:56:25 -07:00
Justin SB
9963a8bcf3 Progress bars and output formatting 2014-09-19 16:56:25 -07:00
Nick Martin
4ab2bd4ee4 Noop regex tweak and comments. 2014-09-19 16:56:25 -07:00
ekatek
717d9a0198 actually use v1.1, and save v2 for sql lite changes in catalog versioning 2014-09-19 16:56:25 -07:00
ekatek
e1311c407c function to check if a version constraint is compatible with pre0.9.3 versions, default token to send to syncNewData includes format specifications 2014-09-19 16:56:25 -07:00
ekatek
9c99638c7f be more consistent about using utils.parseConstraint in the tool; test for either-version 2014-09-19 16:56:24 -07:00
ekatek
d8377487dc support multiple major versions in meteor 0.9.3 and above. A little hacky in the tool around keeping old interfaces, but it works 2014-09-18 00:12:30 -07:00
Emily Stark
0ac1855166 Revert default bind IP to 0.0.0.0.
We still use localhost as DDP_DEFAULT_CONNECTION_URL for mobile builds
if another host isn't provided; we just don't want localhost to
overwrite an unspecified host for the proxy to bind to.

Fixes #2596.
2014-09-16 17:52:40 -07:00
ekatek
3404a250d5 don't exit on add when only some packages are a noop 2014-09-16 16:38:44 -07:00
Sashko Stubailo
857b380416 Remove duplicate part from the docs, move JSDoc comment for Npm.require 2014-09-16 13:52:33 -07:00
ekatek
81caacec4c help message mistype correction 2014-09-16 11:13:31 -07:00
ekatek
c9697bd6d8 a hidden option to mark packages as unsuccessfully migrated 2014-09-15 23:43:56 -07:00
ekatek
f96aadc3e1 also do not springboard from checkout, even in p-f-a 2014-09-15 23:04:40 -07:00