)]}'
{"projects/ceilometer.json":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"6ff1029c33a7469c6f769036d24731560fdc66f3","unresolved":false,"context_lines":[{"line_number":5,"context_line":"        \"openstack/python-ceilometerclient\""},{"line_number":6,"context_line":"    ],"},{"line_number":7,"context_line":"    \"core-team-gerrit-group\": \"ceilometer-core\""},{"line_number":8,"context_line":"}"}],"source_content_type":"application/json","patch_set":2,"id":"5afe65bd_bce78c3f","line":8,"updated":"2015-06-02 15:17:03.000000000","message":"it would be easier to review if you did json normalization and the actual changes in separate patches.","commit_id":"a6852cbaf46b11d350aa51d526b981b8fc09df1e"}],"projects/infra.json":[{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"30a0a1e1dbd31eed249b51bd41cb6a692d00e763","unresolved":false,"context_lines":[{"line_number":116,"context_line":"    \"openstack-infra/zuul-packaging\","},{"line_number":117,"context_line":"    \"openstack/openstack-planet\""},{"line_number":118,"context_line":"],"},{"line_number":119,"context_line":"    \"core-team-gerrit-group\": \"infra-core\""},{"line_number":120,"context_line":"}"}],"source_content_type":"application/json","patch_set":1,"id":"5afe65bd_7e047114","line":119,"updated":"2015-06-02 13:16:09.000000000","message":"Many of the projects above have their own core teams, infra-core is part of each team. Not sure what\u0027s the best way is here.\n\nFor example, project-config has project-config-core with infra-core included plus three other members.","commit_id":"b9f54da621ad73fda99d3c7064413a0c8cf3175f"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"f0e02014883be0e45a1869b77547b64495493851","unresolved":false,"context_lines":[{"line_number":116,"context_line":"    \"openstack-infra/zuul-packaging\","},{"line_number":117,"context_line":"    \"openstack/openstack-planet\""},{"line_number":118,"context_line":"],"},{"line_number":119,"context_line":"    \"core-team-gerrit-group\": \"infra-core\""},{"line_number":120,"context_line":"}"}],"source_content_type":"application/json","patch_set":1,"id":"5afe65bd_3e46f923","line":119,"in_reply_to":"5afe65bd_7e047114","updated":"2015-06-02 13:20:16.000000000","message":"Fair point.  There\u0027s a couple ways we could address this.  The first is create new files like project-config.json that only looks at that.  The other would be to support a list of gerrit teams and that could be used here to reflect all of infra.","commit_id":"b9f54da621ad73fda99d3c7064413a0c8cf3175f"}],"reviewstats/utils.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"6ff1029c33a7469c6f769036d24731560fdc66f3","unresolved":false,"context_lines":[{"line_number":313,"context_line":"    text \u003d groups_request.text"},{"line_number":314,"context_line":"    teams \u003d json.loads(text[text.find(\u0027{\u0027):])"},{"line_number":315,"context_line":"    text \u003d requests.get(\u0027http://%s/a/groups/%s/detail\u0027 % (server,"},{"line_number":316,"context_line":"                        teams[\u0027nova-core\u0027][\u0027id\u0027]), auth\u003dauth).text"},{"line_number":317,"context_line":"    team \u003d json.loads(text[text.find(\u0027{\u0027):])"},{"line_number":318,"context_line":"    members_list \u003d [n[\u0027username\u0027] for n in team[\u0027members\u0027]]"},{"line_number":319,"context_line":"    if \u0027hudson-openstack\u0027 in members_list:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5afe65bd_9c3170ef","line":316,"range":{"start_line":316,"start_character":31,"end_line":316,"end_character":40},"updated":"2015-06-02 15:17:03.000000000","message":"\u0027nova-cores\u0027 -\u003e team_name ?","commit_id":"a6852cbaf46b11d350aa51d526b981b8fc09df1e"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"932dc51ad5c735f16695406865795c148542f1a3","unresolved":false,"context_lines":[{"line_number":313,"context_line":"    text \u003d groups_request.text"},{"line_number":314,"context_line":"    teams \u003d json.loads(text[text.find(\u0027{\u0027):])"},{"line_number":315,"context_line":"    text \u003d requests.get(\u0027http://%s/a/groups/%s/detail\u0027 % (server,"},{"line_number":316,"context_line":"                        teams[\u0027nova-core\u0027][\u0027id\u0027]), auth\u003dauth).text"},{"line_number":317,"context_line":"    team \u003d json.loads(text[text.find(\u0027{\u0027):])"},{"line_number":318,"context_line":"    members_list \u003d [n[\u0027username\u0027] for n in team[\u0027members\u0027]]"},{"line_number":319,"context_line":"    if \u0027hudson-openstack\u0027 in members_list:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5afe65bd_5cbf78d0","line":316,"range":{"start_line":316,"start_character":31,"end_line":316,"end_character":40},"in_reply_to":"5afe65bd_9c3170ef","updated":"2015-06-02 15:19:18.000000000","message":"oops, good catch.  that was a copy/paste error from a small test app where I was working out the right APIs","commit_id":"a6852cbaf46b11d350aa51d526b981b8fc09df1e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"6ff1029c33a7469c6f769036d24731560fdc66f3","unresolved":false,"context_lines":[{"line_number":317,"context_line":"    team \u003d json.loads(text[text.find(\u0027{\u0027):])"},{"line_number":318,"context_line":"    members_list \u003d [n[\u0027username\u0027] for n in team[\u0027members\u0027]]"},{"line_number":319,"context_line":"    if \u0027hudson-openstack\u0027 in members_list:"},{"line_number":320,"context_line":"        members_list.remove(\u0027hudson-openstack\u0027)"},{"line_number":321,"context_line":"    TEAM_MEMBERS[team_name] \u003d members_list"},{"line_number":322,"context_line":"    return members_list"},{"line_number":323,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5afe65bd_fc72a47b","line":320,"updated":"2015-06-02 15:17:03.000000000","message":"this at least needs a comment i guess.","commit_id":"a6852cbaf46b11d350aa51d526b981b8fc09df1e"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"932dc51ad5c735f16695406865795c148542f1a3","unresolved":false,"context_lines":[{"line_number":317,"context_line":"    team \u003d json.loads(text[text.find(\u0027{\u0027):])"},{"line_number":318,"context_line":"    members_list \u003d [n[\u0027username\u0027] for n in team[\u0027members\u0027]]"},{"line_number":319,"context_line":"    if \u0027hudson-openstack\u0027 in members_list:"},{"line_number":320,"context_line":"        members_list.remove(\u0027hudson-openstack\u0027)"},{"line_number":321,"context_line":"    TEAM_MEMBERS[team_name] \u003d members_list"},{"line_number":322,"context_line":"    return members_list"},{"line_number":323,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5afe65bd_dccb6871","line":320,"in_reply_to":"5afe65bd_fc72a47b","updated":"2015-06-02 15:19:18.000000000","message":"Will do","commit_id":"a6852cbaf46b11d350aa51d526b981b8fc09df1e"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"147de8e541dfb00ea9803293de1ffc3e20e3aeeb","unresolved":false,"context_lines":[{"line_number":322,"context_line":"    return members_list"},{"line_number":323,"context_line":""},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"def get_core_team(project, server, user, pw):"},{"line_number":326,"context_line":"    if \u0027core-team\u0027 in project:"},{"line_number":327,"context_line":"        return project[\u0027core-team\u0027]"},{"line_number":328,"context_line":"    if \u0027core-team-gerrit-group\u0027 in project:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5afe65bd_75180f85","line":325,"updated":"2015-06-02 14:09:15.000000000","message":"If you decide you want to go full-on dynamic with this, http://git.openstack.org/cgit/openstack-infra/system-config/tree/tools/who-approves.py has an example of combining the governance projects list with parsing Workflow +1 group privileges out of corresponding Gerrit ACLs to identify these teams.","commit_id":"a6852cbaf46b11d350aa51d526b981b8fc09df1e"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"3ba6fc25cfd17fc1dadab93bb83b92105f9c4adf","unresolved":false,"context_lines":[{"line_number":322,"context_line":"    return members_list"},{"line_number":323,"context_line":""},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"def get_core_team(project, server, user, pw):"},{"line_number":326,"context_line":"    if \u0027core-team\u0027 in project:"},{"line_number":327,"context_line":"        return project[\u0027core-team\u0027]"},{"line_number":328,"context_line":"    if \u0027core-team-gerrit-group\u0027 in project:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5afe65bd_e8d1c2fc","line":325,"in_reply_to":"5afe65bd_75180f85","updated":"2015-06-02 14:17:47.000000000","message":"Awesome, thanks for the feedback!  Yes, I\u0027d like to do that.  I think I\u0027d like to put this in and look at that as a next step.","commit_id":"a6852cbaf46b11d350aa51d526b981b8fc09df1e"}]}
