Commit Graph

66 Commits

Author SHA1 Message Date
David Glasser
6b204ca73a Bump package versions for 1.0.2 2014-12-19 10:31:59 -08:00
David Glasser
73b809c122 Bump versions for 1.0.2. 2014-12-11 22:44:41 -08:00
David Glasser
0ed8a9b32d bump package versions for a test release 2014-12-10 14:50:11 -08:00
David Glasser
44563f13b4 Allow prerelease parts with digits and nondigits
Previously the constraint solver crashed on such things.

Fixes #3147.
2014-12-09 20:33:06 -08:00
David Glasser
6ea8443f30 Update calls to addFiles, onUse, and onTest 2014-12-09 20:18:31 -08:00
David Glasser
de5f68cf70 bump all versions (due to source-map upgrade) 2014-11-25 09:06:26 -08:00
David Greenspan
3719494af3 Add a few comments 2014-11-08 20:11:01 -08:00
David Glasser
d5afd1b6a9 Update shrinkwrap 2014-10-30 15:12:30 -07:00
David Glasser
d4feca7703 Upgrade semver to 4.1.0
I believe all the backwards-incompatible changes are to features we
don't use, like range expressions and the inc function.
2014-10-30 15:12:28 -07:00
Sashko Stubailo
36da5aecb4 Make all version numbers not have rc 2014-10-13 14:09:37 -07:00
Nick Martin
5b17ef1a30 Version bump for rc.6 2014-10-10 20:37:54 -07:00
David Glasser
7126e17109 Allow any number of spaces by || in constraints
Previously, exactly one was required, but this was not explicitly
documented.
2014-10-09 21:20:14 -07:00
Sashko Stubailo
698fbedb10 Bump all of the version numbers to rc.0 2014-10-07 17:10:48 -07:00
Sashko Stubailo
1e53f6b598 Bump all version numbers again after cherry-picking unipackage fix 2014-10-01 17:06:57 -07:00
Sashko Stubailo
0129c3f5ac Bump all of the version numbers again, to republish with the unipackage.json fix 2014-10-01 15:43:05 -07:00
Sashko Stubailo
47800298c6 Merge branch '0.9.3.1' into 0.9.4-pre.2
Conflicts:
	History.md
	packages/meteor-tool/package.js
	packages/package-version-parser/package.js
	scripts/admin/banners.json
	scripts/admin/meteor-release-experimental.json
2014-10-01 15:18:10 -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 2014-09-30 16:37:00 -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
Sashko Stubailo
eecc272e4a Bump every single package version number due to a change in compilation 2014-09-29 23:44:50 -07:00
ekatek
bab557d49b incrementing package versions for a clean release 2014-09-25 18:34:34 -07:00
ekatek
90c5fc3619 increment pvp package as well 2014-09-25 11:48:54 -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
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
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
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
220cc69e31 package versions incremented 2014-09-19 21:16:14 -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
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
ekatek
69f637c8e5 glassers comments on wrap numbers 2014-09-10 15:53:23 -07:00
ekatek
390b6394b5 strip out extra dependencies on semver in tool 2014-09-10 15:53:23 -07:00
ekatek
8f29056b4c wrapping external library versions support in p-v-p and constraint-solver 2014-09-10 15:53:23 -07:00
ekatek
4956f94b88 validate versions better 2014-09-04 11:13:04 -07:00
Emily Stark
b0e0ccb5a4 Bump package versions for 0.9.0.1 2014-08-27 15:16:49 -07:00
Emily Stark
1b639e5853 Bump package versions for 0.9.0.1-rc1 2014-08-27 14:28:03 -07:00
David Glasser
43e01c09eb Improve treatment of prerelease (dashed) packages
Drop the "at-least" constraint type entirely. It was not user-accessible
and was only used in the form ">=0.0.0" to represent a constraint with
no version constraint at all. This type of constraint is now called
"any-reasonable".

The definition of "any-reasonable" is:

  - Any version that is not a pre-release (has no dash)
  - Or a pre-release version that is explicitly mentioned in a TOP-LEVEL
    constraint passed to the constraint solver

For example, constraints from .meteor/packages, constraints from the
release, and constraints from the command line of "meteor add" end up
being top-level.

Why only top-level-constrained pre-release versions, and not versions we
find explicitly desired by some other desired version while walking the
graph?

The constraint solver assumes that adding a constraint to the resolver
state can't make previously impossible choices now possible.  If
pre-releases mentioned anywhere worked, then applying the constraints
"any reasonable" followed by "1.2.3-rc1" would result in "1.2.3-rc1"
ruled first impossible and then possible again. That's no good, so we
have to fix the meaning based on something at the start.  (We could try
to apply our prerelease-avoidance tactics solely in the cost functions,
but then it becomes a much less strict rule.)

At the very least, this change should allow you to run meteor on a
preview branch like cordova-hcp without getting a conflict between the
prerelease package on the branch/release and the lack of an explicit
constraint in .meteor/packages on that package, because we are
reintepreting the .meteor/packages constraint as meaning "anything
reasonable" and the in-the-release version counts as reasonable.
2014-08-26 21:54:48 -07:00
David Glasser
0542a3a9ea 0.9.0-rc13, now on METEOR@ 2014-08-24 21:21:09 -07:00
David Glasser
53a844770f version bump for rc11 2014-08-21 18:45:08 -07:00
David Glasser
628be93f61 fix tests that tested lies! 2014-08-21 17:09:23 -07:00
David Glasser
5d5d1876da De-dup package name/constraint parsing code
Now we can all any of them from even before uniload is ready in the tool

I <3 symlinks
2014-08-21 17:00:21 -07:00
David Glasser
5bc415c51a Improve package name/version parsing errors
We now throw more specific errors, consistent between both tools and
package-version-parser (copy-and-pasted code, sadly, but we really do
have to make this check before uniload-from-checkout).
2014-08-21 16:21:12 -07:00
David Glasser
d8ff20103d version bumps (pre rc10)
We'll make rc10 tomorrow, but I want to build a release just to play
with built releases again.
2014-08-18 20:48:43 -07:00
David Glasser
f39a820d96 Don't parse '@>=' ranges by default
They are still used internally by the constraint solver (to implement
update --breaking) but cannot be externally specified.

Also, stop supporting "@none", whatever that was.
2014-08-15 22:12:04 -07:00
David Glasser
bc6239dfc1 vbump for rc9
Hopefully we won't have to do "bump for all the npm modules" again after
this
2014-08-15 12:34:47 -07:00
David Glasser
a9db15a9e6 vbump for 0.9.0-rc8 2014-08-14 12:02:08 -07:00
David Glasser
e59fb948b5 fix tests broken by 6850b679e9 2014-07-30 19:24:55 -07:00
David Glasser
4428f2b06d sync tests passes 2014-07-24 17:12:14 -07:00