Contributing to SecureChain
We welcome contributions from the community! Whether you’re fixing bugs, improving documentation, or developing new features, your help is appreciated. Also, we apreciate reports about inconsistences in our graph and vulnerability datasets.
Repositories
This guide applies to all repositories under the securechaindev organization. Read the README.md of the repository you’re contributing to.
Check open issues or create one if you’re proposing something new.
How to Contribute
1. Fork & Clone
Click the Fork button on GitHub and clone your copy:
git clone https://github.com/your-username/tool-name.git
2. Create a Branch
Use a descriptive name:
git checkout -b fix/missing-dependency-warning
3. Make Changes
Focus on clarity and modularity. Each repository have a deployment guide in README.md to check your changes, but typically is running the command:
docker compose -f dev/docker-compose.yml up --build
4. Lint
The repositories support using ruff following PEP8 with command:
ruff check app --fix
5. Run Tests
If the repository have a test folder you can install the test requirements with command:
pip install -r tests/dev-requirement.txt
Then, you can run the tests with command
pytest tests/
6. Commit Changes
Follow conventional commits when possible:
git commit -m "fix: Warn on missing indirect imports"
7. Push & Open Pull Request
Once you have linted and tested your code you can push your changes:
git push origin fix/missing-dependency-warning
Then go to GitHub and open a pull request from your branch.
Communication
Ask questions via GitHub Discussions or issues.
Tag a maintainer when needed.
Be kind, constructive, and respectful to all contributors.
License
By contributing, you agree that your contributions will be licensed under the same license as the project (GNU General Public License v3.0).
Thank You!
Your contributions help improve the security of the global software supply chain. We’re glad to have you with us.