🎉 Thank you for considering contributing to KubeTidy! 🎉
We welcome contributions of all kinds, whether it’s reporting bugs, suggesting improvements, or contributing code. This guide will help you understand how to contribute effectively.
-
Fork the repository by clicking the "Fork" button at the top-right of this page.
-
Clone the forked repository to your local machine:
git clone https://github.com/<your-username>/KubeTidy.git cd KubeTidy
-
Add the main KubeTidy repository as a remote:
git remote add upstream https://github.com/PixelRobots/KubeTidy.git
Before contributing, ensure that you have the required dependencies installed:
-
PowerShell 7 or higher.
-
Install the powershell-yaml module:
Install-Module -Name powershell-yaml -Scope CurrentUser
Always create a new branch for your work to keep the main branch clean. Use descriptive branch names:
git checkout -b feature/my-new-feature
If you find a bug, please open an issue on GitHub. Include as much detail as possible:
- The environment you're using (OS, PowerShell version).
- Steps to reproduce the issue.
- Expected behavior vs actual behavior.
Have a feature request or an idea to improve KubeTidy? We’d love to hear it! Please open an issue with:
- A clear and concise description of the feature.
- Any specific use cases or examples of why this feature would be helpful.
Once you've made changes, please submit a PR:
-
Test your changes locally to ensure everything works.
-
Push your branch to your fork:
git push origin feature/my-new-feature
-
Open a Pull Request:
- Go to your fork on GitHub and click the "New pull request" button.
- Choose your branch and submit the PR to the
main
branch of KubeTidy. - Provide a clear and detailed description of your changes.
- Code Style: Follow PowerShell best practices and conventions.
- Comments: Use comments to explain why code changes were made, especially for complex logic.
- Commit Messages: Use meaningful commit messages (e.g., "Fixed issue with cluster cleanup logic" rather than "Fixed bug").
All contributions will be reviewed by maintainers. Please be patient, as it might take some time depending on the workload. Reviews may involve:
- Suggesting code improvements.
- Requesting more information on the changes.
- Testing changes locally before merging.
Please follow our Code of Conduct to ensure a welcoming and respectful environment for all contributors.
Thanks again for contributing to KubeTidy! We appreciate your effort in helping to improve the project. 🎉