late-librarian-54499
08/04/2023, 11:27 PMtag_regex
which is great as it allows you to have a custom tagging scheme. However you’re unable to supply a value for git_describe_command
which makes it unable to be directly used if you want said version to be generated only for tags with a specific prefix/suffix (IE 1 repo, multiple versions).
For example the repository might have 2 projects. Each wanting to control their own versions using scm tagging. However with the current setup they would need to share a version because the setuptools_scm default is to use git describe --dirty --tags --long --match '*[0-9]*'
to get the version to parse with tag_regex
.
right now i have a custom plugin based off vcs_version that allows me to specify this. But was wondering if this was something that the larger pants project would want/desire? The change is relatively simple (example patch here) but i also know the vcs_version plugin is intentionally limited so this kind of customization might not be desired.late-librarian-54499
08/14/2023, 9:15 PMhappy-kitchen-89482
08/14/2023, 10:30 PMhappy-kitchen-89482
08/14/2023, 10:33 PMlate-librarian-54499
08/15/2023, 12:01 AM