Skip to content
New issue

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

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

Already on GitHub? # to your account

Restore GetCVS() function in StTriggerSimuMaker #322

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

genevb
Copy link
Contributor

@genevb genevb commented Mar 10, 2022

While the CVS tags don't work any longer with the code now sitting in git, the date and time of compilation are still useful pieces of information from this function that are displayed in the log files. Otherwise the date and time of StMaker's compilation are shown for this maker from the inherited function. Additionally, the log files are polluted by a warning message if GetCVS() is not overloaded from StMaker.

Copy link
Member

@plexoos plexoos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is far more common to identify libraries by the version of the source code rather than the time when they are built. I don't see much value in this but I guess it does not hurt either.
It is worth noting that __DATE__ and __TIME__ are updated only when the file is recompiled. If the maker relies on another source file its functionality can still change without a proper update in GetCVS()

@genevb
Copy link
Contributor Author

genevb commented Mar 10, 2022

@plexoos , I agree that the date and time of compilation are of quite limited usefulness, but there are (rare) occasions when looking through the nightly test log files it helps us spot a problem. As you noted, other information is generally more relevant; this is just additional information.

-Gene

@genevb genevb merged commit df11877 into star-bnl:main Mar 10, 2022
@genevb genevb deleted the trigsim branch March 10, 2022 16:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants