Thank you for considering contributing to our project! Your help is greatly appreciated. This document provides guidelines for contributing to the development and maintenance of the module.
To get started with contributing, please ensure you have the following setup:
- Install Git
- Install PowerShell 7
- Fork the repository on GitHub and clone it to your local machine.
git clone https://github.com/zbalkan/slmgr-ps.git
cd slmgr-psIf you encounter any bugs, please open an issue on GitHub with the following information:
- A clear and descriptive title
- A detailed description of the issue
- Steps to reproduce the issue
- Expected and actual results
- Any relevant logs or error messages
We welcome feature requests and suggestions for improvements. Please open an issue on GitHub with the following details:
- A clear and descriptive title
- A detailed description of the enhancement or feature request
- Any relevant use cases or examples
When you're ready to contribute code, follow these steps:
- Fork the repository and clone it to your local machine.
- Create a new branch for your feature or bugfix.
git checkout -b feature/your-feature-name- Implement your changes, ensuring adherence to the coding guidelines.
- Test your changes thoroughly.
- Commit your changes with a descriptive commit message.
- Push your branch to your forked repository.
git push origin feature/your-feature-name- Open a pull request against the main repository.
We follow the official Microsoft PowerShell style guide. Key points include:
- Use camelCase for variable names.
- Use PascalCase for function and cmdlet names.
- Use 4 spaces for indentation.
- Ensure all scripts are UTF-8 encoded.
For detailed guidelines, refer to the PowerShell Best Practices and Style Guide.
- Use the present tense ("Add feature" not "Added feature").
- Capitalize the first letter of the subject line.
- Keep the subject line under 50 characters.
- Include a detailed description of the changes in the body of the message if necessary.
By following these guidelines, you'll help ensure that the project remains consistent and maintainable. Thank you for your contributions!