|
Boost Testing : |
Subject: Re: [Boost-testing] revisions and timestamps
From: Daniel James (dnljms_at_[hidden])
Date: 2014-01-21 08:51:11
On 21 January 2014 03:11, Beman Dawes <bdawes_at_[hidden]> wrote:
>> > We can get the committer date for a revision using:
>> >
>> > git show --pretty="format:%cd" --no-patch HEAD
>> >
>>
>>
>> General agreement on this? Who is knowledgeable enough to make your
>> proposed changes to the scripts?
>
>
> You are!
>
> A time-stamp (in addition to the SHA) would be very useful.
>
> You probably don't need to change any of the python or shell scripts. Just
> change the reporting program or programs. They are straightforward C++. See
> boost/tools/regression/src/report for the source code. Hopefully it is a
> very localized change. Look at the log for a recent commit where the
> revision was changed to report the SHA for the exact location where code
> needs to be inserted. See the report generation docs for how to build and
> run reports.
Does the reporting program have access to a git repo? If not then this
information needs to be stored earlier in the process which makes it
trickier. I'm not set up to run regression tests so I won't be able to
implement this. Maybe if I wrote a python function to get the date
someone could incorporate it into the script output?