Commit Graph

13896 Commits

Author SHA1 Message Date
Sashko Stubailo
82948d5054 Bump package versions for hopefully final RC release/METEOR@1.1-rc.5 2015-03-31 11:45:57 -07:00
Sashko Stubailo
5182736c61 Bump RC version 2015-03-31 11:42:58 -07:00
Sashko Stubailo
9c8cce8ce7 Write banner 2015-03-31 11:40:03 -07:00
Sashko Stubailo
497a26de49 Fix typo 2015-03-31 11:29:04 -07:00
Sashko Stubailo
d899f9a672 Improve History.md for 1.1 2015-03-31 11:27:54 -07:00
sashko
5fbdfce664 Throw a nice error when you are trying to run an old release 2015-03-31 11:16:10 -07:00
Sashko Stubailo
3b225904c3 Throw error on Windows if you try to springboard to a super old release 2015-03-31 10:51:50 -07:00
Sashko Stubailo
eea9e21895 Rename test to more accurately reflect what it does now 2015-03-31 10:51:50 -07:00
David Glasser
911a92a41d Update contributors list 2015-03-31 13:37:54 -04:00
David Glasser
9401572041 Remove broken do-not-update-to-rcs test
It was broken because fake-warehouse and test-package-server were
incompatible.  In order to actually use the published packages, we had
to sync test-package-server into the local warehouse.  But as soon as we
did that, the latest release became some other random release.

In any case, the semantics tested here have changed twice since 0.9.0!
In 0.9.0.1 we changed it from "ask for any RC means get any RC" to
"don't get any RCs that aren't explicitly anticipated".  And in 1.1
we're changing it to "minimize unanticipated RCs".

Manually running through the equivalent of this test, most of it works
except for the last line; `meteor update` will not take you from one RC
to the next, due to minimizing unanticipated RCs.  That's probably fine
though.

While we're at it, make it much more clear that warehouse and
test-package-server don't work together.
2015-03-31 13:08:53 -04:00
sashko
168a39adae Fix fake mongo test on Windows 2015-03-31 08:12:03 -07:00
Slava Kim
6d7279373e Fix trailing whitespace for empty lines, in unwrapped mode 2015-03-30 21:53:18 -07:00
Slava Kim
ae398ede87 Don't expect a wrapped path in self-tests for meteor show 2015-03-30 21:51:54 -07:00
Slava Kim
7e7005cc9d Reimplement indent for non-wrapped text 2015-03-30 21:35:33 -07:00
Slava Kim
9bd5b22a85 Indent in unwrapped mode 2015-03-30 21:31:05 -07:00
Slava Kim
bfadacbe8c Revert the broken pattern reporting 2015-03-30 21:11:59 -07:00
Slava Kim
479a14af1d Don't expect the directory line to be wrapped 2015-03-30 21:10:22 -07:00
Slava Kim
742fdca951 Don't wrap the tests and patterns 2015-03-30 21:06:47 -07:00
Sashko Stubailo
3977f8cce3 Bump oauth-encryption dep 2015-03-30 20:57:54 -07:00
Slava Kim
56a8ec7556 Use a more specific METEOR_NO_WRAP 2015-03-30 20:55:05 -07:00
Sashko Stubailo
93fe5eb9f1 Also don't crash when cleaning up temp dirs at the end of app run 2015-03-30 20:49:07 -07:00
Sashko Stubailo
8d0627d0a2 Make npm-node-aes-gcm throw a better error when OpenSSL isn't installed 2015-03-30 20:49:01 -07:00
Slava Kim
613f879abd Don't wrap text in self-test mode 2015-03-30 20:47:24 -07:00
Slava Kim
9abdf1eef1 Fixes to old cli tests 2015-03-30 20:15:36 -07:00
Sashko Stubailo
19a3e31353 Make deploy use mkdtemp 2015-03-30 19:56:35 -07:00
Sashko Stubailo
557f65970d Don't crash on failed temp dir cleanup 2015-03-30 19:55:44 -07:00
David Greenspan
b99c9a42c4 Fix remaining 'publish' self-test failures on OS X 2015-03-30 19:41:41 -07:00
David Greenspan
3f0f98ff62 --allow-incompatible-update: exclude pinned pkgs
Don't throw errors about changing versions of root dependencies from
the previous solution if the package has a top-level equality
constraint like foo@=1.2.3.

This avoids the need for --allow-incompatible-update in a variety of
cases that it isn't really designed for:

* Core package versions changing when switching branches or changing
  between prereleases.
* Scenarios where you override a core package
* Adding an explicit equality constraint: `meteor add foo@=1.2.3`
  (you will still be prompted to pass --allow-incompatible-update
  if the constraint is inexact, like foo@1.2.3).

Fixes the 'list-with-a-new-version' self-test, 'package-depends-on-
either-version', and probably 'old cli tests'.
2015-03-30 19:11:01 -07:00
sashko
8e4f645a00 UrlEscape the login/register data from installer 2015-03-30 18:10:32 -07:00
David Greenspan
3bc172dc20 Support --allow-incompatible-update in meteor list
Undocumented flag.  This is one of those cases that is rare but may
come up, because `meteor list` runs the version solver (and writes
.meteor/versions).  For example, it may come up if you run `meteor 
list` with PACKAGE_DIRS and then without (or vice versa).  You'll
get a message that says to pass --allow-incompatible-update, so we
must support it.
2015-03-30 18:04:40 -07:00
sashko
21b1592953 Improve error message and loading text 2015-03-30 17:28:04 -07:00
sashko
4b01b2ad9b Add message that says installing might take a minute 2015-03-30 17:15:06 -07:00
David Greenspan
a4bda98fa8 Fix self-test 'add package with no builds' 2015-03-30 17:01:16 -07:00
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
Slava Kim
56e1e08292 Rewrite part of the old/cli-test.sh test to selftest 2015-03-30 16:35:32 -07:00
David Glasser
202ef0f3ee Don't try to uglify on the client
Follow-up to 36ff10c08.

Note that 696ce39c10 made tests fail, because it used minifiers on the
client for the first time, which hit this edge case.

If you are hitting this issue in your own app because you are using
SpacebarsCompiler on the client and loading minifiers, you can work
around it for now by putting this somewhere:

   Package.minifiers.UglifyJSMinify = function (code) {
     return { code: code };
   };
2015-03-30 14:40:30 -07:00
David Greenspan
e9286de47d Revert part of 5810fd6 to fix perf regression
This brings the "rails, gitlabhq" benchmark test back to about 45
seconds on my machine, rather than over 10 minutes.
2015-03-30 13:01:03 -07:00
Avital Oliver
926cf1ca9d 1.1-rc.4 release/METEOR@1.1-rc.4 2015-03-28 12:19:05 -07:00
Avital Oliver
d2427c9b8e 1.1-rc.3 2015-03-28 12:17:28 -07:00
Avital Oliver
fa22f400ae Merge tag 'release/METEOR@1.1-rc.1' into release-1.1 release/METEOR@1.1-rc.3 release/METEOR@1.1-rc.2 2015-03-28 11:57:04 -07:00
sashko
b6fb6f5444 Change output name 2015-03-27 11:37:31 -07:00
Sashko Stubailo
acee5d0fcc Bump package versions release/METEOR@1.1-rc.1 2015-03-27 10:37:27 -07:00
Sashko Stubailo
aa597d405a Bump release version 2015-03-27 10:35:08 -07:00
David Greenspan
3940b29d29 Fix "html scanner" tests when run in isolation
...and sometimes when running all tests, seemingly
2015-03-27 09:51:49 -07:00
Avital Oliver
358d797373 Improve error on publish-for-arch with colons
It's unfortunate that this change is in `compiler.compile`. It's
actually unfortunate that we only catch this during publish-for-arch.
But it seems too much to disallow all packages published with colons
even if they don't have binary dependencies since a lot of old
packages were created with our command-line tool that created
filenames with colons in them.
2015-03-26 18:46:12 -07:00
David Glasser
d79ca97398 Be clearer that you need to publish for this arch
Fixes #3961.
2015-03-26 17:32:37 -07:00
Avital Oliver
120febbf8a Fix meteor reset on Windows
We were incorrectly always assuming that Meteor is running
by not actually trying to connect to the port that the
MONGO-PORT file reports Mongo is listening to.

The problem is that that file isn't cleared when Meteor
quits or crashes.

Fixes https://github.com/meteor/windows-preview/issues/138
2015-03-26 17:11:17 -07:00
Slava Kim
2b2b721ff4 Reformat the warnings 2015-03-26 17:07:00 -07:00
Slava Kim
0a7cf60294 Add a warning about proxy env variables when a connection in tool fails 2015-03-26 16:58:41 -07:00
David Greenspan
ae09e3fae6 History.md entry for Blaze bug fix 2015-03-26 10:04:22 -07:00