Information

You appear to be using an unsupported browser, and it may not be able to display this site properly. You may wish to upgrade your browser.

11. Make new source code open

Public services are built with public money. So unless there’s a good reason not to, the code they’re based should be made available for people to reuse and build on.

Open source code can be reused by developers working in government, avoiding duplication of work and reducing costs for government as a whole. Publishing source code under an open licence means that you’re less likely to get locked in to working with a single supplier.

Regardless of your technology choice - reuse, buy or build - you should be able to open source your code.

How you do it

  • Write code in the open from the start
    Publish this in an open repository - minus any sensitive information, like secret keys and credentials
  • Understand when you should not publish code
    Identify and describe where code is too sensitive to publish
  • Describe how you’ll do open source
    Have a clear process for the lifecycle of the service, for example how you’ll manage pull requests and fork code
  • Make source code you’ve created available for reuse
    Keep ownership of the intellectual property of new source code that’s created as part of the service, and make it available for reuse under an open licence

Links to detailed guidance:

Digital Scotland Service Standard

1. Understand users and their needs

2. Solve a whole problem for users

3. Design and deliver a joined up experience

4. Help users succeed first time

5. Make sure everyone can use the service

6. Have a multidisciplinary team

7. Iterate and improve frequently

8. Create a secure service which protects users’ privacy

9. Define what success looks like and publish performance data

10. Choose the right tools and technology 

11. Make new source code open

12. Use and contribute to shared digital practices, processes, components, standards, patterns and platforms

13. Operate a reliable service

14. Ensure sponsor acceptance

 

Back to top