Thank you for your interest in contributing to Samba Manager! We welcome contributions from everyone.
To maintain code quality and a smooth workflow, please follow these guidelines.
By participating in this project, you agree to maintain a respectful and inclusive environment for everyone.
- Check Existing Issues: Before creating a new issue, please check if it already exists.
- Use the Bug Report Template: When creating an issue, provide:
- A clear and descriptive title
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- Screenshots if applicable
- Your environment (OS, browser, etc.)
- Check Existing Suggestions: Ensure your suggestion hasn't already been proposed.
- Provide Details: Clearly describe the enhancement, including:
- Why it would be useful
- How it should work
- Any alternatives you've considered
- Fork the Repository: Create your own fork of the project.
- Create a Branch: Make your changes in a new branch.
- Follow Code Style: Maintain the existing code style.
- Write Tests: Add tests for new features or bug fixes.
- Update Documentation: Update relevant documentation.
- Submit a Pull Request: Include a clear description of the changes and any related issues.
Follow these steps to set up the project on your local machine:
-
Fork the repository and Clone it to your system.
-
Create and activate a virtual environment:
git clone https://github.com/lyarinet/samba-manager.git cd samba-manager -
Set Up Development Environment:
python3 -m venv venv source venv/bin/activate pip install -r requirements.txt -
Run in Development Mode:
python run.py --dev
- Follow PEP 8 for Python code
- Use consistent indentation (4 spaces)
- Keep lines under 100 characters when possible
- Write clear, descriptive comments
- Add tests for new features or bug fixes
- Ensure all tests pass before submitting a pull request
- Run tests with:
python -m unittest discover
- Update the README.md file with new features or changes
- Document code using docstrings
- Update any relevant documentation in the project
- A maintainer will review your pull request
- Changes may be requested before merging
- Once approved, your pull request will be merged
By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.
Thank you for contributing to Samba Manager!