haddock3
haddock3 copied to clipboard
Add version number in the log file
It would be good to print out in the log file at the start the version number of the used haddock3 installation Will help in supporting users.
hi, I think the version number is already there:
##############################################
# #
# HADDOCK 3 #
# #
##############################################
Starting HADDOCK 3.0.0 on 2023-08-29 11:31:00
As we are doing continuous integration with (+-) daily merges, should we somehow add the full last merge git SHA (or just the first 6 characters) next to the version ? Because for now, the 3.0.0 is kind of hard coded, and never automatically updated.
that would be nice..even better would be to have the commit ID..but I honestly don't know whether it's doable
Could use https://pypi.org/project/setuptools-scm/ to determine the version from git (tags).
Indeed !
an other branch autamatic-patch-update2 is using this setuptools-scm approach.
But it generate natsy patch identifiers !
Closing this issue as stable versions are coming soon, and we will point to specific tags!