Updating GitBucket Avatars from Intranet Website


Let’s assume you have a corporate site where you host profile pictures of your colleagues in the same naming scheme as they log into your GitBucket instance. Because unified login via LDAP is cool.

In this case I have good news for you: I wrote a simple, slightly hackish script which allows you to pull those profile pictures and deploy in GitBucket within minutes. Here you go:


Just create a cronjob to make it perform an update regularly, and you’re ready to go. You’ll most likely have to modify it to fit into your exact setup, but hey, the lion’s share is done for ya!