[cmake-developers] gitweb urls ?

Alexander Neundorf neundorf at kde.org
Thu Nov 4 17:21:32 EDT 2010


Hi,

I'm currently playing around with ctest and git/gitweb.

For our KDE nightly scripts with cvs and svn I first downloaded just the 
CTestConfig.cmake file and then continued.

Since downloading single files is not possible with git AFAIK, I thought I'd 
try gitweb.
Looks good so far, I just have a question.
This is the gitweb URL for CTestConfig.cmake from automoc from KDE's git 
server:
http://gitweb.kde.org/automoc.git/blob_plain/HEAD:/CTestConfig.cmake

And this is thew URL for CTestConfig.cmake from cmake:
http://cmake.org/gitweb?p=cmake.git;a=blob_plain;f=CTestConfig.cmake;hb=HEAD

gitweb from KDE is 1.7.3.2, gitweb from cmake is 1.7.0, so not too far away 
from each other.

Can I use the same syntax for both ? 
I didn't have success so far, i.e. 
http://gitweb.kde.org/gitweb?p=automoc;a=blob_plain;f=CTestConfig.cmake;hb=HEAD
resulted in an error page "No such project"

It would be nice if I could "compute" the gitweb address directly from the 
clone address...

Alex



More information about the cmake-developers mailing list