Commit Graph

7 Commits

Author SHA1 Message Date
Slava Kim
39d8aef3d9 move files into console/ tool-testing/ 2015-08-06 16:39:00 -07:00
Slava Kim
8a8db83d29 Move files into tools/utils 2015-08-03 20:32:38 -07:00
David Greenspan
6705025880 Kill old version-parser test, rescue another
I found this entire file of commented-out self-tests.  The
version-parsing part seems out-dated now, but there are tests of 
utils.defaultOrderKeyForReleaseVersion in there that seem legit, which
I re-enabled.
2015-02-02 13:20:45 -08:00
David Greenspan
45752e3203 parseConstraint -> parsePackageConstraint
In the return value, `name` has been changed to `package`,
and `vConstraint` is now `versionConstraint`.

`constraint.package` is better than `constraint.name`, where
`constraint` is a PackageConstraint.  It's also more consistent
with functions like parsePackageAtVersion which return an object
like `{package, version}`.

`vConstraint` was too cryptic.

Changes were discussed with Glasser in a code review.

Troposphere does not call parseConstraint or work with constraint
objects, so it doesn't need to change.

This is a breaking change to the package-version-parser API (or one
method of it, at least), but it is considered an internal API so we
are not worrying too much about it.
2015-02-02 13:13:31 -08:00
ekatek
dd3b1605f9 tests 2014-05-28 19:05:27 -07:00
David Glasser
52e74df7b1 Default orderKey algorithm 2014-05-19 16:10:23 -07:00
Geoff Schmidt
985ffea9fa WIP - make package build run the constraint solver.
move constraint solver from a package into the tool.
unipackage loading is broken; next step is to fix that
2014-03-12 19:02:47 -07:00