Wallpairper

Wallpairper is a small tool created to address a very specific need: to add avatars to a wallpaper image. It might be useless for the most, but fits perfectly in my team’s workflow.

Every morning, after the daily sync meeting, my team defines the pairs that are working on the development tasks (yes, pair programming). When the pair starts working, first thing to do is to set the environment for that pair. It’s a bash command (from Pivotal’s git_scripts gem):

1
$ git pair sh jhw

This command configures git for the given pair (it modifies the ~/.gitconfig file, basically).

1
2
3
[user]
  name = Sherlock Holmes and John H. Watson
  email = pair+sherlock+watson@scandal.bohemia.com

Not rarely do we forget to run the pair command to set the pair and, for this reason, all the commits point to a wrong pair (which is bad for those who use and rely on git log and git blame commands).

Thinking of this, Wallpairper adds avatars to a giving image (which can be used as wallpaper), providing visual feedback of the pair set on such computer.

Wallpairper works with local files as avatars:

1
2
$ ./Wallpairper DesktopImage.png NewDesktopImage.png \
  ~/Avatar/Shelock.jpg ~/Avatar/Watson.jpg

and Gravatar:

1
2
$ ./Wallpairper DesktopImage.png NewDesktopImage.png \
  sholmes@fake.bohemia.com jwatson@fake.bohemia.com

Oh, and it does support one, two, three or more avatars… For those either working solo or swarming.

Happy pair programming!

Copyright © 2014 - Otavio Cordeiro. Powered by Octopress