We really appreciate and value contributions to Selene. Please take time to review the items listed below to make sure that your contributions are merged as soon as possible.
Before starting development, please create an issue to open the discussion, validate that the PR is wanted, and coordinate overall implementation details.
As a contributor, you are expected to fork this repository, work on your own fork and then submit pull requests. The pull requests will be reviewed and eventually merged into the main repo. See "Fork-a-Repo" for how this works.
-
Make sure your fork is up to date with the main repository:
cd selene git remote add origin https://github.com/BlocSoc-iitr/selene git fetch origin git pull --rebase origin dev
-
Branch out from
dev
intofix/some-bug-short-description-#123
(ex:fix/typos-in-docs-#123
):(Postfixing #123 will associate your PR with the issue #123 and make everyone's life easier =D)
git checkout -b fix/some-bug-short-description-#123
-
Make your changes, add your files.
-
Commit and push to your fork.
git add src/file.go git commit "Fix some bug short description #123" git push origin -u fix/some-bug-short-description-#123
-
Run tests and linter. This can be done by running local continuous integration and make sure it passes.
# run tests go test # run linter gofmt
-
Go to Selene in your web browser and issue a new pull request. Begin the body of the PR with "Fixes #123" or "Resolves #123" to link the PR to the issue that it is resolving.
-
Maintainers will review your code and possibly ask for changes before your code is pulled in to the main repository. We'll check that all tests pass, review the coding style, and check for general code correctness. If everything is OK, we'll merge your pull request and your code will be part of Selene.
IMPORTANT Please pay attention to the maintainer's feedback, since it's a necessary step to keep up with the our standards
If you have any questions, feel free to post them as an issue.
Finally, if you're looking to collaborate and want to find easy tasks to start, look at the issues we marked as "Good first issue".
Thanks for your time and code!