Table of contents

The GDS Way and its content is intended for internal use by the GDS community.

How to publish open source code

Wherever possible, we make our source code open and reusable. This means other government departments and people in outside organisations can benefit from our work. We also maintain several open source projects developed for use on GOV.UK and with other work we do, such as the Puppet module for go-audit or the GDS Operations open source web site.

It’s not always appropriate to open code. There are situations when you should keep some data and code closed, for example when involving keys and security credentials.

The Service Manual explains how to open previously closed code and your responsibilities for maintaining open code.

You should release any open code with a clear license for reuse. As repositories often include both documentation and code, we use 2 licences:

When you publish open source code, your project must:

Your open source code project should:

You could also provide a mailing list so people can discuss your project.

This page was last reviewed on 8 March 2019. It needs to be reviewed again on 8 September 2019 by the page owner #gds-way .
This page was set to be reviewed before 8 September 2019 by the page owner #gds-way. This might mean the content is out of date.