commit | d2123d8dc78dfeb462c9f7ffc6ee9c5783100b27 | [log] [tgz] |
---|---|---|
author | David Myllykangas <david.myllykangas@gmail.com> | Tue Jan 20 12:12:15 2015 +0100 |
committer | Steffen Gebert <steffen@steffen-gebert.de> | Tue Jan 20 20:14:20 2015 +0000 |
tree | 2840f9cbffaca1f9544f1c5b3608dd0e513b0e40 | |
parent | 17dcf8569693009486a99d325441b3f2d8232acc [diff] |
Add support to build the plugin with BUCK The following command from the gerrit directory can be used to build the plugin with buck: buck build plugins/avatars/external:avatars-external Add "about" and "build" sections to the Documentation to make info page more uniform with other plugins. Change-Id: I076bed94edb704ba4e8fca14844b230d26518010
This plugin allows to use an own web service to load the avatar images from.
Options:
avatar.url
- the location of avatar images containing %s
, which will then be replaced by the username
. Required.avatar.changeUrl
- the URL shown in Gerrit's user settings to tell the user, where the avatar can be changed. Optional.Example (to be added to etc/gerrit.config
):
[avatar] url = http://example.org/avatars/%s.jpg changeUrl = http://example.org/account.html
Please note that http://
URLs will be automatically rewritten to https://
, if gerrit.canonicalWebUrl
uses HTTPS.