Notes |
|
(0034477)
|
Brad King
|
2013-11-19 08:28
|
|
This is intentional. The idea of a nightly start time cannot be implemented client-side for Git. There is no way for a client to know where a particular remote branch pointed as of the nightly start time. This is the nature of DVCS. One could create a commit prior to the nightly start time but not push it until after the nightly start time and then test clients would still not get a consistent version.
CMake itself solves this problem with a dedicated server-side branch. We use a scheduled task that runs exactly at the nightly start time to update a server-side branch (e.g. nightly-master) to wherever the corresponding branch (e.g. master) is as of that time. Then CTest clients follow the "nightly" branch to get a consistent version. |
|
|
(0038489)
|
trsystran
|
2015-04-13 08:59
|
|
What about trying to over the case where all nightly builds start approximately at the same time and during that time the referenced branch name is not moved around? This is a fairly standard case, and it behaves like SVN: in this case we *can* define a nightly time globally.
If the prerequisites are fulfilled, then it will work. Otherwise it won't work as expected. (It currently never works as expected...)
We could add an option for the CTest user to set when he can guarantee the prerequisites.
This won't break any existing setup, and would improve GIT support with this new option. |
|
|
(0038491)
|
Brad King
|
2015-04-13 09:20
|
|
|
|
(0038492)
|
trsystran
|
2015-04-13 09:27
|
|
My scenario allows commits being added to a branch during the ctest start period, it just requires the branch to go forward, which may be a common case.
But indeed this adds complexity for a thin benefit in covered use-cases.
Now that it's documented it's OK. I didn't saw this. |
|
|
(0039765)
|
Robert Maynard
|
2015-11-02 09:13
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|