Commit Graph

10356 Commits

Author SHA1 Message Date
ekatek
90c5fc3619 increment pvp package as well release/METEOR@0.9.3-rc8 2014-09-25 11:48:54 -07:00
ekatek
5758bc8a2c increment the numbers for the next rc 2014-09-25 11:46:01 -07:00
Nick Martin
648a4e2a09 Revert "Correct but failing test for lenient parsing of bad version number"
This reverts commit c496bd716b.
2014-09-25 11:42:16 -07:00
Nick Martin
3cb6ea87be Revert "Uncomment test for meteor search with malformed versions"
This reverts commit cb0811a10a.
2014-09-25 11:42:07 -07:00
Nick Martin
1db094b411 Revert "Ignore packages with malformed versions or malformed constraints"
This reverts commit 8fe23b418b.
2014-09-25 11:41:56 -07:00
Emily Stark
020e1680f7 fix History.md typos 2014-09-25 11:30:00 -07:00
Nick Martin
7283735d00 One more contributor for the History. 2014-09-25 00:26:08 -07:00
ekatek
64b0ea4f5b increment package numbers release/METEOR@0.9.3-rc7 2014-09-24 23:41:17 -07:00
Avital Oliver
1cf8b1d4d5 Merge branch 'release-0.9.3-lenient-version-numbers' into release-0.9.3
Conflicts:
	tools/package-version-parser.js
2014-09-24 23:21:01 -07:00
Avital Oliver
8fe23b418b Ignore packages with malformed versions or malformed constraints
This allows us to later increase the pool for well-formed versions without requiring
moving the catalog's data.json into a new folder, which would require re-syncing
the entire catalog.
2014-09-24 23:19:59 -07:00
ekatek
58c110499e fix the test for updating RCs and make list tell you about new rcs sometimes
1. Fixes the test for updating to a new rc. First, change the ordering -- since we order RCs now, it means that if you add rc.3 while
rc.4 is available it just adds rc.4. So, now, we publish rc.4 after rc.3 has been added, run update (with the right options) and
check that it worked.

2. When you run list, we check if there are newer versions of packages. Usually we just look at mainline versions. But if you are already
using an rc version of a package, you might care about new rcs too. So, in that case, we check the latest of *all* available versions.
2014-09-24 22:35:05 -07:00
ekatek
245059ef49 if we are asking for a prerelease, we should run the same comparison as normal
Previously, if we were asking for a pre-release, we would only return true if it was the
same pre-release, or at least on the same release. But that's not true. 1.2.4 should be valid
if we want 1.2.4-rc0, for example, and, even 1.2.3-rc0. (I mean, if it has the same ecv, which
it might not). This is also what was causing some of the issues around 0.9.1 rollout, we think. So,
we are going to try treating rcs like normal versions as far as comparisons go. We still don't want to
give you an rc unless you asked for it though.
2014-09-24 21:28:36 -07:00
Avital Oliver
6feb5da948 Let pre-release versions upgrade to later pre-release versions
But only if they're on the same base version.
2014-09-24 21:07:09 -07:00
ekatek
3278265b52 also testing correct behavior when there are two rcs: running update should move you to the newer rcs ifff you are already using an rc. Does not currently work. 2014-09-24 20:52:22 -07:00
ekatek
88936518d8 test reproducing this bug: when you add a package with rcs, you end up adding the rcs, even if you did not explicitly ask for them. 2014-09-24 19:23:55 -07:00
Avital Oliver
cb0811a10a Uncomment test for meteor search with malformed versions 2014-09-24 18:30:41 -07:00
Avital Oliver
573f881531 Simplify a test 2014-09-24 18:29:33 -07:00
ekatek
620dde5306 correcting a mistype in a field: since we changed the schema, this should be constraint.name 2014-09-24 17:53:37 -07:00
Avital Oliver
0d128ffbb5 Change output range for PackageVersionParser.versionMagnitude
It's now back to returning 10000 for "1.0.0", as it was before
the recent changes to allow for wrapped package version numbers
and prerelease versions. Given that there are other constants
in the cost function used in the constraint solver, this gives
us much more confidence that we haven't fundamentally changed
the behavior of `meteor add` or `meteor update` in 0.9.3.
2014-09-24 17:47:18 -07:00
Avital Oliver
2a71dbfc41 Change output range for PackageVersionParser.versionMagnitude
It's now back to returning 10000 for "1.0.0", as it was before
the recent changes to allow for wrapped package version numbers
and prerelease versions. Given that there are other constants
in the cost function used in the constraint solver, this gives
us much more confidence that we haven't fundamentally changed
the behavior of `meteor add` or `meteor update` in 0.9.3.
2014-09-24 17:44:44 -07:00
Sashko Stubailo
a401cd834a Fix comment about deprecating _wrapAsync 2014-09-24 17:35:14 -07:00
Avital Oliver
c496bd716b Correct but failing test for lenient parsing of bad version number 2014-09-24 16:16:39 -07:00
Nick Martin
42550da8a5 Update github committers. 2014-09-23 23:07:41 -07:00
Nick Martin
b659994295 Add new NPM modules to license file. 2014-09-23 22:05:45 -07:00
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
Nick Martin
c740a5c02a First pass at history.md 2014-09-22 23:49:21 -07:00
ekatek
cbe4d6dd6d increment package versions release/METEOR@0.9.3-rc6 2014-09-22 22:07:33 -07:00
ekatek
e35e64b30c user the underscore instead of a tilde 2014-09-22 21:57:23 -07:00
ekatek
d1b23fbece increment numbers release/METEOR@0.9.3-exp release/METEOR@0.9.3-exp3 release/METEOR@0.9.3-exp4 release/METEOR@0.9.3-rc5 release/METEOR@0.9.3-exp2 2014-09-21 11:51:14 -07:00
ekatek
559983ea07 fix versionsFrom 2014-09-21 11:37:34 -07:00
David Greenspan
64c63820a0 Fix ReactiveDict on server (for iron:router)
Note: We don’t officially support Tracker on the server.
2014-09-21 10:18:26 -07:00
ekatek
811455ab14 increment release/METEOR@0.9.3-rc4 2014-09-19 22:37:05 -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
ce9f3e0205 increment meteor-tool number 2014-09-19 22:27:55 -07:00
ekatek
35513fd745 fixed a bug in a more final way release/METEOR@0.9.3-rc2 2014-09-19 22:24:01 -07:00
ekatek
3ad9ab61e9 increment versions release/METEOR@0.9.3-rc1f release/METEOR@0.9.3-rc1e 2014-09-19 21:49:45 -07:00
ekatek
c8f4152f04 fix running from release to work release/METEOR@0.9.3-rc1 2014-09-19 21:47:05 -07:00
ekatek
220cc69e31 package versions incremented release/METEOR@0.9.3-rc0 2014-09-19 21:16:14 -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
Justin SB
292b107759 Put new dependencies into generate-dev-bundle.sh and LICENSE.txt
I had put them into dev-bundle-package.json (incorrectly)
2014-09-19 20:08:47 -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