"Patrick M. Slattery" <patrick.slatt...@ge.com> writes:

> So I've gotten OpenGrok setup and working nicely with our Perforce
> server but I have one minor issue still. I can't seem to get the user
> information provider suffix to append itself to the end of the URL.
> Here is the relevant section of my run.sh script:
>
> # OPTIONAL - Base URL of the user Information provider. Default: 
> "http://www.opensolaris.org/viewProfile.jspa?username=";
> # -B url
> USERID_URL="http://usbvtperforce.eng.med.ge.com/@md=d&cd=//&c=2ZV@/";
>
> # OPTIONAL - URL Suffix for the user Information provider. Default: ""
> # -X url:suffix
> USERID_URL_SUFFIX="?ac=17"
>
> # Which I then call like so:
> /usr/bin/java -jar ${PROGDIR}/opengrok.jar -B ${USERID_URL} -X 
> ${USERID_URL_SUFFIX}
> # (Please ignore the obvious missing parameters such as SRC_ROOT & DATA_ROOT)
>
> I end up with the following URL being generated:
> http://usbvtperforce.eng.med.ge.com/@md=d&cd=//&c=2ZV@/Patrick.Slattery
> Where I need to be getting the following URL generated:
> http://usbvtperforce.eng.med.ge.com/@md=d&cd=//&c=2ZV@/Patrick.Slattery?ac=17
>
> I'm sure it's something I'm doing wrong in the syntax I'm using but I've 
> tried a couple of different ways and I'm not getting any suffixes at all.
> Any ideas?

Hi Patrick,

Sorry for the late response. I was hoping someone who had used it would
chime in and tell you what to do, but finally I had to try it myself. It
looks like the suffix is only included in the links produced when you
click on Annotate. It's not used in the history view. Which is a bug, of
course, so I've logged it here:

https://defect.opensolaris.org/bz/show_bug.cgi?id=18606

-- 
Knut Anders
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to