Thank you for considering contributing to Dremio Iceberg AuthManager. Any contribution (code, test cases, documentation, use cases, ...) is valuable!
This documentation will help you get started.
You can report an issue in the issue tracker.
Note: If you find a security vulnerability, do NOT open an issue. Please email security@dremio.com instead.
When filing an issue, make sure to answer these five questions:
- What version of Dremio Iceberg AuthManager are you using?
- What operating system and processor architecture are you using?
- What did you do?
- What did you expect to see?
- What did you see instead?
If you're looking for a feature that does not exist in Dremio Iceberg AuthManager, you're probably not alone. Others likely have similar needs. Please open an issue describing the feature you'd like to see, why you need it, and how it should work.
When creating your feature request, document your requirements first. Please, try to not directly describe the solution.
If you want to dive into development yourself then you can check out existing open issues or requests for features that need to be implemented. Take ownership of an issue and try fix it.
Before starting on a large code change, please describe the concept/design of what you plan to do on the issue/feature request you intend to address. If unsure whether the design is good or will be accepted, discuss it with the community in the respective issue first, before you do too much active development.
The best way to provide changes is to fork Dremio Iceberg AuthManager repository on GitHub and provide a Pull Request with your changes. To make it easy to apply your changes please use the following conventions:
- Every Pull Request should have a matching GitHub Issue.
- Create a branch that will house your change:
git clone https://github.com/dremio/iceberg-auth-manager
cd iceberg-auth-manager
git fetch --all
git checkout -b my-branch origin/mainDon't forget to periodically rebase your branch:
git pull --rebase
git push GitHubUser my-branch --forceEnsure the build passes:
./gradlew clean buildEnsure the code is properly formatted:
./gradlew spotlessApply- Pull Requests should be based on the
mainbranch. - Test that your changes works by adapting or adding tests. Verify the build passes.
- If your Pull Request has conflicts with the
mainbranch, please rebase and fix the conflicts.
The Dremio Iceberg AuthManager build currently requires Java 21 or later. There are a few tools that help you to run the right Java version:
- SDKMAN! follow the installation instructions, then run
sdk list javato see the available distributions and versions, then runsdk install java <identifer from list>using the identifier for the distribution and version (>= 21) of your choice. - jenv If on a Mac you can use jenv to set the appropriate SDK.
git logcan help you find the original/relevant authors of the code you are modifying. If you need, feel free to tag the author in your Pull Request comment if you need assistance or review.- Do not re-create a Pull Request for the same change.
- Consider open questions and concerns in all comments of your Pull Request, provide replies and
resolve addressed comments, if those don't serve reference purposes. If a comment doesn't contain
nit,minor, ornot a blockermention, please provide feedback to the comment before merging. - Give time for review. For instance two working days is a good base to get first reviews and comments.