Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 1235373004: Added script to generate stats on a git checkout (Closed)

Created:
5 years, 5 months ago by keelerh
Modified:
5 years, 5 months ago
CC:
chromium-reviews, ksho
Base URL:
https://chromium.googlesource.com/infra/infra.git@new_antibody_db_schema
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

Added script to generate stats on a git checkout BUG=510666 Committed: https://chromium.googlesource.com/infra/infra/+/ef9c50dcb39bb62651b5a6cef37c0ee4ddb5ce5f

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed nits and changed output for antibody stats #

Total comments: 8

Patch Set 3 : Made changes so pipeline runs through #

Patch Set 4 : Fixed small error in git log call #

Patch Set 5 : fixed tbr by user #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Patch Set 8 : #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1205 lines, -151 lines) Patch
M infra/tools/antibody/ANTIBODY_DB_schema_setup.sql View 1 2 4 chunks +17 lines, -16 lines 0 comments Download
M infra/tools/antibody/__main__.py View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M infra/tools/antibody/antibody.py View 1 2 3 4 5 6 7 8 4 chunks +89 lines, -24 lines 0 comments Download
M infra/tools/antibody/cloudsql_connect.py View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M infra/tools/antibody/code_review_parse.py View 1 2 3 4 5 6 7 8 1 chunk +23 lines, -11 lines 0 comments Download
A infra/tools/antibody/compute_stats.py View 1 2 1 chunk +558 lines, -0 lines 0 comments Download
M infra/tools/antibody/git_commit_parser.py View 1 2 3 6 chunks +25 lines, -14 lines 0 comments Download
M infra/tools/antibody/static/antibody_ui_all.css View 1 2 3 4 5 6 7 8 2 chunks +19 lines, -10 lines 0 comments Download
A + infra/tools/antibody/static/leaderboard.css View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -16 lines 0 comments Download
A infra/tools/antibody/static/leaderboard.js View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A infra/tools/antibody/static/leaderboard_arcade.css View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -0 lines 0 comments Download
A + infra/tools/antibody/static/stats.css View 1 2 3 4 5 6 7 8 1 chunk +32 lines, -10 lines 0 comments Download
A infra/tools/antibody/static/stats.js View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
M infra/tools/antibody/static/tbr_by_user.css View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M infra/tools/antibody/static/tbr_by_user.js View 1 2 3 4 2 chunks +8 lines, -5 lines 0 comments Download
M infra/tools/antibody/templates/antibody_ui_all.jinja View 1 2 3 4 5 6 7 8 6 chunks +15 lines, -9 lines 0 comments Download
A infra/tools/antibody/templates/leaderboard.jinja View 1 2 3 4 5 1 chunk +66 lines, -0 lines 0 comments Download
A infra/tools/antibody/templates/stats.jinja View 1 2 1 chunk +100 lines, -0 lines 0 comments Download
M infra/tools/antibody/templates/tbr_by_user.jinja View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M infra/tools/antibody/test/antibody_test.py View 1 2 2 chunks +47 lines, -13 lines 0 comments Download
A infra/tools/antibody/test/compute_stats_test.py View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
M infra/tools/antibody/test/data/sample_suspicious_commits.txt View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M infra/tools/antibody/test/data/test_git_log.txt View 1 2 2 chunks +11 lines, -5 lines 0 comments Download
M infra/tools/antibody/test/git_commit_parser_test.py View 1 2 2 chunks +5 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 44 (23 generated)
keelerh
5 years, 5 months ago (2015-07-16 02:38:16 UTC) #2
Sergey Berezin
Mostly nits, otherwise the code looks fine to me. Also, the description says "script", but ...
5 years, 5 months ago (2015-07-16 15:23:55 UTC) #3
hinoka
lgtm with some comments Can you also indent+format your SQL queries. http://sqlformat.org/ is a good ...
5 years, 5 months ago (2015-07-17 22:57:46 UTC) #4
keelerh
5 years, 5 months ago (2015-07-21 03:53:37 UTC) #5
pgervais
A bunch of optional comments. Feel free to fix them in another CL. Otherwise lgtm. ...
5 years, 5 months ago (2015-07-21 16:48:34 UTC) #6
keelerh
On 2015/07/21 at 16:48:34, pgervais wrote: > A bunch of optional comments. Feel free to ...
5 years, 5 months ago (2015-07-22 16:29:47 UTC) #7
pgervais
On 2015/07/22 16:29:47, keelerh wrote: > On 2015/07/21 at 16:48:34, pgervais wrote: > > A ...
5 years, 5 months ago (2015-07-22 17:57:47 UTC) #8
keelerh
https://codereview.chromium.org/1235373004/diff/20001/infra/tools/antibody/compute_stats.py File infra/tools/antibody/compute_stats.py (right): https://codereview.chromium.org/1235373004/diff/20001/infra/tools/antibody/compute_stats.py#newcode470 infra/tools/antibody/compute_stats.py:470: sql_insert = 'DATEDIFF(NOW(), git_commit.timestamp) <= 7' On 2015/07/21 at ...
5 years, 5 months ago (2015-07-22 21:17:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235373004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1235373004/40001
5 years, 5 months ago (2015-07-22 21:17:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235373004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1235373004/60001
5 years, 5 months ago (2015-07-22 22:29:41 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235373004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1235373004/80001
5 years, 5 months ago (2015-07-22 22:56:43 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: infra_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/infra_presubmit/builds/465) infra_tester on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 5 months ago (2015-07-22 23:24:54 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235373004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1235373004/100001
5 years, 5 months ago (2015-07-23 00:54:38 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: infra_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/infra_presubmit/builds/468) infra_tester on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 5 months ago (2015-07-23 00:56:45 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235373004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1235373004/120001
5 years, 5 months ago (2015-07-23 00:58:50 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: infra_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/infra_presubmit/builds/470)
5 years, 5 months ago (2015-07-23 01:01:00 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235373004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1235373004/140001
5 years, 5 months ago (2015-07-23 01:08:12 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: infra_tester on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/infra_tester/builds/2489)
5 years, 5 months ago (2015-07-23 01:10:27 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235373004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1235373004/160001
5 years, 5 months ago (2015-07-23 01:21:43 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235373004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1235373004/160001
5 years, 5 months ago (2015-07-23 01:24:18 UTC) #43
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 01:26:45 UTC) #44
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/infra/infra/+/ef9c50dcb39bb62651b5a6cef37c0...

Powered by Google App Engine
This is Rietveld 408576698