ReleaseData generation update
Updated the way the ReleaseData
file is generated for ATLAS projects according to the discussion on ATLINFR-1570. But the update is not final like this yet. I expect that some of the fields in ReleaseData will have to be renamed to avoid confusion.
The CMake configuration produces a file like the following with this code:
[release_metadata]
release:22.0.0
nightly name:ReleaseDataUpdate-20170307
project name:AthenaExternals
nightly release:98b1721
date:2017-03-07T1755
compiler:GNU-6.2.0
I'm not absolutely sure about a few things though:
- Should we update the names of the "nightly name" and "nightly release" fields to reflect more what we're using them now for? I absolutely believe that
athena.py
should still print these values as it did for "nightly name" and "nightly release", but these names may be misleading a few years from now. - Unfortunately I can't attach Karolos easily to the MR, so I guess I'll pull him into the JIRA ticket. It would be good to discuss whether the git commands that I took from a Google search are okay for us or not. (I did check that they fail gracefully when the source directory is not a git repository.)
In general all feedback is welcome.