Store the sha in reviews as well.
This commit is contained in:
parent
3bcf28bd7a
commit
f12156a422
@ -156,6 +156,8 @@ for filename in ninety_days_of_filenames():
|
|||||||
if j['type'] == 'patchset-created':
|
if j['type'] == 'patchset-created':
|
||||||
patches[patch_key][patchset]['created'] = \
|
patches[patch_key][patchset]['created'] = \
|
||||||
j['patchSet']['createdOn']
|
j['patchSet']['createdOn']
|
||||||
|
patches[patch_key][patchset]['sha'] = \
|
||||||
|
j['patchSet']['revision']
|
||||||
|
|
||||||
elif j['type'] == 'comment-added':
|
elif j['type'] == 'comment-added':
|
||||||
author = j['author'].get('username', None)
|
author = j['author'].get('username', None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user