Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installation | ||||||||
Line: 36 to 36 | ||||||||
you delete the already existing database for CDash | ||||||||
Added: | ||||||||
> > |
Changes needed to setup CDash 1.6.4 with trac | |||||||
Changed: | ||||||||
< < | ||||||||
> > |
To use our repository setup together with trac 0.10.3 one has to change cdash/common.php.
This has to be done more flexible because now cbmroot is hardcoded. So we have to get the
project from somewhere.
Maybe this is not needed with the newest version of trac.
function get_trac_diff_url($projecturl, $directory, $file, $revision) { $filename = $file; if($directory != "") { $filename = $directory."/".$file; } if($revision != '') { $diff_url = $projecturl."/changeset/".$revision."/".$filename; } else // no revision { // $diff_url = $projecturl."/browser/cbmroot/trunk/".$filename; $diff_url = $projecturl."/browser/".$filename; } return make_cdash_url($diff_url); } function get_trac_revision_url($projecturl, $revision) { // $revision_url = $projecturl."/changeset/".$revision; $revision_url = $projecturl."/changeset/".$revision."/cbmroot"; return make_cdash_url($revision_url); } | |||||||
-- FlorianUhlig - 18 Apr 2008 |