[Cdash] source repository URL shown in CDASH

Julien Jomier julien.jomier at kitware.com
Tue Jan 18 13:35:12 UTC 2011


Hi Girish,

The current implementation adds '/browser/'. And there is no easy way to 
fix this without creating a new type. You can hack the CDash code in the 
cdash/common.php search for the get_trac_diff_url() function and remove 
the '/browser' part.

If you can fill out a feature request at http://www.cdash.org/Bug that 
would be great.

Thanks for the report,
Julien

On 18/01/2011 13:39, girish hilage wrote:
> Hi Julien,
> I am using,
> CDASH version - 1.6.4
> Viewer type - Trac
> Regards,
> Girish
>
> --- On *Tue, 1/18/11, Julien Jomier /<julien.jomier at kitware.com>/* wrote:
>
>
>     From: Julien Jomier <julien.jomier at kitware.com>
>     Subject: Re: [Cdash] source repository URL shown in CDASH
>     To: "girish hilage" <girish_hilage at yahoo.com>
>     Cc: cdash at public.kitware.com
>     Date: Tuesday, January 18, 2011, 9:35 AM
>
>     Hi Girish,
>
>     Which version of CDash are you using? And which repository viewer did
>     you select?
>
>     Julien
>
>     On 18/01/2011 10:27, girish hilage wrote:
>      > Hi,
>      >
>      > I have a query regarding the source file URLs shown whenever
>     there are
>      > some build errors in the build submitted to CDASH.
>      >
>      > For source files containing compile time errors there is a URL
>     shown in
>      > CDASH as follows :
>      >
>      > CVS/SVN http://<repository_address>/browser/path/to/source/file
>      >
>      > but my actual should URL also contain "trunk/" after the word
>     "browser/"
>      > in the URL.
>      >
>      > To achieve this I am giving following value in :
>      > ADMINISTRATION-->Project-->Repository
>      > Repository ViewerURL: <repository_address>/browser/trunk/
>      >
>      > But, this gives me final URL in CDASH as :
>      >
>      > CVS/SVN
>      > http://<repository_address>/browser/trunk/browser/path/to/source/file
>      > ^^^^^^^^
>      >
>      > i.e. word "browser/" is again appended to whatever URL I have
>     given in
>      > "Repository ViewerURL".
>      >
>      > Can I prevent word "browser/" from getting appended to the URL I
>     am giving?
>      >
>      > Regards,
>      > Girish
>      >
>      >
>      >
>      >
>      > _______________________________________________
>      > Cdash mailing list
>      > Cdash at public.kitware.com
>     <http://us.mc576.mail.yahoo.com/mc/compose?to=Cdash@public.kitware.com>
>      > http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
>
>



More information about the CDash mailing list