Skip to content
SakibpediaPublic

About

Developer workflow utility

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

dcoshield

CI Python License

Verify that commits carry a DCO sign-off matching their author.

Projects like OpenFGA require DCO. dcoshield checks local commits before you push, so a PR does not arrive with a bot comment saying the CLA/DCO is not signed.

Install

pip install git+https://github.com/Sakibpedia/dcoshield.git

Usage

dcoshield                       # last 5 commits
dcoshield HEAD~20..HEAD         # a range
dcoshield --repo ../openfga HEAD
dcoshield --json

Exit code is 1 when any commit lacks a matching Signed-off-by: line, 0 when all are signed, 2 on a git error. For commits that need fixing, dcoshield prints the exact git commit --amend --signoff or git rebase --exec command.

It does not rewrite history by itself — amending commits is left to you.

Development

pip install -e ".[dev]"
python -m pytest
python -m ruff check src tests

MIT licensed. Built by S M Nazmuz Sakib.

About

Developer workflow utility

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages