🤝 Contributing to KubeTidy
🎉 Thank you for considering contributing to KubeTidy! 🎉
We welcome all contributions, whether it’s reporting bugs, suggesting improvements, updating documentation, or submitting code. This guide will help you contribute effectively.
🚀 Getting Started
🔹 Fork & Clone the Repository
- Fork the repository by clicking the Fork button at the top-right of this page.
- Clone your forked repository:
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/KubeDeckio/KubeTidy.git
🔹 Set Up Your Development Environment
Before contributing, install the required dependencies:
✅ PowerShell 7 or higher.
✅ Install the powershell-yaml module:
Install-Module -Name powershell-yaml -Scope CurrentUser
🛠️ How to Contribute
📌 Reporting Bugs
If you find a bug, please open an issue with:
- The environment you’re using (OS, PowerShell version).
- Steps to reproduce the issue.
- Expected behavior vs actual behavior.
📌 Suggesting Features
Have an idea to improve KubeTidy? We’d love to hear it! Open an issue and provide:
- A clear description of the feature.
- Specific use cases where it would be helpful.
📌 Creating a Branch
Always create a new branch before making changes:
git checkout -b feature/my-new-feature
📌 Submitting a Pull Request (PR)
- Test your changes to ensure they work as expected.
- 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 “New pull request”.
- Choose your branch and submit the PR to the
main
branch of KubeTidy. - Provide a clear and detailed description of your changes.
📌 Code Standards
✅ Follow PowerShell best practices.
✅ Use meaningful commit messages (e.g., “Fix issue with cluster cleanup logic” instead of “Fix bug”).
✅ Comment your code to explain complex logic.
🔍 Pull Request Review Process
All contributions will be reviewed by maintainers. Reviews may involve:
- Suggesting improvements.
- Requesting more information.
- Testing changes before merging.
Please be patient, as review times may vary.
📜 Code of Conduct
We follow a Code of Conduct to ensure a respectful and inclusive community.
🎉 Thank You!
Your contributions help make KubeTidy better! We appreciate your support in improving the project. 🚀