Standard for Public Code

Contents

  1. Problems, suggestions and questions in issues
  2. Documentation and code in pull requests
    1. 1. Make your changes
      1. Style
    2. 2. Pull request
    3. 3. Improve
    4. 4. Celebrate
  3. Translations in other languages
  4. Releases

Contributing to this standard

🙇‍♀️ Thank you for contributing!

We understand that a standard like this can only be set in collaboration with as many public technologists, policy makers and interested folk as possible. Thus we appreciate your input, enjoy feedback and welcome improvements to this project and are very open to collaboration.

We love issues and pull requests from everyone. If you’re not comfortable with GitHub, you can email use your feedback at info@publiccode.net.

Problems, suggestions and questions in issues

A high-level overview of the development that we already have sketched out can be seen in the roadmap. Please help development by reporting problems, suggesting changes and asking questions. To do this, you can create a GitHub issue for this project in the GitHub Issues for the Standard for Public Code.

Or, sign up to the mailing list and send an email to standard@lists.publiccode.net.

You don’t need to change any of our code or documentation to be a contributor!

Documentation and code in pull requests

If you want to add to the documentation or code of one of our projects you should make a pull request.

If you never used GitHub, get up to speed with Understanding the GitHub flow or follow one of the great free interactive courses in the GitHub learning lab on working with GitHub and working with MarkDown, the syntax this project’s documentation is in.

This project is licensed CC-0, which essentially means that the project, along with your contributions is in the public domain in whatever jurisdiction possible, and everyone can do whatever they want with it.

1. Make your changes

This project uses the GitFlow branching model and workflow. When you’ve forked this repository, please make sure to create a feature branch following the GitFlow model.

Add your changes in commits with a message that explains them. Document choices or decisions you make in the commit message, this will enable everyone to be informed of your choices in the future.

If you are adding code, make sure you’ve added and updated the relevant documentation and tests before you submit your pull request. Make sure to write tests that show the behavior of the newly added or changed code.

Contributions should follow the requirements set out in the criteria of the Standard for Public code itself.

Style

The Standard for Public Code aims to use plain English and we have chosen American English for spelling. However, we want to emphasize that it is more important that you make your contribution than worry about spelling and typography. We will help you get it right in our review process and we also have a separate quality check before making a new release.

2. Pull request

When submitting the pull request, please accompany it with a description of the problem you are trying to solve and the issue numbers that this pull request fixes.

3. Improve

All contributions have to be reviewed by someone.

It could be that your contribution can be merged immediately by a maintainer. However, usually, a new pull request needs some improvements before it can be merged. Other contributors (or helper robots) might have feedback. If this is the case the reviewing maintainer will help you improve your documentation and code.

If your documentation and code have passed human review, it is merged.

4. Celebrate

Your ideas, documentation and code have become an integral part of this project. You are the open source hero we need!

In fact, feel free to open a pull request to add your name to the AUTHORS file and get eternal attribution.

Translations in other languages

While the Standard does not have any official translations, you can help maintain existing and add new community translations of the Standard.

Releases

We have dedicated documentation for creating new releases and ordering printed standards.

For more information on how to use and contribute to this project, please read the README.