gitown
Keep your github CODEOWNERS file up to date.
Free software: MIT license
Documentation: https://gitown.readthedocs.io.
Features
Keep your github CODEOWNERS file up to date.
If a committer exceeds the ownership_threshold percentage in a file, then the committer is added to the CODEOWNERS file.
Default ownership_threshold is set to 25%. You can change it by passing --ownership_threshold
Can be used as a pre-commit hook.
You need to create a gitownrc file and have a mapping of github emails to github usernames. gitown reads that file and only those users are considered to be added to the CODEOWNERS file.*
It is best used along with pre-commit. You can use it along with pre-commit by adding the following hook in your .pre-commit-config.yaml file.
repos:
- repo: https://github.com/milin/gitown
rev: v0.1.0
hooks:
- id: gitown
args: ['--ownership_threshold=50', '--codeowners_filename=CODEOWNERS'] # Optional
You need to have precommit setup to use this hook.
Install Pre-commit and the commit-msg hook-type.
pip install pre-commit pre-commit install
History
0.1.0 (2020-11-07)
First release on PyPI.
Metadata
Release files for gitown 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gitown-0.1.1.tar.gz | 10.6 kB | Without provenance | Details for gitown-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gitown-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for gitown-0.1.1-py2.py3-none-any.whl |
Total release size: 15.8 kB
Release files / gitown-0.1.1.tar.gz
| Download URL | gitown-0.1.1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3099caa63462c17b31df1c9f77cea4121e514755bd8b35373c6a94eafc14df52
|
|
BLAKE2b-256 checksum How to use checksums |
475af84c7fb188d8a1fd6b28b13f5a5cdcbd80d2bcbddf0fb8b695c7ee4d5e9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.20.1 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.8
|
Release files / gitown-0.1.1-py2.py3-none-any.whl
| Download URL | gitown-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1c858895e2e08d1f5d8833f95059b1ba62e4db0f6482734f554cdc2d757aac99
|
|
BLAKE2b-256 checksum How to use checksums |
5038ffafd996f7f435ada8f267796ea2c95888064dc2623fa82e2ec3ed29dc31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.20.1 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.8
|
Security for gitown 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.