Skip to main content

Git commit date based version generator

Project description

DateVersioning

Python package

The What

This is a python module to generate a git commit date based version. The first two digits represent the year, as in 20 means the year 2020 and 21 the year 2021 and so on. The middle three digits represent the day of the year ranging from 001 to 366. The last six digits represent the time of date in 24 hour format (hhmmss).

The Why

For continuous release software, it is more user friendly to be able to read out from the version how old it is. So the user can make a decision to check up on updates based on that.

The How

Install from PyPi:

pip install DateVersioning

Usage:

In a directory containing a git repository

python -m DateVersioning

Specify a location of a git repository

python -m DateVersioning directory="/path/to/repo"

The Who

Einar Arnason
https://github.com/EinarArnason/
https://www.linkedin.com/in/einararnason/

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

DateVersioning-20.292.114220.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

DateVersioning-20.292.114220-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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