First off, thank you for considering contributing to Cashubrew! It's people like you that make Cashubrew such a great tool. 🎉
Before you begin:
- Make sure you have a GitHub account
- Familiarize yourself with Git
- Read our Code of Conduct
- Head over to the Cashubrew repository on GitHub
- Click the "Fork" button in the upper right corner
- Voilà! You now have your own copy of the repository
- Clone your fork locally:
git clone https://github.com/your-username/cashubrew.git
cd cashubrew
- Add the original repository as a remote called "upstream":
git remote add upstream https://github.com/keep-starknet-strange/cashubrew.git
- Install dependencies:
mix deps.get
- Create a new branch for your feature or bugfix:
git checkout -b your-feature-name
- Make your changes in your feature branch
- Write or adapt tests as needed
- Run the test suite to ensure everything is working:
mix test
- Make sure your code follows our style guide:
mix format
mix credo --strict
- Check for potential security issues:
mix sobelow
- Run static analysis:
mix dialyzer
- Push your changes to your fork on GitHub:
git push origin your-feature-name
- Go to your fork on GitHub and click the "New Pull Request" button
- Ensure the base fork is
AbdelStark/cashubrew
and the base ismain
- Give your pull request a clear title and description
- Ensure the bug was not already reported by searching on GitHub under Issues
- If you're unable to find an open issue addressing the problem, open a new one
- Check the Issues page to see if the enhancement has already been suggested
- If not, create a new issue, clearly describing the enhancement and its potential benefits
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
Don't hesitate to reach out if you have any questions.
Thank you for contributing to Cashubrew! 🚀✨