Thank you for your interest in contributing to the moodle-tiny_codepro plugin! Your contributions help improve the plugin and make it more useful for the Moodle community.
Please take a moment to read through this guide before submitting an issue or pull request.
- master: Protected. This branch holds the latest stable, released code. No direct commits or pull requests should target this branch.
- develop: All contributions should be based on this branch. New features, bug fixes, and improvements must be merged here.
Start by forking the repository to your GitHub account.
git clone https://github.com/jmulet/moodle-tiny_codepro.git
cd moodle-tiny_codeproAlways branch off from develop.
git checkout develop
git pull origin develop
git checkout -b your-feature-branchPlease follow Moodle coding standards where applicable:
Ensure your code:
- Does not break existing functionality.
- Passes Moodle's code checks (
phpcs,phpunit, etc.). - Is compatible with Moodle versions supported by the plugin.
Use meaningful commit messages. For example:
git add .
git commit -m "feat: description fo your feature"
git push origin your-feature-branchWhen your feature/fix is ready:
- Go to your fork on GitHub.
- Create a Pull Request (PR) against the
developbranch of the original repository. - Add a clear description of your changes.
- Reference any related issues (e.g.,
Closes #12). - Be ready to make changes based on review feedback.
Note: PRs made directly to master will be automatically closed.
Keep in mind the structure of Moodle plugins. Please do not modify version.php unless you're coordinating a release or asked to do so by a maintainer.
If you encounter a bug or have a question, please:
- Search the issue tracker.
- If it’s new, open an issue.
Thanks again for helping improve moodle-tiny_codepro! Every bit of help counts!