First off, thank you for considering contributing to Cross-Compatible FileLock! Your help is highly appreciated and essential for the growth and improvement of this project.
The following is a set of guidelines for contributing to the project. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
If you find a bug in the project, please create an issue on GitHub. Before creating an issue, please check if the issue has already been reported.
- Check Existing Issues: Ensure your issue hasn’t already been reported.
- Create a New Issue: If no existing issue covers your bug, create a new issue.
- Provide Detailed Information: Include as much detail as possible:
- A descriptive title
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- Environment (OS, Compiler, etc.)
- Any relevant logs or screenshots
Feature requests are welcome. If you have an idea to improve the project, please create an issue on GitHub to discuss it.
- Check Existing Issues: Ensure your feature request hasn’t already been suggested.
- Create a New Issue: If no existing issue covers your feature request, create a new issue.
- Provide Detailed Information: Include as much detail as possible:
- A descriptive title
- A detailed explanation of the feature
- Why this feature would be useful
- Any code snippets or examples that help illustrate the feature
We welcome contributions in the form of bug fixes, new features, and improvements. Please follow these steps to contribute code:
-
Fork the Repository: Fork the repo on GitHub and clone your fork locally.
git clone https://github.com/your-username/Cross-Compatible-FileLock.git cd Cross-Compatible-FileLock
-
Create a Branch: Create a new branch for your work.
git checkout -b feature-or-bugfix-description
-
Make Changes: Implement your changes in the new branch. Follow the style guides and ensure your code is well-documented.
-
Commit Your Changes: Commit your changes with a descriptive commit message.
git add . git commit -m "Description of the changes"
-
Push to Your Fork: Push your changes to your fork on GitHub.
git push origin feature-or-bugfix-description
-
Create a Pull Request: Create a pull request on the original repository. Provide a detailed description of your changes and any related issue numbers.
- Ensure your code compiles and work.
- Follow the existing code style and structure.
- Provide a clear and detailed description of the changes.
- Reference any relevant issues in your pull request description.
- Remember that you are addressing a community in your description and code.
- 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.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Thank you for your interest in contributing to Cross-Compatible FileLock. Your efforts and time are greatly appreciated and will help make this project better for everyone!