Skip to main content

Adds user-specific icons to the Trac timeline view.

Project description

Notes

Adds user-specific icons to the timeline view.

http://trac-hacks.org/raw-attachment/wiki/HackergotchiPlugin/hackergotchi.png

Providers

Identicon

Locally generate identicons using the author information. This provider requires PIL to be installed.

Identicon implementation is courtesy of Shin Adachi.

Gravatar

Uses the Gravatar.com service to generate images.

Configuration

All configuration options go in the [hackergotchi] section.

providers : optional, default: GravatarHackergotchiProvider, IdenticonHackergotchiProvider
Order to try providers when looking for an image. Any providers enabled but not listed will be tried in a pseudo-random order.
gravatar_default : optional, default: identicon
Value to pass along to Gravatar to use if the email doesn’t match anything. Valid values are identicon, monsterid, wavatar, or a URL to an image. In the first three cases, a icon will be procedurally generated.

To enable the plugin:

[components]
hackergotchi.* = enabled

Example

To never use the Gravatar provider:

[hackergotchi]
providers = IdenticonHackergotchiProvider

[components]
hackergotchi.* = enabled
hackergotchi.providers.GravatarHackergotchiProvider = disabled

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TracHackergotchi-1.2.tar.gz (6.7 kB view hashes)

Uploaded source

Built Distribution

TracHackergotchi-1.2-py2-none-any.whl (10.2 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page