haddock3 icon indicating copy to clipboard operation
haddock3 copied to clipboard

Add version number in the log file

Open amjjbonvin opened this issue 2 years ago • 5 comments
trafficstars

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.

amjjbonvin avatar Aug 10 '23 17:08 amjjbonvin

hi, I think the version number is already there:

##############################################
#                                            #
#                 HADDOCK 3                  #
#                                            #
##############################################

Starting HADDOCK 3.0.0 on 2023-08-29 11:31:00

mgiulini avatar Aug 29 '23 09:08 mgiulini

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.

VGPReys avatar Sep 12 '23 06:09 VGPReys

that would be nice..even better would be to have the commit ID..but I honestly don't know whether it's doable

mgiulini avatar Sep 12 '23 14:09 mgiulini

Could use https://pypi.org/project/setuptools-scm/ to determine the version from git (tags).

sverhoeven avatar Sep 14 '23 13:09 sverhoeven

Indeed ! an other branch autamatic-patch-update2 is using this setuptools-scm approach. But it generate natsy patch identifiers !

VGPReys avatar Sep 14 '23 14:09 VGPReys

Closing this issue as stable versions are coming soon, and we will point to specific tags!

VGPReys avatar Sep 20 '24 11:09 VGPReys