Authorization Proxy uses GitHub to manage reviews of pull requests.
- The versioning scheme we use is SemVer.
- Relevant coding style guidelines are the Go Code Review Comments and the Formatting and style section of Peter Bourgon's Go: Best Practices for Production Environments.
Should you wish to work on an issue, please claim it first by commenting on the GitHub issue that you want to work on it. This is to prevent duplicated efforts from contributors on the same issue.
For quickly compiling and testing your changes, do:
# for building
go build
./authorization-proxy
# for testing (Make sure all the tests pass before you commit and push :))
make test- Branch from the master branch and, if needed, rebase to the current master branch before submitting your pull request. If it doesn't merge cleanly with master you may be asked to rebase your changes.
- Branches should have descriptive names and start with prefixes like
patch/,fix/,feature/. Good examples are:fix/vulnerability-issueorfeature/issue-templates.
- Branches should have descriptive names and start with prefixes like
- If your patch is not getting reviewed or you need a specific person to review it, you can @-reply a reviewer asking for a review in the pull request or a comment.
- Add tests relevant to the fixed bug or new feature.
- Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- Please use
Squash and mergeto merge a PR. - For release, check out the following: About release
The Authorization Proxy project uses Go modules to manage dependencies on external packages. This requires a working Go environment with version 1.23 or greater installed.
To add or update a new dependency, use the go get command:
# Pick the latest tagged release.
go get example.com/some/module/pkg
# Pick a specific version.
go get example.com/some/module/pkg@vX.Y.ZTidy up the go.mod and go.sum files:
# The GO111MODULE variable can be omitted when the code isn't located in GOPATH.
GO111MODULE=on go mod tidyYou have to commit the changes to go.mod and go.sum before submitting the pull request.
This section describes how to release a new version of the Authorization Proxy.
Tip
For consistent release DX, please refrain from creating a tag with git command
Note
Please note that:
latesttag will be updated as well- there is no pr tag release
Create a release with GitHub UI from the following: https://github.com/AthenZ/authorization-proxy/releases
Here is a general architecture of the current release pipeline:

