Commit Graph

8898 Commits

Author SHA1 Message Date
David Glasser
e59fb948b5 fix tests broken by 6850b679e9 2014-07-30 19:24:55 -07:00
David Glasser
c5acfdf8c1 add missing underscore dep 2014-07-30 19:24:47 -07:00
David Glasser
26006d53dc Merge branch 'devel' into packaging
Conflicts:
	tools/utils.js
2014-07-30 17:40:44 -07:00
Avital Oliver
30e02600b4 Add guard I forgot to add in 693b78001c
(Thanks @justinsb for noticing this!)
2014-07-30 16:55:49 -07:00
Avital Oliver
7c4af8d12f Add guard I forgot to add in 693b78001c
(Thanks @justinsb for noticing this!)
2014-07-30 16:51:12 -07:00
Avital Oliver
d8e28eb74b Also log sanitized error in server logs (which gets sent to client) on match errors 2014-07-30 16:23:17 -07:00
Avital Oliver
135dd942aa Expose match failures in server logs 2014-07-30 16:23:17 -07:00
Tom Wang
114b36bbcb fix typo 2014-07-30 16:23:17 -07:00
David Glasser
e76332b102 Make it more clear that the clone is for transform 2014-07-30 16:23:17 -07:00
Mitar
9fd2214d89 Assure that transform is not changing cached object. 2014-07-30 16:23:17 -07:00
Ryan Yeske
2658a18a01 recognize forceApprovalPrompt option in Accounts.ui.config
this option was originally added via #1226
2014-07-30 16:23:17 -07:00
Avital Oliver
b85e3e1c5e Update History.md: log match errors on server 2014-07-30 16:22:58 -07:00
Avital Oliver
6d57079bd0 Merge branch 'avital-expose-match-errors-on-server' into devel 2014-07-30 16:21:55 -07:00
Avital Oliver
693b78001c Also log sanitized error in server logs (which gets sent to client) on match errors 2014-07-30 16:21:13 -07:00
ekatek
0460c5015f oh right wrap try around the block that can actually fail 2014-07-30 16:01:32 -07:00
ekatek
a91ff48da5 Allow MDG members to publish unprefixed releases in client 2014-07-30 15:58:12 -07:00
ekatek
f2ebbb1238 more piping errors to stderr 2014-07-30 15:58:12 -07:00
David Glasser
26f9b283a5 Tree hashes of builds now ignore package.json
We were finding that npm was inconsistently including various fields (eg
"readme") in package.json, leading to spurious "must update the version
number" errors in publish-release --from-checkout. This should be good
enough, as any actual package change should also have some other file
changed!
2014-07-30 15:44:12 -07:00
Justin SB
f2184d3dbe Tweak examples/unfinished/benchmark script 2014-07-30 14:43:19 -07:00
Justin SB
812a3af2cd By default, don't run server & client tests in parallel 2014-07-30 14:37:27 -07:00
Justin SB
706fc7ebe7 Allow TIMEOUT_SCALE_FACTOR env variable to scale up timeouts for self-test
Particularly for automated tests, where we may run on a slow machine, we need
an escape valve to let us boost the timeouts.  This also allows for a 'tolerant'
test (scale factor 2+?) and a 'strict' test (scale factor 0.5?) etc
2014-07-30 14:37:18 -07:00
Justin SB
3163112235 Get S3 credentials from env variables, if set, in publish-release.js 2014-07-30 14:37:11 -07:00
Justin SB
4e6efe91a5 Output test results in xunit format when the path is 'xunit'
We output via console.log; to differentiate from normal output,
we prefix xunit output with 'XUNIT '.
2014-07-30 14:37:00 -07:00
Justin SB
c3508acc07 Tweak benchmark to log each operation 2014-07-30 14:36:20 -07:00
Avital Oliver
47831e8744 Expose match failures in server logs 2014-07-30 12:00:51 -07:00
Emily Stark
dd82a8bcd5 Add node upgrade to History 2014-07-30 09:38:30 -07:00
Emily Stark
33eee2c25a history tweak 2014-07-30 09:37:48 -07:00
ekatek
0902f7e39a make sure errors go to stderr: cursory pass 2014-07-30 08:07:12 -07:00
ekatek
d316eacab2 check if the package already exists and return a different error code 2014-07-29 21:19:43 -07:00
David Glasser
43b04a12b2 add some buildmessage.assertInJob to PackageClient 2014-07-29 18:57:59 -07:00
David Glasser
70c0ff2c98 put calls to publishPackage in buildmessage 2014-07-29 18:57:59 -07:00
David Glasser
81e4b51cf6 Put --get-ready's PackageLoader.getPackage in job 2014-07-29 18:57:59 -07:00
David Glasser
950a3d9c1b Use buildmessage in publish-for-arch
Also, drop a unipkg.saveToPath that we think is redundant (since
5e72f55eb2 changed bundleBuildResult to also call saveToPath)
2014-07-29 18:57:59 -07:00
Matthew Arbesfeld
c6ad06fe77 Fix for run --once test. Actually include programs in star.json 2014-07-29 18:42:25 -07:00
David Glasser
30a397cde5 Rename ServerCatalog -> OfficialCatalog
Since it it used for catalog.official.
2014-07-29 17:19:31 -07:00
Emily Stark
3ad5ff6c90 Merge branch 'master' into devel
Conflicts:
	packages/mongo-livedata/oplog_observe_driver.js
2014-07-29 14:40:44 -07:00
Emily Stark
e6c8cabad6 Merge branch 'release-0.8.3' 2014-07-29 14:39:01 -07:00
Emily Stark
6efb7c85cc Update docs and examples to 0.8.3 2014-07-29 14:34:19 -07:00
David Glasser
0f3b16f942 Add a lot of _noYieldsAllowed to oplog driver
Makes it easier to reason about where yields are (and ensure that
_stopped is checked after all yielding calls)
2014-07-29 11:01:42 -07:00
Emily Stark
1b9bb206cd Revert "shrinkwrap update"
This reverts commit abbf3c78fa.

Something probably got weird switching between the 'packaging' branch
and 'devel'; mongodb and bson are forked on packaging, but we didn't
intend to be using a normal mongodb release with a forked bson.
release/0.8.3-rc8 release/0.8.3
2014-07-29 10:54:21 -07:00
David Glasser
b4e02f345a Fix a few exceptions in the oplog observe driver
First exception: _runQuery didn't check to see if it was stopped after
running the query, which could lead to this harmless error:

Exception in defer callback: TypeError: Cannot call method 'clear' of null
    at _.extend._publishNewResults (packages/mongo-livedata/oplog_observe_driver.js:749)
    at _.extend._runQuery (packages/mongo-livedata/oplog_observe_driver.js:657)
    at packages/mongo-livedata/oplog_observe_driver.js:615
    at _.extend.withValue (packages/meteor/dynamics_nodejs.js:56)
    at packages/meteor/timers.js:6
    at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108)

Second exception: _fetchModifiedDocuments thought that it should only be
in FETCHING in a certain case, but QUERYING is also OK. This is also
harmless since the correct behavior is to end the deferred routine.

Exception in defer callback: Error: phase in fetchModifiedDocuments: QUERYING
    at packages/mongo-livedata/oplog_observe_driver.js:435
    at packages/mongo-livedata/oplog_observe_driver.js:16
    at _.extend.withValue (packages/meteor/dynamics_nodejs.js:56)
    at packages/meteor/timers.js:6
    at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108)
2014-07-29 10:23:38 -07:00
David Glasser
cd8bd67ff8 Fix a few exceptions in the oplog observe driver
First exception: _runQuery didn't check to see if it was stopped after
running the query, which could lead to this harmless error:

Exception in defer callback: TypeError: Cannot call method 'clear' of null
    at _.extend._publishNewResults (packages/mongo-livedata/oplog_observe_driver.js:749)
    at _.extend._runQuery (packages/mongo-livedata/oplog_observe_driver.js:657)
    at packages/mongo-livedata/oplog_observe_driver.js:615
    at _.extend.withValue (packages/meteor/dynamics_nodejs.js:56)
    at packages/meteor/timers.js:6
    at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108)

Second exception: _fetchModifiedDocuments thought that it should only be
in FETCHING in a certain case, but QUERYING is also OK. This is also
harmless since the correct behavior is to end the deferred routine.

Exception in defer callback: Error: phase in fetchModifiedDocuments: QUERYING
    at packages/mongo-livedata/oplog_observe_driver.js:435
    at packages/mongo-livedata/oplog_observe_driver.js:16
    at _.extend.withValue (packages/meteor/dynamics_nodejs.js:56)
    at packages/meteor/timers.js:6
    at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108)
2014-07-29 10:18:40 -07:00
David Glasser
cd57ac3535 isolate different servers' packages
also, in self-test, only set $METEOR_PACKAGE_SERVER_URL for the specific
runs that actually want the test server (using a tag) rather than kinda
always by accident
2014-07-28 20:45:08 -07:00
David Glasser
381956d40b make a test failure not abort the whole self-test 2014-07-28 17:37:20 -07:00
Matthew Arbesfeld
c65a199c3c Glasser fixes 2014-07-28 17:12:27 -07:00
Matthew Arbesfeld
b8ae210d9b Add documentation 2014-07-28 17:12:26 -07:00
Matthew Arbesfeld
55fe8a8aae Fix hot code push client-side reloads.
We were overwriting the server directory when a client-side file changed,
which made all process calls fail, such as process.cwd() and fs.*. We
abstracted out some of the builder code so that only the client targets
are "rebuilt" when a client side file changes.
2014-07-28 17:12:26 -07:00
David Greenspan
452ae36c68 Change how Blaze.render,toHTML infer parentView
If you call UI.renderWithData, say, from an event handler, you may be unpleasantly surprised if it gets Blaze.currentView as its parentView (where Blaze.currentView is based on the template where the event handler is defined).  On the other hand, showdown/template-integration.js takes advantage of the fact that Blaze.toHTML in render() is infers the parentView from Blaze.currentView.  So only infer currentView as parent while in the view’s render().

This change should only affect apps and packages that use Blaze.render, Blaze.toHTML, UI.render, or UI.renderWithData.
release/0.8.3-rc7
2014-07-28 16:28:16 -07:00
ekatek
3aff2199cc fixing old cli test 2014-07-28 16:09:19 -07:00
David Glasser
5b69c7c25b fix report-stats test from release 2014-07-28 16:07:42 -07:00