[viewvc-dev] Re: Porting templates to viewvc 1.1

Jens Peters <[email protected]> Sat, 19 Jul 2008 16:01:07 +0200
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Message-ID <g5ss34$n4u$1__41367.3217794441$1216476155$gmane$org@ger.gmane.org>
C. Michael Pilato wrote:
> I don't have a preference for how you initialize the new template set, 
> but I do think it best that you do your work under templates-contrib/1.1 
> instead of just tweaking the templates-contrib/1.0 bits.

Ok, I started with making a copy from 1.0 to 1.1. It should be ok.

> Do you have the "co" view enabled in viewvc.conf (allowed_views)?  If 
> not, then it may be that what you are seeing isn't that download_href 
> contains the current URL, but that it is empty and your browser is 
> treating that as "current URL".

Men, indeed, sorry for bothering you with such a simple mistake. 
Wouldn't it be better to throw an exception if a template is asking for 
a disallowed view? That would make template development a little bit 
easier too ;)

  > Do you have 'allow_compress' set in viewvc.conf?  If so, I wonder if
> there's a misinteraction between the request-level compression and the 
> tarball compression.

I tried both settings, the tarball remains corrupted when using apache..
But I found that not using mod_deflate make a difference (thus not using 
SetInputFilter DEFLATE and SetOutputFilter DEFLATE). Strange strange..


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]