Thank you for considering contributing to our project! To ensure a smooth collaboration, please follow these guidelines when submitting contributions.
We require contributors to sign off their commits to ensure that the commits are made in compliance with our Contributor License Agreement (CLA). This also helps maintain clarity about who made the changes.
To sign off your commit, use the --signoff
flag when committing, like so:
git commit --signoff --message "Your message"
(or)
git commit -s -m "Your message"
This will add a Signed-off-by
line at the end of your commit message, confirming that you have read and agreed to the CLA.
Example commit message with sign-off:
Fix issue with login form validation
- Corrected a bug that prevented the validation from triggering on empty fields.
Signed-off-by: Jane Doe <[email protected]>
Clear, concise, and meaningful commit messages help maintain a readable history of changes. Follow these guidelines for writing commit messages:
- Use present tense: Commit messages should describe what this commit does, not what it did (e.g., "Fix bug in validation logic" rather than "Fixed bug").
- Be descriptive, but concise: Summarize what you changed and why in a single line if possible. If more detail is needed, provide additional explanation in the body of the message.
Fix user authentication issue after password reset
- Users were unable to log in after resetting their password due to a session mismatch.
- Added a check to synchronize the session after a password reset.
When submitting a pull request (PR), it's important to make the title and description clear and easy to understand. Here’s how to do it:
- Be specific: Clearly describe what the pull request accomplishes.
- Use imperative mood: Like with commit messages, use the present tense (e.g., "Add new login screen" instead of "Added new login screen").
Fix user authentication issue after password reset
Provide a detailed explanation of the following in your PR description:
- What: A brief overview of the change you made.
- Why: Explain why this change is necessary.
- How: If applicable, provide context on how you implemented the change.
## What:
This pull request fixes an issue where users were unable to log in after resetting their password.
## Why:
Users reported issues with authentication after password reset. This fix ensures the session is synchronized post-reset.
## How:
Added logic to check the session after a password reset and synchronize it with the new user credentials.
- Keep your branches small and focused: Try to limit each pull request to a single feature or bug fix.
- Test your changes: Ensure that your code works as expected and passes all relevant tests before submitting a pull request.
- Follow the coding standards: Make sure your code adheres to the project’s coding conventions. This includes naming conventions, code formatting, and structure.
- Be respectful and kind: Our community values respectful collaboration. When reviewing others' code or responding to feedback, maintain a positive, constructive attitude.
Please ensure that you read and follow our Code of Conduct, which outlines the expectations for respectful and inclusive behavior within the community.
If you have any questions, feel free to reach out by opening an issue, or ask in the project’s discussion channel. We are happy to help!
Thank you for contributing, and we look forward to reviewing your changes!