Commit Graph

9196 Commits

Author SHA1 Message Date
David Glasser
0542a3a9ea 0.9.0-rc13, now on METEOR@ release/METEOR@0.9.0-rc14 release/METEOR@0.9.0-rc13 2014-08-24 21:21:09 -07:00
David Glasser
a247b79aa1 test version bumps, sigh 2014-08-24 21:17:58 -07:00
David Glasser
0a47309ce6 fix change-homepage help 2014-08-24 20:52:00 -07:00
David Glasser
d4280a22eb make "no compatibile build" error not bracketed
this function needs to be rewritten, but not today
2014-08-24 20:18:43 -07:00
David Glasser
9ee39f2807 Add XXX comment to publish-for-arch 2014-08-24 19:54:44 -07:00
David Glasser
24d844a808 consistently handle package server calls
I don't love this idiom but we might as well use it consistently.

This will mean that, eg, errors from the server will not be stack
traces.
2014-08-24 19:51:41 -07:00
David Glasser
ac7915b90b print correct maintainers after add/remove 2014-08-24 19:31:33 -07:00
David Glasser
d30efc2ae8 don't print publish-for-arch warning on failure 2014-08-24 19:01:24 -07:00
David Glasser
08b2625082 METEOR-CORE -> METEOR 2014-08-24 18:46:37 -07:00
David Glasser
50bf28b1d0 docs: minor tweaks, update table of contents 2014-08-24 17:18:07 -07:00
ekatek
2e4893d8af docs apis 2014-08-24 03:02:09 -07:00
ekatek
2f8e6d7af1 wip 2014-08-23 22:44:35 -07:00
ekatek
b96f455b80 docs changes: everything but the API 2014-08-23 22:15:46 -07:00
ekatek
6154916bfd changing release name and removing the release override 2014-08-23 20:32:32 -07:00
David Glasser
3f63c748ac Prevent accidental top-level package creation 2014-08-23 19:51:46 -07:00
David Glasser
95cfa87de1 Use unmigrated flag instead of description check 2014-08-23 16:33:25 -07:00
David Glasser
7fe36fb904 Actually, --show-old 2014-08-23 16:06:32 -07:00
David Glasser
80d271fa24 Rename search/show --show-broken to --include-old 2014-08-23 16:02:23 -07:00
David Glasser
bc8d2e0459 Ensure we find out about newly published *builds*
Reported at
https://github.com/meteor/meteor/issues/2405#issuecomment-53144897

Basically, we were smart enough to refresh if the local cache didn't
know about the *VERSION* but if it knew about the version but not about
the relevant build, we did not refresh.
2014-08-23 15:52:38 -07:00
David Glasser
7c23ca5fde 'curmeteor update' should still update packages 2014-08-23 15:15:37 -07:00
David Glasser
e07aedb0fa Don't pin packages we're trying to upgrade
Now meteor update will actually upgrade the packages it's trying to
upgrade
2014-08-23 15:05:59 -07:00
ekatek
ce99e88ee7 some new lines in error output 2014-08-23 13:48:46 -07:00
David Glasser
42cf334b9c mailmap update 2014-08-22 21:08:11 -07:00
David Glasser
a1be4f5952 License update 2014-08-22 21:03:19 -07:00
David Glasser
f37cfafd18 Fix for programs with attributes.json type client 2014-08-22 19:38:24 -07:00
David Glasser
cf3753b244 Update docs app to 0.9.0-rc12 2014-08-22 19:34:12 -07:00
David Glasser
75310c9493 vbump for rc12 release/METEOR-CORE@0.9.0-rc12 2014-08-22 19:07:01 -07:00
David Glasser
f9744e5d93 Reduce size of less module by 60% 2014-08-22 18:32:00 -07:00
David Glasser
aa8e465b4e Shrink dev bundle by removing 10M phantom zip file
The phantom install process downloads this zip file but doesn't clean it
up.
2014-08-22 18:24:42 -07:00
David Glasser
69b2618912 Merge branch 'clarify-project-ids' into release-0.9.0 2014-08-22 18:05:15 -07:00
David Glasser
a8e8995c91 Support comments in .meteor/.id file
Make project.rootDir be absolute in 'meteor create'
2014-08-22 18:04:24 -07:00
David Glasser
412033f7c4 Support comments in .meteor/.id 2014-08-22 17:54:44 -07:00
David Glasser
131b73bc71 update tools/tests id files
really, these directories shouldn't have the files, we should copy to a
temp dir...
2014-08-22 17:33:36 -07:00
David Glasser
c4948d8dff rename .meteor/identifier -> .meteor/.id 2014-08-22 17:31:21 -07:00
David Glasser
1ff2c3bae9 Bundle build before creating time-sensitive URL 2014-08-22 12:41:16 -07:00
David Glasser
ff63e4fdb6 Revert "Lower version numbers of some third-party packages"
This reverts commit 080f6f60dd.

Unfortunately, this broke all packages that were published with
`api.versionsFrom('METEOR-CORE@0.9.0-atm')` that used one of these
packages.
2014-08-22 02:15:03 -07:00
David Glasser
55d1901729 Remove dormant "no-downgrade constraint" code
Also removes 'update --minor' and 'add --force'.

In the constraint solver, previousSolution (ie, .meteor/versions) was
intended to be used for three purposes:

  (a) The *heuristic* used in the state graph walk to decide what state
      to look at next:
       - VERY STRONGLY prefers not to downgrade *root* dependencies or
         change them to incompatible newer versions
       - Kinda Strongly prefers not to upgrade root dependencies far
       - mildy prefers not to change transitive dependencies (in any
         direction)

  (b) Actual *constraints* are added to the set of constraints we are
      trying to solve, which state that *root* dependencies are not
      to be downgraded.  Additionally, in most invocation contexts,
      constraints are added that say that *root* dependencies are
      not to be upgraded to incompatible versions (1.3.0 -> 2.0.0).
      The only contexts that lack the secondary constraints are
      part of 'update --minor', and 'add --force'.

  (c) A more recent change (past few weeks): When running the constraint
      solver, we actually run the core constraint solving algorithm
      twice. The first time, we add *equality* constraints for all
      of the previous versions.  If that succeeds, great!  We're not
      changing any versions (we may add packages that we didn't have
      before or drop packages that are no longer needed, though).

      Otherwise, we run the constraint solver again without the equality
      constraints.

However, due to a bug introduced in May in 0760ffbc36, (b) actually
*never happened*.  The commit was the one that intended to make the
(b) constraints only be for root dependencies. But the line:

     if (! _.contains(dependencies, uv.name))

is comparing 'uv.name' (something like 'foo#web.browser') to
'dependencies' (a list of things like 'foo'). So in fact, it thinks that
no dependencies are root and doesn't apply the constraints.

That's actually good, because this code is used in many more places than
just 'meteor update', and applying these things as strong constraints
would actually be problematic; eg, it would break 'meteor --release
slightlyolderrelease'!

In addition, the `update --minor` flag was actually not implemented (it
was not in the command declaration).

So for now, we're removing this dead code.  We may reintroduce 'update
--minor' or 'add --force' later.  We trust that the heuristic will do a
decent job of preventing unnecessary downgrades or incompatible upgrades
while still allowing you to run updates to an older version, eg.

(And in the future, we may change 'meteor update' to use the constraint
solver to figure out which release to update to, rather than going for
the latest one that there exists any solution for.)
2014-08-21 23:20:17 -07:00
David Glasser
a4c5009cea fix 'sync local catalog' test
there was an unnecessarily strong ordering assumption
2014-08-21 19:43:54 -07:00
David Glasser
1843ba0cd6 fix help test 2014-08-21 19:37:23 -07:00
David Glasser
1ff35e49fb list-sites sorts its output. fix test. 2014-08-21 19:37:05 -07:00
David Glasser
53a844770f version bump for rc11 release/GLASSER-TEST@2.0 release/METEOR-CORE@0.9.0-rc11 2014-08-21 18:45:08 -07:00
David Glasser
5fbb8bc9f1 help update for create --package 2014-08-21 18:45:08 -07:00
Emily Stark
3c6c51acd1 Add extra check in stats retrieval in test 2014-08-21 18:31:46 -07:00
Emily Stark
1852e7b2c0 Update test for new package stats format 2014-08-21 18:23:38 -07:00
Emily Stark
81a0a0c7e2 Update to new package stats format 2014-08-21 18:23:38 -07:00
Emily Stark
0c2dd7aff4 Change package stats server hostname 2014-08-21 18:23:37 -07:00
David Glasser
ceb8be5776 Remove distracting #web.browser from CS errors
You can get them back with $METEOR_SHOW_UNIBUILDS.
2014-08-21 17:53:37 -07:00
David Glasser
5295907f99 Make unknown package failure better
We throw a better (eg, constraintSolverError-tagged) "package not found"
at the appropriate spot later.
2014-08-21 17:47:00 -07:00
David Glasser
e36c4184ab fix old bundler test failure 2014-08-21 17:46:51 -07:00
David Glasser
bc1520cbdd great, now we can use parseConstraint 2014-08-21 17:09:36 -07:00