Commit Graph

17266 Commits

Author SHA1 Message Date
Ben Newman
79d5a7139f Bump package versions for 1.4-rc.0 release. release/METEOR@1.4-rc.0 2016-07-18 14:57:24 -04:00
Ben Newman
00c05facde Merge branch 'devel' into release-1.4 2016-07-18 14:52:14 -04:00
Ben Newman
78af10a047 Merge pull request #7407 from meteor/release-1.3.5
Release 1.3.5
2016-07-18 18:38:31 +00:00
Ben Newman
ea3153230e Bump package versions for the official 1.3.5.1 release. release/METEOR@1.3.5.1 2016-07-17 21:51:38 -04:00
Ben Newman
095521fcbb Update History.md to reflect changes in 1.3.5.1. 2016-07-17 21:50:57 -04:00
Ben Newman
df7d19915a Bump package versions for 1.3.5.1-rc.1 release. release/METEOR@1.3.5.1-rc.1 2016-07-17 21:33:32 -04:00
Ben Newman
39851fc6b0 Use known dev_bundle path for internal npm commands. 2016-07-17 21:26:53 -04:00
Ben Newman
6e917eeb02 Bump package versions for 1.3.5.1-rc.0 release. release/METEOR@1.3.5.1-rc.0 2016-07-17 13:12:25 -04:00
Ben Newman
35b387bdc1 Always default to checkout dev_bundle for meteor {node,npm}. 2016-07-17 13:09:06 -04:00
Ben Newman
4e2615e3fc Use Buffer.concat instead of joining strings. 2016-07-17 13:08:37 -04:00
Ben Newman
576468eae8 Handle more errors in ensureDevBundleLink.
If a developer tried to `meteor update` a project whose `.meteor/release`
file corresponded to a version of `meteor-tool` that no longer exists in
`~/.meteor/packages/meteor-tool`, this code would throw an ENOENT error.
This could be fixed by running `meteor update --release <old release>`
first, but that kind of workaround shouldn't be necessary when updating
Meteor to the latest version.
2016-07-17 12:50:20 -04:00
Ben Newman
23a2a457f5 Bump package versions for the official 1.3.5 release. release/METEOR@1.3.5 2016-07-16 14:05:35 -04:00
Ben Newman
785c1b08b4 Update History.md to mention GYP_MSVS_VERSION. 2016-07-16 14:04:14 -04:00
Ben Newman
ac7660e41a Bump package versions for 1.3.5-rc.3 release. release/METEOR@1.3.5-rc.3 2016-07-16 12:34:08 -04:00
Ben Newman
57ccaa27f9 Return an OS path for .meteor/local/dev_bundle. 2016-07-15 18:29:44 -04:00
Ben Newman
f08ea70a47 Print stack traces from failed meteor {node,npm} commands. 2016-07-15 18:29:13 -04:00
Ben Newman
4896510aa9 Bump package versions for 1.3.5-rc.2 release. release/METEOR@1.3.5-rc.2 2016-07-15 16:28:01 -04:00
Ben Newman
a14bdc3774 Disable progress bar animations for internal npm commands.
https://github.com/npm/npm/issues/11283
2016-07-15 16:27:46 -04:00
Ben Newman
0f49be5973 Don't pass custom env to python.exe in addWindowsVariables.
The env isn't necessary, and it seems to cause problems running python.exe
in some Windows environments.
2016-07-15 16:27:46 -04:00
Ben Newman
578d40a753 Use node-gyp to infer GYP_MSVS_VERSION when possible.
As a refinement of my previous commit, we will continue setting the
$GYP_MSVS_VERSION variable to "2015" except in cases where the Python
library behind node-gyp succeeds in inferring the correct version.

Note that the Python library will never infer "2015" by itself, even
though that's the version recommended by the node-gyp setup instructions:

  https://github.com/nodejs/node-gyp#installation.

Note also that the Windows machines used by `meteor admin get-machine` and
build.meteor.com have version "2010e", which can be inferred.

In other words, this commit allows the following groups of developers to
avoid setting $GYP_MSVS_VERSION manually:

  1. Developers who followed the node-gyp setup instructions.
  2. Package authors who run `meteor publish-for-arch` on build machines.
2016-07-15 15:57:31 -04:00
Ben Newman
3c06050a25 Stop setting process.env.GYP_MSVS_VERSION for meteor npm.
Setting GYP_MSVS_VERSION to 2015 when the Visual C++ 2015 build tools are
not (and/or cannot be) installed is (in my experience) the leading cause
of `npm rebuild` failures on older Windows machines.

Auto-detecting the appropriate version is something node-gyp ought to be
able to do as well as Meteor possibly could, at least according to
https://github.com/nodejs/node-gyp/blob/1dcf356ca7/gyp/pylib/gyp/MSVSVersion.py#L222-L223

When selecting a different version is important, you can always set the
GYP_MSVS_VERSION environment variable yourself. Specifically, if you're a
package author, and your package depends on npm packages that can only be
compiled with a newer version of MSBuild.exe, then you might need to run

  $env:GYP_MSVS_VERSION = "2015"
  meteor publish-for-arch name:package@x.y.z

I fully trust that the folks in that small category can handle that
additional burden.
2016-07-15 12:42:49 -04:00
Ben Newman
5941000603 Write empty package.json to avoid warnings when installing from shrinkwrap. 2016-07-15 12:42:49 -04:00
Ben Newman
c4f899874b Bump npm-bcrypt version used by accounts-password. 2016-07-15 12:42:49 -04:00
Ben Newman
5982ab6161 Bump npm-bcrypt package version to 0.8.6_3.
Republishing may help with #7408.
2016-07-14 20:53:09 -04:00
Ben Newman
c8a55feaa5 Bump package versions for 1.3.5-rc.1 release. release/METEOR@1.3.5-rc.1 2016-07-14 17:07:30 -04:00
Ben Newman
e85cef8e1a Make download resumption test faster and more deterministic.
We now use a smaller file (the `babel-compiler` archive instead of
`meteor-tool`), and we interrupt every 500kB, which leads to three total
interruptions for that file. Also, we only delay one second (instead of
five) between attempts.
2016-07-14 17:00:08 -04:00
Ben Newman
91f203999b Make download resumption test always run (and pass).
This is a test that really needs to run and pass every time we run the
test suite, so I decided it shouldn't be --slow. If it takes too long, we
can always download a smaller test file.

Hard-coding the download length was a recipe for brittleness, so now I'm
downloading the file without interruptions in parallel with the
interrupted/resumed download, so that we can compare the two files when
both have finished downloading.

Follow-up to #7399.
2016-07-14 16:05:35 -04:00
Ben Newman
7a530f79f6 Increase more test timeouts for robustness' sake. 2016-07-14 14:52:41 -04:00
Ben Newman
d20dcbeab5 Don't let meteor {node,npm} fail if packages.data.db incomplete.
It's pretty strange that `data` can be undefined when there is no `error`,
but that's the API we're dealing with.
2016-07-14 14:39:38 -04:00
Ben Newman
f0e3522b3c Make autoupdate self-test more robust. 2016-07-14 13:53:53 -04:00
Ben Newman
9c31fa0cc6 Increase inotify user watch count for Circle CI tests.
See also: https://circleci.com/blog/sudo-circleci-make-me-a-sandwich/
2016-07-14 13:18:21 -04:00
Ben Newman
a6e2cd82c6 Bump package versions for 1.3.5-rc.0 release. release/METEOR@1.3.5-rc.0 2016-07-14 13:00:52 -04:00
Ben Newman
9ae91e7b73 Rename upgrader that removes .meteor/dev_bundle. 2016-07-14 12:51:17 -04:00
Ben Newman
9131700684 Bump package versions for 1.3.5-beta.0 release. release/METEOR@1.3.5-beta.0 2016-07-14 12:04:53 -04:00
Ben Newman
0f039ea5d3 Bump $BUNDLE_VERSION to 0.6.19 before rebuilding dev bundle. 2016-07-14 11:47:33 -04:00
Ben Newman
e5b1b4f129 Update History.md to reflect changes in Meteor 1.3.5. 2016-07-14 11:47:33 -04:00
Ben Newman
0c43039f60 Avoid fiberHelpers.bindEnvironment by returning Promise from attempt.
Follow-up to #7399.
2016-07-14 11:47:32 -04:00
Ben Newman
fbfb5b84e2 Avoid exposing httpHelpers._currentRequest.
Follow-up to #7399.
2016-07-14 11:47:32 -04:00
Tom Coleman
2cb3462b6d Minor fixes + added a comment 2016-07-14 11:47:32 -04:00
Tom Coleman
c7b537424a Added stream buffers to the dev bundle 2016-07-14 11:47:31 -04:00
Tom Coleman
4a28c33dd7 Better logging and progress
Using Console.debug to register messages about retries.
2016-07-14 11:47:31 -04:00
Tom Coleman
36011459fa Made the test work in a sensible way 2016-07-14 11:47:31 -04:00
Tom Coleman
cc07c15b6b First pass at request resuming via buffering the range header
This is still a WIP, but I wanted to get feedback at this point.
Will update the PR with outstanding TODOs.
2016-07-14 11:47:30 -04:00
Ben Newman
73e44a3c9c Use .meteor/local/dev_bundle instead of .meteor/dev_bundle.
I'm deliberately leaving in the code to ensure .meteor/.gitignore contains
dev_bundle for now, so that the old file won't get accidentally checked
into anyone's app repository.
2016-07-14 11:47:30 -04:00
Ben Newman
5e874bec93 Make $METEOR_NPM_REBUILD_FLAGS override default flags. 2016-07-14 11:47:29 -04:00
Ben Newman
9e24096267 Update History.md to reflect changes in Meteor 1.3.5. 2016-07-14 11:47:27 -04:00
Ben Newman
46c0243fce Support additional meteor rebuild flags via environment variable. 2016-07-14 11:27:59 -04:00
Ben Newman
fa14798115 Pass --no-bin-links to npm rebuild to fix #7401. 2016-07-14 11:27:58 -04:00
Ben Newman
f4ac7dc448 Decompose npm-rebuild-args.js.
Helps with #7401.
2016-07-14 11:27:58 -04:00
Ben Newman
e90ce88b0e Fix a bug in tools/utils/http-helpers.js. 2016-07-14 11:27:58 -04:00