MantisBT - CDash
View Issue Details
0007266CDashpublic2008-07-01 10:012008-07-29 15:16
F Wheeler 
Julien Jomier 
normalfeaturealways
closedfixed 
1.0.4 
1.2 
0007266: seeking ViewVC support in CDash
(CDash already somehow supports ViewVC as seen on http://www.cdash.org/CDash/index.php?project=vxl [^] )

Internally, we have a GForge installation as an "internal
SourceForge". The GForge CVS web browser says is "Powered by ViewVC
1.0.0" (http://viewvc.tigris.org/ [^]). I am told that GForge uses a
vanilla ViewVC, without local customizations. For a project named
"vxl" (not to be confused with the real VXL on SourceForge) it uses
URLS like these shown below to examine the file
/gevxl/share/CMakeLists.txt in the CVS tree.

Log of /gevxl/share/CMakeLists.txt
https://openge.ge.com/gf/project/vxl/scmcvs/&r1=1.26&r2=1.27/?action=browse&path=/gevxl/share/CMakeLists.txt&view=log [^]

View of /gevxl/share/CMakeLists.txt
https://openge.ge.com/gf/project/vxl/scmcvs/&r1=1.26&r2=1.27/?action=browse&path=/gevxl/share/CMakeLists.txt&revision=1.103&view=markup [^]

Diff of /gevxl/share/CMakeLists.txt
https://openge.ge.com/gf/project/vxl/scmcvs/&r1=1.26&r2=1.27/?action=browse&path=/gevxl/share/CMakeLists.txt&r1=1.102&r2=1.103 [^]

I cannot get CDash to create URLs like this in the list of updated
files. I'm using "CVS/SVN Viewer Type:" ViewCVS, experimenting with
"CVS/SVN ViewerURL:", and looking at the common.php. I think it just
cannot be done.

Can ViewVC be a new web-viewer interface option in CDash?

If CDash gets a ViewVC option I'd be happy to test and then bug fix as
needed off of the svn trunk. I run a cdash dashboard off the trunk version.
No tags attached.
Issue History
2008-07-01 10:01F WheelerNew Issue
2008-07-01 10:04F WheelerNote Added: 0012593
2008-07-01 10:06Julien JomierStatusnew => assigned
2008-07-01 10:06Julien JomierAssigned To => Julien Jomier
2008-07-29 13:45Julien JomierNote Added: 0012863
2008-07-29 13:50F WheelerNote Added: 0012864
2008-07-29 14:30Julien JomierNote Added: 0012868
2008-07-29 15:10F WheelerNote Added: 0012871
2008-07-29 15:16Julien JomierStatusassigned => closed
2008-07-29 15:16Julien JomierNote Added: 0012872
2008-07-29 15:16Julien JomierResolutionopen => fixed
2008-07-29 15:16Julien JomierFixed in Version => 1.2

Notes
(0012593)
F Wheeler   
2008-07-01 10:04   
P.S. Thanks for this great tool.
(0012863)
Julien Jomier   
2008-07-29 13:45   
Hi Fred. Sorry for the late reply. I'm working on this issue now. Could you tell me if this would work:

https://openge.ge.com/gf/project/vxl/scmcvs/?action=browse&path=/CMakeLists.txt&view=log [^]

The reason is that in some cases we don't have the revision number so I'm wondering if we need the extra '/&r1=1.26&r2=1.27/'

Let me know.
(0012864)
F Wheeler   
2008-07-29 13:50   
Yes, that works. That url brings you to "Log of /CMakeLists.txt"

Fred
(0012868)
Julien Jomier   
2008-07-29 14:30   
I have added the feature in the current CDash SVN. If you can test it that would be great. If you are using a previous version of CDash, I recommend to backup the database (we have made a lot of modifications to it). Let me know if it works.
(0012871)
F Wheeler   
2008-07-29 15:10   
I just "Updated to revision 1034." and hit the "Upgrade CDash" button, and this seems to work fine. I'm using the new ViewVC option with CVS/SVN ViewerURL: https://openge.ge.com/gf/project/vxl/scmcvs [^] The links on the CDash Update pages to ViewVC diffs and to revision 1.1 (for new files) work, and the links on the CDash error/warning page to ViewVC CVS Log pages work. Many thanks.
(0012872)
Julien Jomier   
2008-07-29 15:16   
Great. Thanks for the report. Feel free to reopen if you find any issues.