Commit Graph

9273 Commits

Author SHA1 Message Date
Emily Stark
526f2149e0 Update release manifest for 0.9.0.1 release/METEOR@0.9.0.1 2014-08-27 15:17:10 -07:00
Emily Stark
b0e0ccb5a4 Bump package versions for 0.9.0.1 2014-08-27 15:16:49 -07:00
Emily Stark
6cafa33345 0.9.0.1 banners 2014-08-27 15:11:24 -07:00
Emily Stark
980e50ad0f Update apps to 0.9.0.1-rc1 2014-08-27 15:03:37 -07:00
Emily Stark
02e10f4532 History tweaks 2014-08-27 15:03:25 -07:00
Emily Stark
1b639e5853 Bump package versions for 0.9.0.1-rc1 release/METEOR@0.9.0.1-rc1 2014-08-27 14:28:03 -07:00
David Glasser
947dad2838 history updates 2014-08-27 12:26:49 -07:00
Justin SB
f1a7455d4c Spiderable now uses a flag to determine when the initial JS has loaded
Other approaches seemed to be heuristics that broke down in edge cases:
a timeout wasn't guaranteed if your JS was slow; page.load in PhantomJS
wasn't firing reliably because of long polling.
2014-08-27 12:25:45 -07:00
Matthew Arbesfeld
68c8a84155 Fix for SIGUSR2 signals during startup.
There was a rare race condition where SIGUSR2 can fire before the
  server starts listening, causing some functions to fail. We added
  a future to the synchronous queue to ensure that SIGUSR2 calls
  are queued to run after onListen.
2014-08-27 12:20:40 -07:00
David Glasser
6b7a99101d Start of History.md for 0.9.0.1 2014-08-27 02:36:11 -07:00
David Glasser
273b70bea4 prerelease versions shouldn't prompt you do update
Replace catalog.getLatestVersion with catalog.getLatestMainlineVersion,
which skips prerelease versions (those with dashes in the
version). Ensure that this function is only used by high-level commands
like 'meteor list'.  Replace other uses of that function with other
equivalent functions.

Also, don't stack trace on 'meteor add' constraint failure.
2014-08-26 23:56:51 -07:00
David Glasser
07d9a5e36c Arch-specific plugins make a package arch-specific.
Fixes #2449.
2014-08-26 23:35:28 -07:00
Avital Oliver
9c9eadc079 Add COMPAT WITH 0.8.3 comment 2014-08-26 23:16:03 -07:00
Matthew Arbesfeld
a5eea24d47 Update autoupdate description 2014-08-26 23:05:59 -07:00
David Glasser
3564c3ac4e Fix 'meteor add x@version' over x@other
Before, we were running the constraint solver with both the new and the
old constraint, which would fail if they were not simultaneously
satisfiable. (We were writing the right thing to disk if it succeeded,
at least.)
2014-08-26 23:04:29 -07:00
Avital Oliver
8373507288 Fix hot code push from pre-0.9.0 apps
For 0.9.0, we changed the structure of documents in the
ClientVersions collection. So now we just throw in a single
dummy document in the old format, triggering a reload.

Fixes #2447
2014-08-26 22:23:11 -07:00
David Glasser
6a6837e32c Fix constraint solver benchmark 2014-08-26 22:16:09 -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
Emily Stark
64ecaaf136 Add 'net' tag to "talk to package server" test 2014-08-26 20:49:11 -07:00
Emily Stark
2e870042d3 Add new argument to another loginWithTokenOrOAuth call 2014-08-26 20:49:11 -07:00
Emily Stark
4bb1c3f6ce Do login prompt when talking to package server with expired credential 2014-08-26 20:49:11 -07:00
David Glasser
c2c67b128e Fix infinite reload *AND* no-reload bugs in tests
The root of the problem David Greenspan tried to fix was that
__meteor_runtime_config__.autoupdateVersion was incorrectly 'unknown'
when running tests (due to packages/test-in-browser/autoupdate.js being
handled wrong by autoupdate_server.js).  Turns out the right solution is
to ensure the version is known, not to avoid reloading when the version
is unknown.
2014-08-26 20:45:07 -07:00
David Glasser
7358986f13 Revert "Fix infinite reload loop running tests"
This reverts commit 35d816a363.
2014-08-26 20:43:22 -07:00
David Glasser
5d4a93d627 Revert "Fix the fix to the infinite reload loop"
This reverts commit 1ad3dd17af.
2014-08-26 20:43:21 -07:00
David Greenspan
1ad3dd17af Fix the fix to the infinite reload loop
…after talking to arbesfeld
2014-08-26 17:46:52 -07:00
David Greenspan
35d816a363 Fix infinite reload loop running tests
(just a guess at the fix; arbesfeld to fix the fix if necessary)
2014-08-26 17:46:49 -07:00
Matthew Arbesfeld
e8437bd91b Fix for autoupdate refresh not firing on initial document
If you have an old version of the app loaded, startup won't
pick up the new version.
2014-08-26 11:55:26 -07:00
David Glasser
22c9ac644d autoupdate_client improvements
- use observe instead of observeChanges so that assets is there even if
  not changing

- protect against nonexistence doc.assets
2014-08-26 11:55:12 -07:00
David Glasser
75937b99a9 Merge branch 'release-0.9.0' 2014-08-26 08:08:02 -07:00
David Glasser
2f74369043 Update examples. 2014-08-26 08:07:13 -07:00
David Glasser
9a4a7f2b11 update docs 2014-08-26 08:00:45 -07:00
David Glasser
a998b3b97d banner tweaks 2014-08-26 07:50:53 -07:00
David Glasser
d4f14d9362 0.9.0 final release/METEOR@0.9.0 2014-08-26 07:13:53 -07:00
David Glasser
6cf7addcdc rc22 release/METEOR@0.9.0-rc22 2014-08-25 22:50:33 -07:00
David Glasser
f7c6f505ac Never springboard to a red pill 2014-08-25 22:49:32 -07:00
David Glasser
97e1dd425c update examples to 0.9.0-rc21 2014-08-25 22:25:31 -07:00
David Glasser
23f76f3cea slight banner update 2014-08-25 21:45:57 -07:00
David Glasser
0030c3a1d7 rc21 release/METEOR@0.9.0-rc21 2014-08-25 21:23:49 -07:00
David Glasser
0562466ad4 Rename upgraders file to .finished-upgraders
The idea is that dotfiles in .meteor (like .id and .finished-upgraders)
aren't intended to be human-editable, whereas packages, release,
and versions are (although there are commands to edit them too).
2014-08-25 21:21:43 -07:00
David Glasser
5c5092eeae Test for bfb8359
This only tests the resolver part of the change, not the change that
gets the right data from "meteor add" into the solver.
2014-08-25 21:05:12 -07:00
David Glasser
bfb8359499 Only choose prerelease package versions if asked
Make sure 'meteor add foo' gives the same constraint to the solver as
'foo' from .meteor/packages: namely, '>=0.0.0' not
'unconstrained' (since the first rules out rcs and the second doesn't)
2014-08-25 19:57:28 -07:00
David Glasser
35d882f935 expand where banners go 2014-08-25 19:49:57 -07:00
David Glasser
fa6e924108 banner text from geoff 2014-08-25 19:11:35 -07:00
David Glasser
521f724e16 bump, rc20 release/METEOR@0.9.0-rc20 2014-08-25 17:39:39 -07:00
David Glasser
2ee41fda74 Projects should start with all known upgraders 2014-08-25 17:38:27 -07:00
David Glasser
0bbdc175a5 An extra update message 2014-08-25 17:36:03 -07:00
David Glasser
23a57a9648 bump tool version again 2014-08-25 17:27:07 -07:00
David Glasser
08f0a3bab0 Fixes to unforced update to not-quite-last release
Make sure that project._ensureDepsUpToDate does not get run mid-update,
since it might decide that various things are not compatible with the
packages in the current release. When the update command runs the
constraint solver explicitly, it passes ignoreProjectDeps, but implicit
calls can lead to an unhappy process.exit.
2014-08-25 17:25:08 -07:00
David Glasser
96e606ab89 bump tool version 2014-08-25 16:47:37 -07:00
David Glasser
1eaf87b881 fix typo 2014-08-25 16:46:30 -07:00