Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Conversation

chirayuk
Copy link
Contributor

This initial version sends benchmark metrics to the backend server.

Visit https://ng-dash.appspot.com/commit/fb2aa60a584dd4b2bbb3d30e8fcd4c588f8669ed
or https://ng-dash.appspot.com/all to see an example. (github:
https://github.com/chirayuk/ng-dash)

In this version, only Dart code run from the command line is able to
record such reports.

The code in benchmark/_reporter.dart handles sending the data to the
server. A future version will mode this code into a locally running
proxy server enabling browser based Dart code to send such reports while
still including the information from the build environment.

Reading data from the report server does not require any auth. See a
simple example at chirayuk/ng-dash@ex_01

Writing data requires authentication. Specifically, the REST server
requires two cookies set: user_email and user_secret. (user_email does
not have to be a valid e-mail just like AppEngine user e-mails.) Of
these, user_secret is meant to be secret and should be safeguarded. For
Travis, user_email is "travis-ci.org" and user_secret is encrypted in
the .travis.yml. Refer
http://docs.travis-ci.com/user/build-configuration/#Secure-environment-variables
for details on how this is done.

@chirayuk chirayuk added this to the 0.13.0 milestone Jun 17, 2014
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

final for map/list

@vicb
Copy link
Contributor

vicb commented Jun 17, 2014

a few minor comments, otherwise LGTM

@chirayuk chirayuk added cla: yes and removed cla: no labels Jun 17, 2014
@jbdeboer
Copy link
Contributor

@chirayuk Anything blocking this change? Can we land it?

@mhevery
Copy link
Contributor

mhevery commented Jul 23, 2014

@chirayuk can you address Vic's concerns. Otherwise LGTM

@vsavkin vsavkin modified the milestones: 0.14.0, 0.13.0 Jul 24, 2014
@rkirov rkirov modified the milestones: 0.14.0, 0.15.0 Aug 22, 2014
@chirayuk
Copy link
Contributor Author

Folks – sorry I've been tardy on this PR. I'll clean this up next week and merge it in. Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debugging message? Remove?

@jbdeboer
Copy link
Contributor

Looks good after the comments are addressed and the tests are passing.

@naomiblack
Copy link
Contributor

@chirayuk can you review one last time, rebase, and merge please?

This initial version sends benchmark metrics to the backend server.

Visit https://ng-dash.appspot.com/commit/fb2aa60a584dd4b2bbb3d30e8fcd4c588f8669ed
or https://ng-dash.appspot.com/all to see an example.  (github:
https://github.com/chirayuk/ng-dash)

In this version, only Dart code run from the command line is able to
record such reports.

The code in benchmark/_reporter.dart handles sending the data to the
server.  A future version will mode this code into a locally running
proxy server enabling browser based Dart code to send such reports while
still including the information from the build environment.

Reading data from the report server does not require any auth.  See a
simple example at chirayuk/ng-dash@ex_01

Writing data requires authentication.  Specifically, the REST server
requires two cookies set:  user_email and user_secret.  (user_email does
not have to be a valid e-mail just like AppEngine user e-mails.)  Of
these, user_secret is meant to be secret and should be safeguarded.  For
Travis, user_email is "travis-ci.org" and user_secret is encrypted in
the .travis.yml.  Refer
http://docs.travis-ci.com/user/build-configuration/#Secure-environment-variables
for details on how this is done.
@chirayuk chirayuk closed this in b0a2781 Oct 8, 2014
chirayuk added a commit that referenced this pull request Oct 8, 2014
This initial version sends benchmark metrics to the backend server.

Visit https://ng-dash.appspot.com/commit/fb2aa60a584dd4b2bbb3d30e8fcd4c588f8669ed
or https://ng-dash.appspot.com/all to see an example.  (github:
https://github.com/chirayuk/ng-dash)

In this version, only Dart code run from the command line is able to
record such reports.

The code in benchmark/_reporter.dart handles sending the data to the
server.  A future version will mode this code into a locally running
proxy server enabling browser based Dart code to send such reports while
still including the information from the build environment.

Reading data from the report server does not require any auth.  See a
simple example at chirayuk/ng-dash@ex_01

Writing data requires authentication.  Specifically, the REST server
requires two cookies set:  user_email and user_secret.  (user_email does
not have to be a valid e-mail just like AppEngine user e-mails.)  Of
these, user_secret is meant to be secret and should be safeguarded.  For
Travis, user_email is "travis-ci.org" and user_secret is encrypted in
the .travis.yml.  Refer
http://docs.travis-ci.com/user/build-configuration/#Secure-environment-variables
for details on how this is done.

Closes #1159
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

7 participants