James E. Blair
5dcb4a9703
Use current username as default
...
Instead of russelb. I mean, it's the user's fault they aren't
russelb, but I think this change follows the robustness principle.
Change-Id: I5a5b09836840220540980e6d0eb0e4d324dc2678
2013-07-29 13:36:32 -07:00
Russell Bryant
0caa9bf4f1
openreviews: Add links to HTML output
...
Change-Id: I4cd6fb23929e472b8ca418645c1b00a57c999e07
Reviewed-on: https://review.openstack.org/36357
Approved: Russell Bryant <rbryant@redhat.com>
Reviewed-by: Russell Bryant <rbryant@redhat.com>
Tested-by: Jenkins
2013-07-09 22:56:56 +00:00
Russell Bryant
c1c36e1fb0
Show longest waiting first in the list
...
Change-Id: I88bb5b815dd795c34b39e0f4c01f04a38c63351e
Reviewed-on: https://review.openstack.org/36069
Reviewed-by: Russell Bryant <rbryant@redhat.com>
Approved: Russell Bryant <rbryant@redhat.com>
Tested-by: Jenkins
2013-07-08 12:35:04 +00:00
Russell Bryant
094c1d2389
Move age_sorted lists into gen_stats()
...
Change-Id: Iafe420dc1d1c72f8fd769beeab1eb76eec582333
Reviewed-on: https://review.openstack.org/36068
Approved: Russell Bryant <rbryant@redhat.com>
Reviewed-by: Russell Bryant <rbryant@redhat.com>
Tested-by: Jenkins
2013-07-08 12:33:47 +00:00
Russell Bryant
3c16505fce
Use a better method to only check for human reviews.
2013-06-28 13:20:16 -04:00
Russell Bryant
df6fe0e618
Ignore jenkins on 'last rev without nack' stat
2013-06-28 13:15:08 -04:00
Russell Bryant
a66babbe69
Re-organize some of the stats.
2013-06-28 12:50:56 -04:00
Russell Bryant
44f294fdf3
Add another look at age.
...
This finds the oldest rev that did not receive a -1 or -2. So, this is
the amount of time someone has been waiting and just rebasing a patch to
keep it out of conflict.
2013-06-28 12:43:13 -04:00
Russell Bryant
08ce27b99d
Refactor HTML generation.
2013-06-28 12:18:57 -04:00
Russell Bryant
67492ceb63
Refactor plain text output.
2013-06-28 11:46:25 -04:00
Russell Bryant
e22413b135
Refactor everything into functions.
2013-06-28 11:04:54 -04:00
Russell Bryant
3b4c3328e5
Convert the right time to a string
2013-06-27 22:21:17 -04:00
Russell Bryant
217e2b994e
Add age info based on first patch rev.
2013-06-27 22:01:27 -04:00
Russell Bryant
eddeee5a25
Fix a spelling error.
2013-06-25 15:00:20 -04:00
Russell Bryant
3ffbf6f91d
Don't blow up on median age if no changes present.
2013-06-24 12:22:52 -04:00
Russell Bryant
1281a4f28d
Add HTML output to openreviews.py.
2013-06-24 12:11:08 -04:00
Russell Bryant
3c3877e7dd
Fix a div by zero issue.
2013-06-15 06:14:15 +00:00
Russell Bryant
ca663198e0
Move project json files into a directory.
2013-05-29 16:12:37 -04:00
Russell Bryant
1698e9d4d0
Hack the review submission timestamp.
...
The createdOn timestamp on the patch isn't what we want.
It's when the patch was written, not submitted for review.
The next best thing in the data we have is the time of the
first review. When all is working well, jenkins or smokestack
will comment within the first hour or two, so that's better
than the other timestamp, which may reflect that the code
was written many weeks ago, even though it was just recently
submitted for review.
2013-05-29 13:54:09 -04:00
Russell Bryant
a99c61abc8
Filter out WIP reviews.
2013-05-29 12:49:42 -04:00
Russell Bryant
50f09f0a17
Make the default to *not* include stable branch commits.
2013-05-29 10:20:23 -04:00
Russell Bryant
92da40fe4c
Merge pull request #9 from cyeoh/master
...
enhancements to openreviews
2013-05-29 07:14:24 -07:00
Chris Yeoh
e799511e39
Adds ability to show number of reviews waiting more than a specified number of days
...
Adds ability to set how many longest waiting changesets to display
2013-05-29 22:04:46 +09:30
Chris Yeoh
e23974f926
Adds median waiting time
...
Adds ability to exclude changesets for stable branch
Shows 5 longest waiting changesests
2013-05-29 21:30:01 +09:30
Clay Gerrard
7e96bce463
add swift project file
2013-05-28 23:53:32 -07:00
Russell Bryant
9e8acea84c
Consider a -1 from Jekins and Smokestack.
...
If Jenkins or Smokestack has left a -1 in the verified column, consider
the patch as waiting for the submitter to update it.
2013-05-28 18:07:52 -04:00
Russell Bryant
2a96b53f70
Add a script to get number and age of open reviews.
2013-05-28 16:49:32 -04:00