BT

Your opinion matters! Please fill in the InfoQ Survey!

Open Source Development at the UK Government

| by Ben Linders Follow 12 Followers on Nov 17, 2016. Estimated reading time: 4 minutes |

New code developed for the UK government is open by default. Coding in the open enables reuse and increases transparency, which results in better digital services, said Anna Shipman, technical architect at Government Digital Service (GDS). She spoke about open sourcing government at GOTO Berlin 2016.

Our job is to change the way the government works, said Shipman. The UK government wants to provide digital services which are so good that people want to use them; services which are leading to better interaction between the government and citizen.

Software development at the UK government used to be done with yearly big bang releases. Over the years this has changed with many teams doing several code updates every day.

Shipman gave an example of what a car owner has to do when they want to transfer or retain a registration number. Previously they had to fill in a paper form, now they can do it on-line which is easier and much quicker. Doing it on-line has also reduced the handling cost for the government, so citizen now have to pay less for this service. This service has 91% user satisfaction.

The UK government has committed to making code open; new code should be open by default, said Shipman. There might be exceptions for code to do with security or configuration, but even some of this code is becoming open.

Much of the code used for the services on GOV.UK is available on Github. During development projects go through four phases: Discovery, Alpha, Beta and Live. These phases are further explained in the Government Service Design Manual.

There’s a difference between "coding in the open" and "open source development", as Shipman explained. Coding in the open means that GDS cannot promise to support the code or give commitment that it will be maintained. Also, GDS is not in the position to build and support a community around the code. Despite these things, countries like New Zealand and Israel and cities like Lexington, Kentucky USA are using code from GDS for their own websites.

Most of the software is developed as "coding in the open" but there is some open source code. Shipman mentioned the vcloud tools, software that was developed in-house at GDS which went from coding in the open to open source.

Earlier this year Shipman spoke at QCon London about DevOps at the UK Government. In her talk she mentioned that GDS is both using and developing open source tools:

GDS uses a lot of open source tools. Among others, they use Jenkins as a CI server, Puppet for IT Automation, syslog and logstash for logging, Cucumber for acceptance testing and Icinga for monitoring. GDS also develops most of their tools and applications in the open. AlphaGov hosts all their tools that are open source, but not supported in any way. GDS Operations hosts tools that have a higher level of commitment, such as vCloud Tools.

Coding in the open enables reuse and increases transparency. It forces you to do things properly, argued Shipman. One downside is that it can be intimidating for new people on a team, as the code they write will be visible to everyone. GDS deals with this by having a very strong culture around being positive about code reviews, and by supporting new members of staff, e.g. by pairing.

In the article Agile in the UK Government - An Insider Reveals All Nick Tune describes the benefits that the UK gets from open source code:

Another example of GDS’s brilliance is how they’ve managed to bring the open source philosophy into government. Not just using open source - but creating open source code. If you go to HMRC’s github for example, you can see hundreds of open source projects. And not just libraries either. You can find the code for HMRC’s web frontends and domain-driven microservices that are actually running on gov.uk.

I think it’s amazing that GDS have achieved this; promoting reuse across government, showing taxpayers how their money is being spent, and mitigating vendor lock-in. Personally, I loved coding in the open. It holds all developers to a high standard of work so that we are not creating a maintenance burden for the next generation that wastes taxpayer money and stops us providing value to UK citizens.

Shipman mentioned the Digital service standard: a set of 18 criteria to which all public facing services must comply. Some of the things this standard prescribes are that software must be developed by multidisciplinary teams which use agile methods to iteratively develop software, and that teams must understand the needs of their users, do ongoing user research, and test services end-to-end.

Some of the things that GDS is currently working on is identifying the most useful projects that would be candidates to become open source, find ways to help teams to code in the open, and increase their open source contributions.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Not quite there by Paul Kearney

The aspiration is there but it is not really happening in my experience. The culture is not there yet in UK Government. Although it may be better than some.

There is also the question of why things are open sourced. One of the best discussions about open source is en.m.wikipedia.org/wiki/The_Cathedral_and_the_B... but it is hard to see the connect with open sourcing the right thing and the GDS position of open sourcing everything.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT