Forum OpenACS Development: Cvsweb only offers annotate sometimes?

Collapse
Posted by Lars Pind on
It seems to me that cvs.openacs.org is moody.

When I look at some file:

http://cvs.openacs.org/cvs/openacs-4/packages/workflow/tcl/case-procs.tcl

Sometimes I get 3 or 4 options: View, markup, annotate, text, or something like that.

And sometimes I get only one: View/download.

Has anybody else experienced this? Any clue what would cause it, and how to fix it?

/Lars

Collapse
Posted by Jeff Davis on
I switched to viewcvs and it seems to not offer annotate
for some file types (.tcl and .sh it seems).
I will see if it's easy to fix.
Collapse
Posted by Randy O'Meara on
Jeff,

While you're mucking about, could you see if there is a way to  set the MIME type that's returned when the (view/download) link for a .tcl file is clicked?

The new interface causes the browser to want to download the file instead of viewing it. The old interface worked as expected.

Thank you,

Randy

Collapse
Posted by Jeff Davis on
that should be fixed (it was happening since viewcvs
uses the mime type to decide if it's annotatable and tcl
was application/x-tcl -- I changed it to text/plain).

Randy, that should fix the download as well.  If you see any
more files that don't offer annotate or download properly
let me know and I will fix them as well.

Collapse
Posted by Jun Yamog on
Thank you Jeff.  That mime type change helps me a lot.