(0015389)
|
Brad King
|
2009-02-25 14:47
|
|
I've made progress on the CMake side of this. The following changes are the main commit which rewrites the CTest Update handling. It now uses a factorized implementation that is more easily extended to other VCS tools.
ENH: Rewrite CTest Update implementation
/cvsroot/CMake/CMake/Source/CTest/cmCTestCVS.cxx,v <-- Source/CTest/cmCTestCVS.cxx
new revision: 1.2; previous revision: 1.1
/cvsroot/CMake/CMake/Source/CTest/cmCTestCVS.h,v <-- Source/CTest/cmCTestCVS.h
new revision: 1.2; previous revision: 1.1
/cvsroot/CMake/CMake/Source/CTest/cmCTestSVN.cxx,v <-- Source/CTest/cmCTestSVN.cxx
new revision: 1.5; previous revision: 1.4
/cvsroot/CMake/CMake/Source/CTest/cmCTestSVN.h,v <-- Source/CTest/cmCTestSVN.h
new revision: 1.5; previous revision: 1.4
/cvsroot/CMake/CMake/Source/CTest/cmCTestUpdateHandler.cxx,v <-- Source/CTest/cmCTestUpdateHandler.cxx
new revision: 1.62; previous revision: 1.61
/cvsroot/CMake/CMake/Source/CTest/cmCTestVC.cxx,v <-- Source/CTest/cmCTestVC.cxx
new revision: 1.7; previous revision: 1.6
/cvsroot/CMake/CMake/Source/CTest/cmCTestVC.h,v <-- Source/CTest/cmCTestVC.h
new revision: 1.6; previous revision: 1.5 |
|
(0018945)
|
Brad King
|
2009-12-18 08:21
|
|
The "Nightly Start Time" is not well-defined for distributed version control tools. There is discussion of this problem in some of the tool-specific children of this bug. DVCS tools allow so much flexibility that there is no "right" way to define and publish a nightly version. Our solution on the CTest side is to let individual project maintainers choose how to publish a nightly version that fits their workflow (IOW, no CTest-mandated approach).
The important part is that submissions to CDash indicate exactly what version of the project was tested. Previously this was determined for CVS (which versions files, not trees) by the nightly start time for Nightly builds, and left completely out for Experimental builds (other than file-wise update info). I've made changes to CTest to submit whole-tree revision information in Update.xml for all tools except CVS. This can be used by CDash to link to web viewers and/or display the exact version on the updates page.
Submit global tree revision in Update.xml
/cvsroot/CMake/CMake/Source/CTest/cmCTestGlobalVC.cxx,v <-- Source/CTest/cmCTestGlobalVC.cxx
new revision: 1.3; previous revision: 1.2
/cvsroot/CMake/CMake/Source/CTest/cmCTestGlobalVC.h,v <-- Source/CTest/cmCTestGlobalVC.h
new revision: 1.3; previous revision: 1.2
/cvsroot/CMake/CMake/Tests/CTestUpdateCVS.cmake.in,v <-- Tests/CTestUpdateCVS.cmake.in
new revision: 1.7; previous revision: 1.6
/cvsroot/CMake/CMake/Tests/CTestUpdateCommon.cmake,v <-- Tests/CTestUpdateCommon.cmake
new revision: 1.7; previous revision: 1.6
Submit Subversion directory path in Update.xml
/cvsroot/CMake/CMake/Source/CTest/cmCTestSVN.cxx,v <-- Source/CTest/cmCTestSVN.cxx
new revision: 1.10; previous revision: 1.9
/cvsroot/CMake/CMake/Source/CTest/cmCTestSVN.h,v <-- Source/CTest/cmCTestSVN.h
new revision: 1.8; previous revision: 1.7 |
|