Commit Graph

6454 Commits

Author SHA1 Message Date
Ben Newman
12efaef31a Merge branch 'devel' into release-1.5.2 2017-08-07 14:55:50 -04:00
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
Jordan Brant Baker
77ecbabf60 Support "env" in .babelrc files. (#8963) 2017-08-07 13:23:56 -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
Ben Newman
22e86ce208 Add timeout to static-html test. 2017-08-03 21:19:44 -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
c0b918c0fc Merge branch 'devel' into release-1.5.2 2017-08-02 15:44:31 -04:00
Hugh Willson
a7aa0175f6 Swap 2 self-test's to get CircleCI tests to pass. 2017-08-02 15:33:15 -04:00
Jesse Rosenberger
f0548ad50d Merge branch 'devel' into release-1.5.2 2017-08-02 22:31:14 +03:00
Ben Newman
f52b1726a5 Scan packages/non-core packages as local packages.
Fixes #8961 and #8962.
2017-08-02 13:40:38 -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
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
d822836711 Merge branch 'devel' into release-1.5.2 2017-08-01 22:48:48 +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
3cdcca6f6a Replace underscore _.clone with Object.assign. 2017-07-31 11:50:36 +03: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
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
Simon Fridlund
a1c2eefb1e 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 20:08:12 +03: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
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
Stephen Darnell
90fdf768b0 Avoid altering line count when removing source map comments. (#8941)
Fixes #8927.
2017-07-23 11:24:23 -04:00
Ben Newman
2129c33200 Merge branch 'devel' into release-1.5.2 2017-07-21 18:37:37 -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
Hugh Willson
01378df2a0 Adjust test-packages --test-app-path to create the directory if missing (#8923)
* Adjust test-packages --test-app-path to create the directory if missing.

* Slight style tweak.
2017-07-20 10:21:56 -04:00
Ben Newman
765330d883 Update the dynamic-import test app to Meteor 1.5.1. 2017-07-20 10:21:55 -04:00
Ben Newman
3090ac7282 Update the modules test app to Meteor 1.5.1. 2017-07-20 10:21:54 -04:00
Jan Owsiany
08fdc8a6f0 Update cordova-lib, cordova-ios, cordova-android and cordova plugins to the latest version 2017-07-18 13:53:49 -04:00
Ben Newman
23eeac122f Update the dynamic-import test app to Meteor 1.5.1. 2017-07-17 20:02:50 -04:00
Ben Newman
d0e0411f68 Update the modules test app to Meteor 1.5.1. 2017-07-17 19:58:56 -04:00
Ben Newman
7d87376bd2 Use multipipe and split2 to compose eachline streams. 2017-07-17 17:41:30 -04:00
Ben Newman
0f05575099 Simplify eachline by using split npm package. 2017-07-17 16:26:38 -04:00
Ben Newman
53e23671e3 Make sure maybeSuggestRaisingWatchLimit runs in a Fiber.
Should fix recent test failures:
https://circleci.com/gh/meteor/meteor/4570#tests/containers/5
https://circleci.com/gh/meteor/meteor/4570#tests/containers/6
2017-07-14 13:34:34 -04:00
Ben Newman
8af4955389 Use eachline@3.0.5 from npm instead of our own fork.
The pull request corresponding to our fork is not going to be merged, so
it's better to use the alternative this.finished API available in newer
versions of the upstream package.

https://github.com/williamkapke/node-eachline/pull/4
2017-07-14 13:34:33 -04:00
Jesse Rosenberger
661b6f74e9 Clear password between retries when auth has failed. 2017-07-14 00:27:52 -07:00