The Toolkit for Online Communities
18281 Community Members, 2 members online, 2006 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Cvsweb only offers annotate sometimes?

Forum OpenACS Development: Cvsweb only offers annotate sometimes?

Icon of envelope Request notifications

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

When I look at some file:


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?


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.
Posted by Randy O'Meara on

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,


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.

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