Commit Graph

19270 Commits

Author SHA1 Message Date
Ben Newman
5f554ebfa0 Merge pull request #8972 from meteor/run-bare-files-before-eager-modules
Run all "bare" package files before requiring eager entry point modules.
2017-08-07 14:54:24 -04:00
Hugh Willson
b1fd243978 Reduce the "modules - test app" self-test start-up wait time.
The increased mongo connection timeout in 522d86dc4e
means that the we can decrease the "modules - test app" self-test
application start-up wait internval significantly (since mongo
will now start properly and the self-test can continue).
2017-08-07 14:53:37 -04:00
Hugh Willson
b061f4b765 Increase mongo connection timeout to reduce self-test mongo errors.
Certain self-test's like "modules - test app" are encountering
mongo connection timeout errors on some runs. Increasing the
connection timeout helps address these errors.
2017-08-07 14:53:37 -04:00
Ben Newman
a4d9f8c0f8 Fix comments about bare files and add a note to History.md. 2017-08-04 13:02:42 -04:00
Ben Newman
6f259003eb Run all bare files before requiring eager entry point modules. 2017-08-04 13:02:41 -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
Sashko Stubailo
2ebd647e1a Delete .reviewboardrc 2017-08-03 09:25:52 -07: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
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
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
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
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
seke
7232b39fa4 Cut of flags to avoid abuse of CPU-intensive regexes 2017-07-27 10:25:42 +02:00
Jesse Rosenberger
0d8b4dc67a Merge pull request #8943 from hwillson/fix-8942
Adjust the previous watcher check to handle moved files
2017-07-26 18:44:43 +03:00
Simon Fridlund
4d37a05fb3 Add mongo-dev-server package (#8853)
* Add mongo-dev-server package

Only start the MongoDB server if this package
is present in the project.

* Small layout/formatting adjustments; updated README.

* Allow tests using fake-mongod to start (fake) Mongo.

* Adjust test stdout matching to be less sensitive to ordering.

* Add `mongo-dev-server` History.md entry.

* Remove mongo start check since the tested for error prevents mongo startup.

* Remove README traling whitespace.

* Bump mongo package version.
2017-07-26 18:08:00 +03:00
Jesse Rosenberger
170de0c118 Change bundle-visualizer README to instruct --extra-packages.
The suggestion to `meteor add` and then `meteor remove` is no longer
relevant with the addition of the awesome new `--extra-packages`
option from @mpowaga in meteor/meteor#8769.
2017-07-26 00:37:21 +03:00
Hugh Willson
f3440c9a9c Adjust the previous watcher check to handle moved files.
When checking the `entriesByIno` Map to see if an `entry` already exists for
the specified inode, also check to make sure the found `entry` is only
re-used if the current file watcher path matches the returned path. This
makes sure new file watchers are created for moved files (so files with the
same inode), instead of attempting to re-use a file watcher that's watching
an invalid path.
2017-07-25 08:19:19 -04:00
Seba Kerckhof
b52c6587d7 Handle regular expressions in EJSON (#8821)
* Handle regular expressions in EJSON

* Adjust "checkout" self-test wait time to fix failing self-test's.

* Adjusting self-test "checkout" timeout further.

* Self-test exit timeout adjustments for the CLI "argument parsing" tests.
2017-07-21 13:45:38 -04:00
Hugh Willson
41b4383349 Adjust self-test match / timeout settings to help reduce Circle test failures (#8933)
* Fix CircleCI failures by adjusting the timing of problematic tests.

* Wait longer for Mongo to start.

* Increase lint wait time; run logs show we're close to the current timeout.
2017-07-21 09:24:20 -04:00
Jesse Rosenberger
74d34a12d6 Merge branch 'master' into devel 2017-07-21 15:22:50 +03:00
Jesse Rosenberger
78052a6501 Merge pull request #8932 from meteor/abernix/mongo-2.2.30-for-master
`npm-mongo` and `mongo` updates.
2017-07-21 15:22:08 +03:00
Jesse Rosenberger
9b60256056 Bump package version of mongo in preparation for publishing. 2017-07-21 13:43:18 +03:00