Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version number in the log file #679

Open
amjjbonvin opened this issue Aug 10, 2023 · 5 comments
Open

Add version number in the log file #679

amjjbonvin opened this issue Aug 10, 2023 · 5 comments
Assignees
Labels
enhancement Enhancing an existing feature of adding a new one

Comments

@amjjbonvin
Copy link
Member

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 amjjbonvin added enhancement Enhancing an existing feature of adding a new one feature New feature request labels Aug 10, 2023
@mgiulini
Copy link
Contributor

hi, I think the version number is already there:

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

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

@VGPReys
Copy link
Contributor

VGPReys commented Sep 12, 2023

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.

@mgiulini
Copy link
Contributor

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

@sverhoeven
Copy link
Contributor

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

@VGPReys
Copy link
Contributor

VGPReys commented Sep 14, 2023

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

@rvhonorato rvhonorato removed the feature New feature request label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancing an existing feature of adding a new one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants