mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-20 16:14:25 +00:00
Show which user account each change was uploaded under
This way users are well aware of which account we used when the uploads are complete, so they can be certain to sign into the web application with that user identity. Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
bb0ee80571
commit
0758d2f1d6
@ -88,6 +88,10 @@ class ReviewableBranch(object):
|
|||||||
commit = self.project.bare_git.rev_parse(R_HEADS + self.name)
|
commit = self.project.bare_git.rev_parse(R_HEADS + self.name)
|
||||||
return 'http://%s/r/%s' % (me.remote.review, commit[0:12])
|
return 'http://%s/r/%s' % (me.remote.review, commit[0:12])
|
||||||
|
|
||||||
|
@property
|
||||||
|
def owner_email(self):
|
||||||
|
return self.project.UserEmail
|
||||||
|
|
||||||
|
|
||||||
class StatusColoring(Coloring):
|
class StatusColoring(Coloring):
|
||||||
def __init__(self, config):
|
def __init__(self, config):
|
||||||
|
@ -158,6 +158,7 @@ changes in all projects listed in the manifest.
|
|||||||
branch.project.relpath + '/',
|
branch.project.relpath + '/',
|
||||||
branch.name)
|
branch.name)
|
||||||
print >>sys.stderr, '%s' % branch.tip_url
|
print >>sys.stderr, '%s' % branch.tip_url
|
||||||
|
print >>sys.stderr, '(as %s)' % branch.owner_email
|
||||||
print >>sys.stderr, ''
|
print >>sys.stderr, ''
|
||||||
|
|
||||||
if have_errors:
|
if have_errors:
|
||||||
|
Loading…
Reference in New Issue
Block a user