3.6 KiB
📢 How You Can Contribute Effectively
To ensure your contributions have the greatest impact, there are two important steps to follow:
-
Notify About Your Task 📨
Before starting work on a specific task (bug fix or feature enhancement), please send me a direct message @soberhacker. Let me know which issue you intend to work on, so I can mark it as being in progress by you. -
Earn Stars for Your Work 🌟
If the task you're working on is mentioned on the Telegram channel, all stars related to that feature or bug will be credited to you once your pull request is successfully merged. This helps acknowledge your contribution to the community and highlights the real value of your work.
👨💻 Steps to Contribute Code
I'm thrilled you're considering making a contribution to my project! The process is straightforward, and I've outlined the steps below.
-
Fork the Repository: To start, click the "Fork" button at the top of the repository page.
-
Clone the Repository: In your new fork, click the "Code" button and copy the URL. Then, open your terminal and run the command
git clone [URL]. -
Create a New Branch: Navigate to the project directory by running
cd [project-name]in your terminal. Switch to thedevelopbranch withgit checkout developand create a new branch by runninggit checkout -b [branch-name]. -
Make Your Changes: Now's the time to contribute your changes to the project. Once you're finished, add your changes with
git add .. -
Do Not Update the Plugin Version: Please refrain from manually updating the plugin's version. I utilize GitHub Actions to automatically update the version in the following files: manifest.json, package.json, versions.json, package-lock.json, and CHANGELOG.md.
-
Commit Your Changes: Commit your changes with
git commit -m "[commit-message]". -
Commit Message Guidelines: We follow the Conventional Commits specification for our commit messages. Here are the basic rules:
- Commits must be prefixed with a type, which consists of a noun, feat, fix, etc., followed by a colon and a space.
- The type
featshould be used when a new feature is added. - The type
fixshould be used when a bug is fixed. - Use
docsfor documentation changes. - Use
stylefor formatting changes that do not affect the code's meaning. - Use
refactorwhen code is changed without adding features or fixing bugs. - Use
perffor code changes that improve performance. - Use
testwhen adding missing tests or correcting existing tests. - The type may be followed by a scope (optional).
- A description must immediately follow the space after the type/scope prefix.
- The description is a short description of the code changes, e.g., "Add new user registration module".
- If needed, provide a longer description after the short description. Separate them by an empty line.
-
Push Your Changes: Push your changes to your fork on GitHub by running
git push origin [branch-name]. -
Create a Pull Request: Go back to your fork on GitHub, select your branch, and click "New pull request". Make sure the target branch for the pull request is
developin the original repository.
🤝 Important Note: Please make sure to adhere to the coding and commit standards. Commits that do not comply may be rejected.
Thank you for being part of this journey! Your contributions are what keep the project thriving and evolving. 🚀✨