layout | title | nav_order | has_children |
---|---|---|---|
default |
Contributing |
10 |
false |
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community.
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution..
If you don't know where to start, please join our community on Slack and ask us. We will help you get started!
Before you get started, we ask that you:
- Check out the code of conduct.
- Sign the lakeFS CLA when making your first pull request (individual / corporate)
- Submit any security issues directly to security@treeverse.io
Contribute to open-source projects throughout October 2020 by stepping up to Digital Ocean's annual tradition of hosting Hacktoberfest. We always welcome pull requests to lakeFS - but throughout October your pull requests to open source projects can get you some cool swag (stickers & t-shirt). Check out our contributing guide and join our slack channel for help, more ideas, and discussions.
Not sure what to do? We marked some issues that could get you started quickly on our Hacktoberfest list.
Want to report a bug or request a feature? Please open an issue
Working on your first Pull Request? You can learn how from this free series, How to Contribute to an Open Source Project on GitHub.
This section was tested on macOS and Linux (Fedora 32, Ubuntu 20.04) - Your mileage may vary
-
Install the required dependencies for your OS:
- Git
- GNU make (probably best to install from your OS package manager such as apt or brew)
- Docker
- Go 1.14
- Node.js & npm
- Optional - PostgreSQL 11 (useful for running and debugging locally)
-
Install statik:
go get github.com/rakyll/statik
Make sure
(go env GOPATH)/bin
is in your$PATH
(or at least, that thestatik
binary is). -
Clone the repository from https://github.com/treeverse/lakeFS
-
Build the project:
make build
-
Make sure tests are passing:
make test
- Review this document in full
- Make sure there's an open issue on Github that this pull request addresses, and that it isn't labeled
WONT-FIX
- Fork the lakeFS repository
- If you're adding new functionality, create a new branch named
feature/<DESCRIPTIVE NAME>
- If you're fixing a bug, create a new branch named
fix/<DESCRIPTIVE NAME>-<ISSUE NUMBER>
Once you've made the necessary changes to the code, make sure tests pass:
make test
Check linting rules are passing:
make checks-validator
lakeFS uses go fmt as a style guide for Go code.
After submitting your pull request, GitHub Actions will automatically run tests on your changes and make sure that your updated code builds and runs on Go 1.14.
Check back shortly after submitting your pull request to make sure that your code passes these checks. If any of the checks come back with a red X, then do your best to address the errors.