mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
* upgrade go version to 1.25.1 * introduce doc for steps for creating a new pkg manager * Update docs/package-manager.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com> * Update docs/package-manager.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com> * Update docs/package-manager.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com> --------- Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1.3 KiB
1.3 KiB
Contributing Guide
You can contribute to pmg and help make it better. Apart from bug fixes,
features, we particularly value contributions in the form of:
- Documentation improvements
- Bug reports
- Using
pmgin your projects and providing feedback
How to contribute
- Fork the repository
- Add your changes
- Submit a pull request
How to report a bug
Create a new issue and add the label bug.
How to suggest a new feature
Create a new issue and add the label enhancement.
Development workflow
When contributing changes to repository, follow these steps:
- Ensure tests are passing
- Ensure you write test cases for new code
Signed-off-byline is required in commit message (use-sflag while committing)
Developer Setup
Requirements
- Go 1.25+
- Git
- Make
Getting Started
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/pmg.git
cd pmg
- Install dependencies:
go mod tidy
- Build the project:
make all
Development Workflow
- Create a branch:
git checkout -b feature/your-feature
- Make your changes and test:
make test
- Commit with sign-off:
git commit -s -m "feat: add new feature"
- Push and create PR:
git push origin feature/your-feature