Welcome to the Standard for Public Code.
We define ‘public code’ as open source software developed by public organizations (like cities), together with the policy and guidance needed for reuse.
The Standard for Public Code gives cities a model for building their own open source solutions to enable successful future reuse by other cities. It includes guidance for policymakers, city administrators, developers and vendors.
- Introduction and background
- Readers guide: how to interpret this standard
- Code in the open
- Bundle policy and source code
- Create reusable and portable code
- Welcome contributions
- Maintain version control
- Require review of contributions
- Document your objectives
- Document your code
- Use plain English
- Use open standards
- Use continuous integration
- Publish with an open license
- Use a coherent style
- Pay attention to codebase maturity
- Contributing guide
- Code of conduct
- Version history