git-sign-off
Add and check git signatures to your repository to check conditions/tasks automatically.
Do you like automation?! So do we!
Check any command success through git sign-off calls in your git pre-commit hooks. On your CI, check that they are up-to-date with a simple git sign-off-check.
This way you can even ensure your fellow developers have their hooks installed and running correctly.
Installation
pip install git-sign-off
This installs programs git-sign-off and git-sign-off-check. Use them directly or through git commands.
Usage
Create certificate
Prove that a command ran successfully locally through:
git sign-off -c bash <run_my_local_sensitive_test.sh>
If the "challenge" command executes successfully a certificate is added to your commit. You will then see the message:
Added git-sign-off signature for task 'default'.
Check certificate
Useful in CI or for other developers:
git sign-off-check
If your certificate is up-to-date you will see:
Signature check for task 'default' passed.
If your certificate is not up-to-date you will have an error like:
SignatureError: Outdated signature found. Latest signature was generated after commit: 5c1537d3502b8bc17172b5a03a4531b010024754
Metadata
Release files for git-sign-off 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| git-sign-off-0.0.0.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_sign_off-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / git-sign-off-0.0.0.tar.gz
| Download URL | git-sign-off-0.0.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e078b6059765a6dad54f5f2aa8b42cffcb2f6eb05ccf3e34f4a67a52c86adef6
|
|
BLAKE2b-256 checksum How to use checksums |
16a8fa73668022a95a0b248f1e4bb35e88f677e8603ed21f3334554f8cec26da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.6
|
Release files / git_sign_off-0.0.0-py3-none-any.whl
| Download URL | git_sign_off-0.0.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea36d1b117bcdc6f705c16ed27f56c7ef2105a0b615d71f6162432cdf06776e8
|
|
BLAKE2b-256 checksum How to use checksums |
65e719860a5a892579edcb211d47499d59251c7561c4496b9cf8ee3a64a08246
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.6
|