remicmacs / revolver

Revolutionary versioning scheme

Home Page:http://rodolpheh.pythonanywhere.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Revolver

Revolver (short for Revolution Versioning) is a versioning scheme inspired by CalDev. It uses a date and time as versioning numbers but it uses the French Republican Calendar (also called the revolutionary calendar in France) for the date with the Holocene Calendar for the year, and the Decimal time for the time.

Scheme

Revolver introduces a simple versioning convention :

YYYYY[.MM[.DD[-HMM]]]

The format allows flexible release cycles by omitting one or more part. For example, if you plan to release hourly, you may opt for the full YYYYY.MM.DD-HMM but if you plan to release monthy, you could opt for the much simpler YYYYY.MM.

Can I release quarterly and add the quarter in the version number ?

What are you ? A multi-million euros company ? No, this versioning scheme does not plan to implement quarters in the version number.

API

now

Returns a version number corresponding to the current time in the format YYYYY.MM.DD-HMM.

from_iso

Takes a string in the format of ISO 8601. Returns a version number in the format YYYYY.MM.DD-HMM.

to_iso

Takes a string in the format of RevolVer. Returns the date in the ISO 8601 format.

Credits

RevolVer was created with 🤪 by rodolpheh - GitHub

About

Revolutionary versioning scheme

http://rodolpheh.pythonanywhere.com/


Languages

Language:CSS 38.3%Language:Python 35.3%Language:HTML 25.3%Language:Dockerfile 1.1%