Commit Graph

19692 Commits

Author SHA1 Message Date
Ben Newman
ba42d791b1 Bump package versions for 1.6-beta.24 release. release/METEOR@1.6-beta.24 2017-08-22 22:15:34 -04:00
Ben Newman
7deaa882cb Bump $BUNDLE_VERSION to 8.4.1 before rebuilding dev bundle. 2017-08-22 22:05:14 -04:00
Ben Newman
dd5d7e2786 Merge branch 'release-1.5.2' into release-1.6 2017-08-22 22:04:03 -04:00
Ben Newman
6abd102648 Bump the ./meteor --get-ready time limit. 2017-08-22 21:58:24 -04:00
Ben Newman
3e0033c19c Bump package versions for 1.5.2-beta.13 release.
I had a network interruption while trying to upload 1.5.2-beta.12, so I
decided to skip that version.
release/METEOR@1.5.2-beta.13
2017-08-22 21:14:39 -04:00
Ben Newman
754b0c5abc Merge branch 'devel' into release-1.5.2 2017-08-22 20:55:33 -04:00
Hugh Willson
cd5405437c Visually notify of uncaught exceptions breaking client tests (#9034)
* Visually notify of uncaught exceptions breaking client tests

These changes add a global `window.onerror` event handler
to the `test-in-browser` package, to catch any previously
uncaught exceptions. When uncaught exceptions are found,
an alert box is displayed above the test results table.
This should help notify developers of hidden uncaught
exceptions that could be preventing client tests from
running.

Fixes #4979.

* Bump the test-in-browser package version
2017-08-22 20:52:30 -04:00
Ben Newman
55be71b86f Merge pull request #9031 from meteor/patch-node-4.8.4-to-fix-segfaults
Patch Node 4.8.4 to fix segmetation faults.
2017-08-22 20:15:37 -04:00
Ben Newman
05c8627be9 Run ./meteor --get-ready instead of just ./meteor --help.
A while back we switched from running `./meteor --get-ready`, a command
that takes many minutes and sometimes runs out of memory, to just running
`./meteor --help` to prepare for self-tests.

The hope was that `./meteor --help` would fail less often, and the work
that would have been done by `./meteor --get-ready` would be spread out
through the actual tests. This helped, I think, but we've been seeing
quite a few self-test failures due to unreliable timing of the actual
tests, so I'd like to try shifting the balance back.

I'm pushing this to the branch with our patched Node 4.8.4, because
that branch should have a lower risk of segmentation faults, which may
allow `./meteor --get-ready` to succeed more often.

This is a bit of a shot in the dark, admittedly, but I want to see what
happens. 🤞
2017-08-22 19:26:55 -04:00
Ben Newman
e2fe03a643 Add note to History.md about patching Node 4.8.4. 2017-08-22 16:41:01 -04:00
Ben Newman
e2f0bed272 Bump $BUNDLE_VERSION to 4.8.34 before rebuilding dev bundle. 2017-08-22 16:41:01 -04:00
Ben Newman
31c403c33f Update NODE_BUILD_NUMBER to latest Jenkins build, 33. 2017-08-22 16:41:01 -04:00
Jesse Rosenberger
77d41a7084 Build Node.js with ICU support.
To remain the same as official Node.js releases, we need to build with
the `small-icu` ICU (International Components for Unicode) package.
For Node.js 4.x this means ICU 56.x.  As found with `process.config` on
an official Node.js release.

See https://github.com/nodejs/node/wiki/Intl#configure-node-with-specific-icu-source.
2017-08-22 16:41:01 -04:00
Ben Newman
955bce8096 Bump $BUNDLE_VERSION to 4.8.33 before rebuilding dev bundle. 2017-08-22 16:41:01 -04:00
Ben Newman
67b76abc78 Make node-gyp look for headers in dev_bundle/include/node.
Thanks to @abernix for identifying this solution to the duplication
between dev_bundle/include/node and dev_bundle/.node-gyp/*/node.
2017-08-22 16:41:01 -04:00
Ben Newman
857841c20d Bump $BUNDLE_VERSION to 4.8.32 before rebuilding dev bundle. 2017-08-22 16:41:01 -04:00
Ben Newman
8e7815b43a Try downloading Node from S3 if version exists. 2017-08-22 16:41:01 -04:00
Ben Newman
77becc6bfe Make sure the Node build directory gets deleted. 2017-08-22 16:41:01 -04:00
Ben Newman
984548d671 Add standalone script for building Node on Jenkins.
This commit revives the script that was removed last year by
a4ff6b73d3, when we switched from building
our own version of Node to downloading the prebuilt release.

The new implementation comes from @abernix's work on this branch:
https://github.com/meteor/meteor/tree/abernix/dev-bundle-from-hash
2017-08-22 16:41:01 -04:00
Ben Newman
7654d93b1a Run printenv before every self-test group, to verify env vars. 2017-08-22 16:40:23 -04:00
Jesse Rosenberger
20c5036541 Fix auto-install of cordova-lib during meteor build.
As a follow-up to meteor/meteor#8976, this properly installs
the `cordova-lib` package when during a `meteor build`.

Addresses: https://github.com/meteor/meteor/pull/8728#issuecomment-323493331,
as reported by @markoshust.
2017-08-22 23:06:22 +03:00
Hugh Willson
e027a46d71 Add missing CLI help for test/test-packages --driver-package (#9035) 2017-08-22 15:57:43 -04:00
Ben Newman
12987a0926 Double test timeouts to cope with recent Circle CI flakiness. 2017-08-22 15:05:57 -04:00
Ben Newman
00ff851352 Avoid calling files.statOrNull(absPath) in readAndWatchFileWithHash.
This is performance-sensitive code, and I think this extra (uncached) call
to files.statOrNull could be contributing to test timeouts on Circle CI.

Follow-up to #9030.
2017-08-22 13:40:19 -04:00
Ben Newman
e4a8247282 Merge branch 'devel' into release-1.5.2 2017-08-21 16:27:38 -04:00
Hugh Willson
5319b4800c Add the missing meteor list --tree History.md entry (#9025) 2017-08-21 16:26:14 -04:00
Hugh Willson
b498c41401 Avoid creating a watcher when --settings is set to a directory (#9030)
As outlined in #3854, if `meteor --settings` points to a
directory instead of a file, an application gets caught up
in an infinite rebuild loop. Since it was assumed only a
file would be configured via `--settings`, a file watcher
is created for the specified directory, and that watcher
is then triggered ad infinitum.

These changes prevent a file watcher from being created
on a `--settings` directory.
2017-08-21 16:25:15 -04:00
Ben Newman
87181a68e8 Upgrade uglify-js to version 3.0.28. 2017-08-21 15:59:01 -04:00
Ben Newman
d464b72d7a Bump package versions for 1.6-beta.23 release. release/METEOR@1.6-beta.23 2017-08-17 10:29:56 -04:00
Ben Newman
6804aedc6c Merge branch 'release-1.5.2' into release-1.6 2017-08-17 10:19:46 -04:00
Ben Newman
27d3584b79 Bump package versions for 1.5.2-beta.11 release. release/METEOR@1.5.2-beta.11 2017-08-17 10:11:04 -04:00
Ben Newman
d2213f0288 Merge branch 'devel' into release-1.5.2 2017-08-17 10:08:20 -04:00
Ben Newman
70ab06aa94 Undo coffeescript-related changes made on release-1.5.2.
This will make it easier to merge devel into release-1.5.2, since devel
now contains the final verison of these changes, as implemented by
@GeoffreyBooth in #9018.

Revert "Bump coffeescript package version to 1.13.0."
This reverts commit d727ad02a7.

Revert "Move coffeescript and coffeescript-test-helper packages back into core. (#8960)"
This reverts commit eb3c7dd344.

Revert "Split coffeescript package into coffeescript / coffeescript-compiler."
This reverts commit 8344cbf59d.

Revert "Instructions for how to test the coffeescript package"
This reverts commit 491cbc3bfe.
2017-08-17 10:05:28 -04:00
Ben Newman
65c8b481e2 Specify a few more version constraints in coffeescript packages.
Small follow-up to #9018.

Note (especially @GeoffreyBooth): these version constraints do two things:
(1) specify a minimum version, and (2) fix the major version. In other
words, the coffeescript package should not need to be republished when we
publish new minor versions of these core packages in Meteor 1.5.2 or 1.6.

When/if we publish a new major version of these packages, the coffeescript
package can simply bump its version constraints, but that probably won't
happen any time soon. I think that's reasonable because a major version
bump suggests there are some significant changes that need to be
acknowledged by dependent packages.
2017-08-17 09:44:13 -04:00
Ben Newman
568e695eeb Merge pull request #9018 from GeoffreyBooth/coffeescript-compiler-split-2
Split coffeescript package, take 2.
2017-08-17 08:53:19 -04:00
Geoffrey Booth
4bd17e3f30 Fix syntax of api.mainModule 2017-08-16 12:37:31 -07:00
Ben Newman
8822e90f87 Bump package versions for 1.6-beta.22 release. release/METEOR@1.6-beta.22 2017-08-16 14:17:03 -04:00
Ben Newman
52e695ddd2 Bump $BUNDLE_VERSION to 8.4.0 before rebuilding dev bundle. 2017-08-16 14:10:09 -04:00
Ben Newman
82db51f216 Upgrade Node to version 8.4.0.
Most notable new feature: HTTP/2 support!

https://nodejs.org/en/blog/release/v8.4.0/
2017-08-16 14:09:13 -04:00
Ben Newman
f04545accf Merge pull request #9021 from meteor/abernix/fix-windows-npm-1.6
Changes to npm installation methods for npm@5 / Meteor 1.6.
2017-08-16 11:38:55 -04:00
Jesse Rosenberger
d86b0c712e Be more considerate of interactive environments and expired tokens. (#9015)
If a login token is expired, or no longer valid, make sure that Meteor doesn't
just sit there at a login prompt that the user can't see.

This currently only applies if `headless` mode is enabled, though a follow-up
to this commit might consider setting `headless = true` automatically
in a CI environment using environment variables such as: `CI`, `TRAVIS`,
`JENKINS_URL`, etc., as the npm-registry-client does in a similar way.

See: https://github.com/npm/npm-registry-client/pull/129/files

Fixes #8839.
2017-08-16 11:21:53 -04:00
Jesse Rosenberger
5626ad7dee JUnit support for meteor self-test test runner. (#9014) 2017-08-16 11:21:07 -04:00
Jesse Rosenberger
fe9401a5ef Observe requirements for running .cmd scripts on Windows.
The `child_process` documentation indicates that .cmd scripts (such as
the `npm.cmd` script for npm) must be started within a shell, such as
cmd.exe.

While it was tempting to switch this to use `child_process`'s `spawn`,
which supports a `shell` option, it would have required us to buffer
our own stdout/stderr output via `data` event handlers.

Ref: https://nodejs.org/api/child_process.html#child_process_spawning_bat_and_cmd_files_on_windows
2017-08-16 00:59:07 +03:00
Jesse Rosenberger
f68de59464 Stop setting NPM_CONFIG_PREFIX in getEnv.
This was causing problems with `npm@5`, but realistically it may not be
be necessary anymore since `npm@5` has a much smarter global,
self-healing `cacache`.
2017-08-15 14:16:53 -07:00
Geoffrey Booth
6a612f4213 Fix coffeescript-compiler version; make more ecmascript-y 2017-08-15 18:19:48 +00:00
Geoffrey Booth
27c6a52d35 Fix coffeescript / coffeescript-compiler dependency versions 2017-08-15 16:52:40 +00:00
Geoffrey Booth
89af934b54 Fix coffeescript package version to same as coffeescript-compiler; update documentation 2017-08-15 16:40:27 +00:00
Ben Newman
b290bcaa1b Bump package versions for 1.6-beta.21 release. release/METEOR@1.6-beta.21 2017-08-15 12:27:21 -04:00
Ben Newman
f405c443fe Move coffeescript to non-core so we don't have to publish a beta.
@GeoffreyBooth and I are still deciding exactly what to do with the
coffeescript package in #8960, but in the meantime I need to publish
another 1.6 beta, and I'd like to avoid publishing a beta version of
coffeescript along with it.
2017-08-15 12:26:57 -04:00
Geoffrey Booth
dd6a0f703b Move all coffeescript* packages back into non-core 2017-08-15 10:23:54 +00:00