All contributions are welcome if they are in the scope of the project. If you're not sure about something, feel free to ask.
- Make sure you are familiar with Go and React.
- Your contributions must be small and focused. If you want to add a new feature that requires substantial changes or additions to the codebase, please contact the dev first.
- Make sure your changes are in line with the project's goals (Create a feature request if you're unsure).
- Make sure your changes are well tested and do not introduce any new issues or regressions.
- You should try and make your changes against the most active branch, which is usually the
main
branch but may be different when a new version is being developed.
-
Create an issue before starting work on a feature or a bug fix.
-
Fork the repository, clone it, and create a new branch.
# Clone your fork of the repo git clone https://github.com/<your-username>/seanime.git # Navigate to the directory cd seanime # Assign to a remote called "upstream" git remote add upstream https://github.com/5rahim/seanime.git
-
Get the latest changes from the original repository.
git fetch --all git rebase upstream/main
-
Create a new branch for your feature or bug fix off of the
main
branch.git checkout -b <feature-branch> main
-
Make your changes, test and commit them.
-
Locally rebase your changes on top of the latest changes from the original repository.
git pull --rebase upstream main
-
Push your changes to your fork.
git push -u origin <feature-branch>
-
Create a pull request to the
main
branch of the original repository. -
Wait for the maintainers to review your pull request.
-
Make changes if requested.
-
Once your pull request is approved, it will be merged.
-
Keep your fork in sync with the original repository.
git fetch --all git checkout main git rebase upstream/main git push -u origin main