Skip to content
Tim Hinrichs edited this page Dec 28, 2015 · 1 revision

We are using the Fork-Pull model for collaboration. To contribute code,

  1. Fork the open-policy-agent's opa repo into your own private github repo.

  2. Modify your github repo

    1. Clone it to your laptop
    2. Make changes to the files on your laptop
    3. Push laptop repo to YOUR github repo.
  3. To submit code for review, go to your github repo and create a Pull Request for open-policy-agent's master branch.

  4. Go through the code-review process on github.

    • You may need to synchronize your laptop repo with open-policy-agent's repo. See the synchronization instructions given below.
    • After synchronization, you will likely need to use the -f flag (for 'force') when pushing to YOUR github repo because it will not be synced with the open-policy-agent repo.

References

Clone this wiki locally