11 November 2015   4 comments   Python, Web development, Mozilla

Mind that age!

This blog post is 6 years old! Most likely, its content is outdated. Especially if it's technical.


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.


Blogged about a facelift, Jan 2018


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!

Your email will never ever be published.

Related posts