Skip to main content

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

How to store source code

At MHCLG, we follow the principles set out in the Service Manual for managing the code we write by:

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.

It’s not always appropriate to open code. There are sometimes grounds for keeping some data and code closed, for example:

  • keys and credentials
  • algorithms used to detect fraud
  • code or data that makes clear details of unannounced policy

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

When you publish open source code, your project must:

For projects intended for use by other people, your project should also:

If your project accepts contributions from the public, your project should also:

See also

This page was last reviewed on 4 March 2025. It needs to be reviewed again on 4 March 2026 by the page owner #mhclg-way .