Skip to main content

whoi_gitver

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whoi_gitver-0.0.3.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

whoi_gitver-0.0.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file whoi_gitver-0.0.3.tar.gz.

File metadata

  • Download URL: whoi_gitver-0.0.3.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for whoi_gitver-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2b81e05a64e3485d83378ee54d4d5c5e506765f40522adef748ccc8b9d5253d3
MD5 1f04ea767258bcba33104d55eb3dc692
BLAKE2b-256 c475d4049007d6df1857a4ee4ce23c49094fd9e2ceed6d1e84a85976ae07c21e

See more details on using hashes here.

File details

Details for the file whoi_gitver-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: whoi_gitver-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for whoi_gitver-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 867d7e066e4fba04e7a9fcac247895856b683efc76d8c4682c3652c20e70f9ea
MD5 86efb1cbac1befd8f266c4381e654c6b
BLAKE2b-256 9923b8ea9333492b5efc760f6545ea5b845e253812996042af7b369a577763c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page