Closed dmitshur closed 6 years ago
Merging #54 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #54 +/- ##
=======================================
Coverage 22.34% 22.34%
=======================================
Files 21 21
Lines 1781 1781
=======================================
Hits 398 398
Misses 1332 1332
Partials 51 51
Impacted Files | Coverage Δ | |
---|---|---|
config.go | 2.72% <ø> (ø) |
:arrow_up: |
accounts.go | 3.53% <ø> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update c3ce3c2...5037be5. Read the comment docs.
From the first view it looks like if it is the avatars-external plugin.
Thanks!
I've looked through the entire source of the avatars-external
plugin, but didn't find any mentions of "url" or "height" fields. (But maybe the code to augment AccountInfo
entity is not specific to the avatar plugin, and lives elsewhere...)
I suspect Google-hosted Gerrit instances are using a custom (likely closed-source) implementation of an avatar plugun. It uses the user's Google account avatar (as far as I can tell; I could be wrong).
Interesting. Any idea who could be asked?
Any idea who could be asked?
About which thing, exactly?
(But maybe the code to augment AccountInfo entity is not specific to the avatar plugin, and lives elsewhere...)
This seems to be the case, somewhat.
I've searched the main gerrit repository for mentions of avatars
inside AccountInfo
, and found these:
Oh, seems to be directly implemented. Nice!
This change implements support for the avatars plugin. It appears to be available on many Gerrit instances hosted by Google.
Unfortunately, I have not been able to find any API documentation or source for this augmentation of the
AccountInfo
entity. This change is implemented based on looking at real responses from Google-hosted Gerrit instances. E.g.:Resolves #51.