Commit Graph

5489 Commits

Author SHA1 Message Date
ekatek
3dba734db4 increment version for meteor-tool to the right version 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
ekatek
1424e3ea4f fix constraint solver tests 2014-09-25 15:34:25 -07:00
ekatek
90c5fc3619 increment pvp package as well 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
1db094b411 Revert "Ignore packages with malformed versions or malformed constraints"
This reverts commit 8fe23b418b.
2014-09-25 11:41:56 -07:00
ekatek
64b0ea4f5b increment package numbers 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
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
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
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
ekatek
cbe4d6dd6d increment package versions 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 2014-09-21 11:51:14 -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 2014-09-19 22:37:05 -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
3ad9ab61e9 increment versions 2014-09-19 21:49:45 -07:00
ekatek
220cc69e31 package versions incremented 2014-09-19 21:16:14 -07:00
ekatek
e1d6167be1 fix constraint solver test failure by fixing the test to use the new api: 2014-09-19 17:24:45 -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
7bbc580665 Merge branch 'master' into devel 2014-09-17 23:05:17 -04:00
Emily Stark
e52d2bb8dc bump meteor-tool version for 0.9.2.2 2014-09-17 21:03:09 -04:00
Emily Stark
19b8c0012c Merge branch 'master' into devel 2014-09-15 16:49:50 -07:00
Emily Stark
dd61c40bbc bump more package numbers for 0.9.2.1 2014-09-15 16:07:26 -07:00
Emily Stark
5fe0937aa6 Bump package versions for 0.9.2.1.
These should have been bumped in 0.9.2
2014-09-15 15:55:19 -07:00
Emily Stark
ccfee68145 Merge branch 'master' into devel
Conflicts:
	docs/client/api.html
	docs/client/data.js
	docs/client/names.json
	meteor
	packages/autoupdate/package.js
	packages/base64/.gitignore
	packages/constraint-solver/package.js
	packages/device-orientation/.gitignore
	packages/less/package.js
	packages/meteor-tool/package.js
	packages/meteor/package.js
	packages/package-version-parser/package.js
	packages/webapp/webapp_server.js
	scripts/admin/meteor-release-experimental.json
	tools/commands.js
	tools/help.txt
	tools/package-version-parser.js
	tools/run-all.js
	tools/tests/apps/build-errors/packages/with-colon-plugin/.gitignore
2014-09-15 14:48:57 -07:00
Emily Stark
d19f2bf49b Bump more package versions for 0.9.2 2014-09-15 12:05:03 -07:00
Emily Stark
833c6f5b4f Bump package versions for 0.9.2 2014-09-15 11:36:57 -07:00
Emily Stark
549a13a690 Add 'spacebars' to autoupdate QA script 2014-09-14 09:07:31 -07:00
Justin SB
7b09674fb4 Use replacement DDP url in tests, if one is set 2014-09-12 13:14:38 -07:00
David Glasser
ba9ec26b97 constraint solver errors: ignore unibuilds
Most people think of package deps in terms of packages, not unibuilds,
but our constraint solver has all these generated "if you're using
foo#os@1.0.0, use foo#web.browser@=1.0.0" constraints. They are just
distracting in errors (which already hide the unibuild part for
clarity) so make sure we don't see them in paths either.

(I could imagine a flag/env var that skips all the removeUnibuild calls
and this special processing, for "gory details" mode.)
2014-09-12 12:27:52 -07:00
Slava Kim
1ac14fe616 Less bump 2014-09-11 17:58:28 -07:00
Slava Kim
7a459a3cc8 Bump 2014-09-11 17:56:53 -07:00
Emily Stark
d36909a489 bump packages for 0.9.2-rc7 2014-09-11 17:35:06 -07:00
Emily Stark
5dca0bb99a Fix html attributes in boilerplate generation.
We were not passing html attributes through to the Boilerplate object,
so appcache manifest was never showing up in the <html> tag. Add
'extraData' to `Boilerplate.toHTML` so that we can specify the html
attributes at request time.
2014-09-11 16:43:02 -07:00
Slava Kim
5fae8faeb0 bump packages 2014-09-11 15:53:32 -07:00
Slava Kim
824098a081 Remove deprecated SERVER_ID
breaks backwards compat with 0.6.6
2014-09-11 15:14:41 -07:00
David Glasser
ae71b7857a handle last error case 2014-09-11 14:18:42 -07:00
David Glasser
1355f59df2 Change a "shouldn't happen" into a thrown Error 2014-09-11 14:18:42 -07:00