Commit Graph

10374 Commits

Author SHA1 Message Date
Avital Oliver
a31b44854b Add whitespace to History.md release/METEOR@0.9.3.1 2014-09-30 18:14:21 -07:00
Avital Oliver
3c4e9e6a91 0.9.3.1. This is a patch from 0.9.3 2014-09-30 18:13:54 -07:00
Avital Oliver
b20285e633 0.9.3.1 2014-09-30 18:10:41 -07:00
Avital Oliver
3664803d1a Bump versions for 0.9.3.1-rc.0 release/METEOR@0.9.3.1-rc.0 2014-09-30 16:37:00 -07:00
Avital Oliver
fdc4f350ce Prep for 0.9.3.1-rc.0 2014-09-30 16:24:06 -07:00
Avital Oliver
f6ffe668c4 Allow more than one dash in package version names
This is consistent with the semver spec, and should fix
2014-09-30 16:16:38 -07:00
Avital Oliver
fcb3e09dd0 Fix meteor update from an app created from a checkout 2014-09-30 16:16:31 -07:00
Avital Oliver
e540d72070 Don't crash when failing to contact the package server
Fixes #2713
2014-09-30 16:16:26 -07:00
ekatek
86c0b2b2aa we don't have an apprecord for old releases, so if a project is using an old version, we have to be careful 2014-09-30 16:16:21 -07:00
ekatek
3dba734db4 increment version for meteor-tool to the right version release/METEOR@0.9.3 2014-09-25 18:42:41 -07:00
ekatek
bab557d49b incrementing package versions for a clean release 2014-09-25 18:34:34 -07:00
Nick Martin
f53faf8c34 banner for 0.9.3 2014-09-25 18:24:24 -07:00
ekatek
96cc3193a5 docs for the new stuff in 0.9.3 2014-09-25 18:18:01 -07:00
Avital Oliver
403cc2ff8c Remove Cordova platforms from leaderboard example app
Their existence means that trying to run the app on iOS requires
you to have Java installed.
2014-09-25 18:10:02 -07:00
ekatek
0e8f8e5039 we now print this message to stderr instead of stdout 2014-09-25 17:46:22 -07:00
ekatek
1424e3ea4f fix constraint solver tests 2014-09-25 15:34:25 -07:00
Emily Stark
41d8c71185 Use project.setRootDir instead of reload in stats test.
As of 3e64bd78, this usage of `reload` no longer works (if we set a
project's root dir to a fresh app, and then run the app which computes
versions.json, and then call `reload`, we'll end up with the project's
dependencies being empty). Maybe this is a bug in `reload`, but it
probably doesn't matter for any usage other than this test, and maybe
this test was misusing `reload` in the first place.
2014-09-25 14:58:10 -07:00
Emily Stark
e3c5743cec Simplify packageList in stats.js 2014-09-25 14:57:39 -07:00
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