Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.07 KB

File metadata and controls

33 lines (21 loc) · 1.07 KB

Contributing to OPA-python-client

We welcome contributions to OPA-python-client

Issues

Feel free to submit issues and enhancement requests.

OPA-python-client Issues

Contributing

Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work
  5. Submit a Pull request so that we can review your changes

Testing

$ docker run -it --rm -p 8181:8181 openpolicyagent/opa run --server --addr :8181
$ pytest

Integration tests require a running OPA server. The client supports both OPA 0.x and OPA 1.0+; legacy v0 Rego policies are auto-upgraded on upload when needed.

To run OPA in legacy v0 mode instead, add --v0-compatible to the docker command.

NOTE: Be sure to merge the latest from "upstream" before making a pull request!