gitver
gitver is a simple script that generates a string to describe the version status of a git repository.
Format
gitver presumes that the git repository is using tags to track version releases and that those tags adhere to the semantic versioning format of vMAJOR.MINOR.PATCH.
It will generate a string that includes the git project name, branch name, tagged version number, and status of the working copy.
Clean working copy example
gitver_master_v0.0.1
Some number n commits beyond a tagged version
gitver_master_v0.0.1-2-98a7gb37 Where the number of commits and the latest commit hash are appended
Local
If the working copy is out of sync with the origin remote, then -local will be appended to the end of the string
Dirty
If the working copy has changes that have not been committed or files that have not been added to version control, then -dirty will be appended to the end of the string.
Metadata
Release files for whoi-gitver 0.0.3
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 |
|---|---|---|---|---|
| whoi_gitver-0.0.3.tar.gz | 5.4 kB | Without provenance | Details for whoi_gitver-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whoi_gitver-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for whoi_gitver-0.0.3-py3-none-any.whl |
Total release size: 11.2 kB
Release files / whoi_gitver-0.0.3.tar.gz
| Download URL | whoi_gitver-0.0.3.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b81e05a64e3485d83378ee54d4d5c5e506765f40522adef748ccc8b9d5253d3
|
|
BLAKE2b-256 checksum How to use checksums |
c475d4049007d6df1857a4ee4ce23c49094fd9e2ceed6d1e84a85976ae07c21e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Release files / whoi_gitver-0.0.3-py3-none-any.whl
| Download URL | whoi_gitver-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
867d7e066e4fba04e7a9fcac247895856b683efc76d8c4682c3652c20e70f9ea
|
|
BLAKE2b-256 checksum How to use checksums |
9923b8ea9333492b5efc760f6545ea5b845e253812996042af7b369a577763c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Security for whoi-gitver 0.0.3
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.