setuptools_scm
setuptools_scm copied to clipboard
Missing documentation for calver
I found out that this project supports calver (e.g. calver-by-date) but these options are not documented
Hi buddies, any quick start for how to use it?
Starting point is to use one of the Calver named Version shemes as per the readme
The documentation rework in #880 will eventually provide better examples
I tried to change the version_scheme to calver-by-date, but seems it will still use the git tag when the repo is clean. So maybe the problem is what is the best practice to use calver. It might also including how to manage git tags or even the migration from normal semver to calver.
Current behavior is that on exact tags The Tag wins
I'm either blind or the docs are still missing for this?
Basically I wonder if/how can I achieve this:
vYYYY.MM.<sequence>[.devX]
@jziolkowski this would be something called "calver-by-month" its currently not implemented
https://github.com/pypa/setuptools-scm/blob/d665621e25f091c0de5cd35b3d57cc00bd26e260/src/setuptools_scm/version.py#L323-L413 implements it for `vYYYY.MM.DD.{sequence}[.devX]
im open to adoption it to support calver-by-month but i cant implement it myself soon