Commit Graph

19315 Commits

Author SHA1 Message Date
Jordan Brant Baker
77ecbabf60 Support "env" in .babelrc files. (#8963) 2017-08-07 13:23:56 -04:00
Ben Newman
43ba3c9de5 Use unreleased version of websocket-driver that uses http-parser-js.
https://github.com/faye/websocket-driver-node/issues/21
https://github.com/meteor/meteor-feature-requests/issues/160

Thanks to @sdarnell for identifying this solution.
2017-08-07 12:53:28 -04:00
Ben Newman
5e81d4af27 Merge branch 'devel' into release-1.5.2 2017-08-04 13:07:49 -04:00
Jesse Rosenberger
3b2e0b6dbc Switch to using CircleCI 2.0 and various other test improvements. (#8985)
This switches Meteor's CircleCI builds from Circle 1.0 to Circle 2.0 which
has a bit more control over the workflow.

Currently, this eliminates the existing ci.sh script which was already a bit
incompatible when I was attempting to run Windows builds on another environment.
It's possible that we should change this to a Node.js wrapper script.

Other improvements:

- We now store Core Dumps in build artifacts.  CircleCI 2.0 advertised this as
  one of the features of CircleCI 2.0, but honestly, it was far from
  straightforward.  Perhaps if we were using another Dockerimage, but it was
  far from as easy as flipping a switch.  In addition to saving the Core Dump,
  this also saves the Node.js binary which was included in the Dev Bundle.  This
  can be very handy for post-mortem debugging with tools like lldb, gdb, or mdb.

- Memory usage is now logged throughout the build via a background process which
  logs `ps` output to a file which is persisted to the build artifacts.  This
  should help identify if builds are terminating for some environmental reason.
2017-08-04 10:00:09 -07:00
Ben Newman
22e86ce208 Add timeout to static-html test. 2017-08-03 21:19:44 -04:00
Sashko Stubailo
2ebd647e1a Delete .reviewboardrc 2017-08-03 09:25:52 -07:00
Ben Newman
ada135f124 Try not deleting temp directories after Circle CI tests.
Yet another hopeful attempt to stamp out segmentation faults.
2017-08-03 10:47:56 -04:00
Ben Newman
318232da9d Try disabling longjohn completely, as it may affect test performance. 2017-08-03 09:24:15 -04:00
Ben Newman
565281e765 Revert "Add mongo-dev-server package (#8853)"
This reverts commit 4d37a05fb3.

After git bisecting between origin/release-1.5 and origin/release-1.5.2, I
identified this commit as the culprit in recent failures of the modules
test app: https://circleci.com/gh/meteor/meteor/4857#tests/containers/3

Note that the modules test app seems to be failing only on Linux, and it
does pass reliably with this commit reverted. It must have something to do
with Mongo failing to start, and thus the "App running at" message never
appears, but I don't have a good theory why that might be.

The command to run just the modules test app is

  meteor self-test --history 1000 'modules - test app'

@zimme @hwillson @abernix any ideas?
2017-08-02 21:23:39 -04:00
Ben Newman
ebcaceb54b Bump $BUNDLE_VERSION to 4.8.31 before rebuilding dev bundle. 2017-08-02 15:48:04 -04:00
Ben Newman
c0b918c0fc Merge branch 'devel' into release-1.5.2 2017-08-02 15:44:31 -04:00
Hugh Willson
5b39d4b2da Remove merged in underscore usage and update to ES5/ES6. 2017-08-02 15:33:16 -04:00
Hugh Willson
a7aa0175f6 Swap 2 self-test's to get CircleCI tests to pass. 2017-08-02 15:33:15 -04:00
Hugh Willson
c6bddb331a Remove underscore dependency. 2017-08-02 15:33:15 -04:00
Hugh Willson
82a6feeaf4 Adjust EJSON API to handle objects with properties named "length" 2017-08-02 15:33:14 -04:00
Jesse Rosenberger
f0548ad50d Merge branch 'devel' into release-1.5.2 2017-08-02 22:31:14 +03:00
Jesse Rosenberger
9a74c7cafa Bump $BUNDLE_VERSION to 4.8.30 before rebuilding dev bundle. 2017-08-02 22:11:11 +03:00
Ben Newman
29feca3c6d Merge pull request #8978 from meteor/scan-non-core-packages-in-checkout
Scan non-core packages as local packages when running from checkout.
2017-08-02 11:58:17 -07:00
Jesse Rosenberger
09a859b8f2 Merge pull request #8946 from meteor/abernix/skirunman/update-mongo-3.2.15
Update to MongoDB  v3.2.15
2017-08-02 21:52:52 +03:00
Ben Newman
88824ca04d Guard against nonexistent Package.ddp.DDP._CurrentMethodInvocation.
As suggested by @cwholman in this comment:
https://github.com/meteor/meteor/issues/8947#issuecomment-318393234

Fixes #8947.
2017-08-02 14:45:51 -04:00
Ben Newman
7f062192e1 Eliminate underscore usage from the meteor package. 2017-08-02 14:45:51 -04:00
Ben Newman
f52b1726a5 Scan packages/non-core packages as local packages.
Fixes #8961 and #8962.
2017-08-02 13:40:38 -04:00
Ben Newman
ce0b499224 Move old packages from packages/non-core to packages/deprecated. 2017-08-02 13:36:24 -04:00
Jesse Rosenberger
4665f2aab3 Include the Node.js and npm version in the star.json manifest. (#8956)
* Include the Node.js and npm version in the `star.json` manifest.

This makes it possible to know exactly which version of Node.js and npm
were used by the `meteor` command from which the bundle was built from.

* History.md for #8956.
2017-08-02 08:50:01 -07:00
Ben Newman
ad917dcf0a Merge pull request #8954 from meteor/abernix/auth-deploy-cleanup
`meteor deploy` cleanup and partial modernization
2017-08-02 08:46:44 -07:00
James Burgess
c3dd664d14 Adjust minimongo behavior to match server when functions are part of selectors (#8952) 2017-08-02 08:43:42 -07:00
Ben Newman
94c0cd00cd Merge pull request #8951 from meteor/abernix/clear-password-on-retry
Clear credentials before retry on initial `meteor deploy` password failure.
2017-08-02 08:42:33 -07:00
Jesse Rosenberger
777a3eb9f7 Bump $BUNDLE_VERSION to 4.8.29 before rebuilding dev bundle. 2017-08-01 22:52:22 +03:00
Jesse Rosenberger
d822836711 Merge branch 'devel' into release-1.5.2 2017-08-01 22:48:48 +03:00
Jesse Rosenberger
82ae87184f Revert "Bump $BUNDLE_VERSION to 9999.8970.0 before rebuilding dev bundle."
This reverts commit ebe163806e.
2017-08-01 22:28:08 +03:00
Jesse Rosenberger
019e89074e Merge pull request #8970 from meteor/abernix/update-longjohn
Update `longjohn` to latest version to maybe fix SIGSEGV CI errors.
2017-08-01 22:19:06 +03:00
Stephen Darnell
dca2ced014 Avoid new uses of 'package' as it is apparently a reserved keyword. (#8973) 2017-08-01 08:41:32 -07:00
Jesse Rosenberger
ebe163806e Bump $BUNDLE_VERSION to 9999.8970.0 before rebuilding dev bundle.
To test meteor/meteor#8970.
2017-08-01 00:07:31 +03:00
Jesse Rosenberger
19e33cba49 Update longjohn to latest version to maybe fix SIGSEGV CI errors. 2017-07-31 23:44:27 +03:00
Jesse Rosenberger
3cdcca6f6a Replace underscore _.clone with Object.assign. 2017-07-31 11:50:36 +03:00
Ben Newman
d4a1322d3a Bump package versions for 1.5.2-beta.7 release. release/METEOR@1.5.2-beta.7 2017-07-28 19:05:11 -04:00
Ben Newman
868ba7ceff Merge branch 'devel' into release-1.5.2 2017-07-28 18:50:20 -04:00
Stephen Darnell
96db56b0ba Add 'meteor list --tree' to show a tree of package dependencies. (#8936)
There's also a --weak command line option which when specified
also shows weak dependencies.
2017-07-28 17:36:07 -04:00
Ben Newman
a42362a0aa Mention the semver upgrade in History.md. 2017-07-28 16:41:59 -04:00
Jesse Rosenberger
bd22b331da Merge pull request #8949 from sebakerckhof/fix/ejsondos
Cut of regex flags in ejson parser to avoid abuse
2017-07-27 19:40:00 +03:00
Jesse Rosenberger
300511450b Change import of underscore to only bring in clone. 2017-07-27 19:32:26 +03:00
Jesse Rosenberger
31735e087d Replace underscore _.each with Array.prototype.forEach. 2017-07-27 19:31:03 +03:00
Jesse Rosenberger
ae9eaf69ac Change require statements to import statements. 2017-07-27 19:31:00 +03:00
Jesse Rosenberger
f896950bfc Replace underscore _.extend with Object.assign. 2017-07-27 19:20:28 +03:00
Jesse Rosenberger
639436b9ef Replace underscore _.has with Object.property.hasOwnProperty. 2017-07-27 19:20:15 +03:00
Jesse Rosenberger
d35f9b52ff Reworking functions and exports in tools/meteor-services/deploy.js. 2017-07-27 18:51:28 +03:00
Hugh Willson
aedd111cbd Increase "modules - test app" self-test wait time to fix Circle (#8948)
* Increase "modules - test app" self-test wait time to fix Circle failures.

* Increase "modules - test app" self-test wait time further.
2017-07-27 16:48:53 +03:00
Jesse Rosenberger
613ce27f69 Remove meteor claim which is no longer a supported command.
This was residue from Meteor Free Hosting, which is no longer available,
and `meteor claim` has not worked in quite some time.
2017-07-27 16:16:07 +03:00
Jesse Rosenberger
a7c229d5e5 For meteor deploy there is no longer a protection of password.
Only `account` is still a valid `protection` which is recognized by
the Galaxy server.
2017-07-27 16:14:30 +03:00
Jesse Rosenberger
ba675fe9e5 Add /.vscode/ to .gitignore.
In the same spirit as all the other editor exceptions, like `*.sublime*`
and .idea, this will allow developers to keep their own .vscode in their
`meteor` directory without having to work around it constantly.
2017-07-27 13:18:17 +03:00