Make this an official Gerrit plugin

* move to package com.googlesource.gerrit.plugins.avatars.external
* set copyright to "The Android Open Source Project"
1 file changed
tree: cf52c4991ea788526e1639d99a43fdcbac87c194
  1. .settings/
  2. src/
  3. .gitignore
  4. pom.xml
  5. README.md
README.md

External URL Avatar Plugin Configuration

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.