[cmake-developers] gitweb urls ?

David Cole david.cole at kitware.com
Thu Nov 4 17:29:16 EDT 2010


Try "p=automoc.git" not just "p=automoc"

Works for me:
http://gitweb.kde.org/gitweb?p=automoc.git;a=blob_plain;f=CTestConfig.cmake;hb=HEAD


On Thu, Nov 4, 2010 at 5:21 PM, Alexander Neundorf <neundorf at kde.org> wrote:

> 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
> _______________________________________________
> cmake-developers mailing list
> cmake-developers at cmake.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20101104/cb188753/attachment.html>


More information about the cmake-developers mailing list