11 November 2015   4 comments   Python, Web development, Mozilla


Powered by Fusion×

Whatsdeployed was a tool I developed for my work at Mozilla. I think many other organizations can benefit from using it too.

So, on many sites, what we do when deploying a site, is that we note which git sha was used and write that to a file which is then exposed via the web server. Like this for example. If you know that sha and what's at the tip of the master branch on the project's GitHub page, you can build up an interesting dashboard that allows you to see what's available and what's been deployed.

Sample Whatsdeployed screen for the Mozilla Socorro project
The other really useful case is when you have more than just one environment. For example, you might have a dev, stage and prod environment and, always lastly, the master branch on GitHub. Now you can see what code has been shipped on prod versus your staging environment for example.

This is one of those far too few projects that you build quickly one Friday afternoon and it turns out to be surprisingly useful to a lot of people. I for one, check various projects like this several times per day.

The code is on GitHub and it's basically a tiny bit of Flask with some jQuery doing a couple of AJAX requests. If you enjoy it and use it, please share.


Marcus Bajohr
The link in 'Whatsdeployed was a ...' has lost a s ;-)
Peter Bengtsson
Thank you!
Stephen Paulger
Looks like a very handy tool and simple to integrate too.

The link on the first word of the article is missing an "s".
Peter Bengtsson
Thank you for the correction!
Thank you for posting a comment

Your email will never ever be published

Related posts

Chainable catches in a JavaScript promise 05 November 2015
Screenshot-sharing performance comparison 13 November 2015
Related by Keyword:
Whatsdeployed on only one site 26 February 2016
hashin - a replacement for peepin 26 January 2016
Related by Text:
Whatsdeployed on only one site 26 February 2016
gg - A prototype to rule Git, GitHub and Bugzilla 06 May 2016
Headsupper.io 05 December 2015
How I git 18 June 2015
Gamification for me as a software developer 21 December 2012