[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Alioth] .sh files should be viewable



reassign 355089 websvn
tag 355089 upstream
thanks

On Fri, Mar 17, 2006 at 11:17:04AM +0100, Geert Stappers wrote:
> On Fri, Mar 17, 2006 at 11:48:35AM +0200, Eddy Petri?or wrote:
> > Hello all,
> > 
> > I was just about to say that I opened a request for .sh files to be
> > declared as plaintext files:
> > 
> > https://alioth.debian.org/tracker/index.php?func=detail&aid=303239&group_id=1&atid=200001
> > 
> > (then I received imediately a "Wontfix" reply :-/  .)
> > 
> > I hope this will be fixed soon.
> 
> Thank you for this reminder,
> I'll spent today some time on #355089.
> 

It is a websvn bug/feature.

The subversion repository defaults files to text/plain.

Websvn does pretty printing of files it knows about. Like a C-source file
( http://svn.debian.org/wsvn/d-i/trunk/scripts/g-i/gtk_font_tester.c?op=file&rev=0&sc=0 )
but also "plain" files like a README
( http://svn.debian.org/wsvn/d-i/trunk/scripts/g-i/README?op=file&rev=0&sc=0 )

Websvn should "pretty print" text/plain files as the README file, so no syntax-coloring,
for files it has no knowledge about.

Displaying a  .sh file as Content-Type: application/x-sh doesn't help.
It is _not_ being "websvn".
It only emmits "install a plug-in in your browser yourself :-P"


This BR is allready tagged "upstream", please take it upstream.


Yours
Geert Stappers



Reply to: