Files
meteor/tools
David Greenspan 4a4680b5d2 Exclude published package from previousSolution
When you `meteor publish` a package (not from an app), a
ProjectContext is created that gets the Version Solver
"previousSolution" from the .versions file in the project directory.
From the point of view of the Version Solver, the package itself is
a root dependency, so if the version changes from last time, you
may be asked to pass --allow-incompatible-update!  That isn't right.
However, the ProjectContext created by `meteor publish` doesn't know
it is created for a particular package.  But it does have the package
marked as "explicitly added."  So for now, the simplest thing to do
is to alter the input to the Version Solver based on the value of
explicitlyAddedLocalPackageDirs.

Oh, another wrinkle here is that we don't actually know the name of
the package we're publishing when we create the PackageContext, so it
can't be an option.

Example of a failing self-test that now passes:
'packages with organizations'
2015-03-30 16:58:47 -07:00
..
2015-02-10 11:56:20 -08:00
2014-12-12 09:03:10 -05:00
2014-12-04 17:56:04 -08:00
2015-03-09 15:39:22 -07:00
2015-03-26 17:07:00 -07:00
2015-02-04 12:57:17 -08:00
2015-03-26 17:11:17 -07:00
2015-02-04 13:56:54 -08:00
2015-03-03 18:54:53 -08:00
2015-03-26 17:07:00 -07:00
2014-06-13 17:14:42 -07:00
2015-03-12 17:21:30 -07:00
2015-03-05 15:55:44 -08:00
2015-02-13 20:36:45 -08:00
2015-02-17 09:22:48 -08:00
2015-03-23 14:57:54 -07:00
2015-03-24 17:19:47 -07:00
2015-02-10 16:57:44 -08:00