Re: [viewvc-users] viewvc-1.1.19 issue ...

olli hauer <[email protected]> Tue, 23 Apr 2013 19:12:43 +0200
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
On 2013-04-23 18:33, C. Michael Pilato wrote:> On 04/23/2013 11:35 AM, olli hauer wrote:
>> Hi Michael,
>>
>> I just updated to viewvc-1.1.19 and got some strange issues.
>>
>> In case I use root_parents I got a list of my repos but
>> averything else results in a 404 not found, so I tested with
>> a single svn_root and got no repo at all (also no 404 in httpd.log)
>>
>> Any hint how to debug?
>>
>> Downgrading to 1.1.18 everything works again tested with cgi/wsgi.
> 
> Olli,
> 
> Thanks so much for your report.
> 
> I've been trying to help a guy debug a problem all week long that seemed
> like a one-off case, but maybe yours is a similar problem.  Unfortunately,
> I'm still trying to debug the first report, so I don't have a quick answer
> for you.  I will, however, reply back with anything relevant that I find.
> 
> In the meantime, it would help me if you could share the uncommented lines
> from your viewvc.conf file (feel free to anonymize any sensitive data
> therein, of course).
> 
> I use a command like the following to get this info:
> 
>    $ grep -v -e '^\(#\|$\)' /path/to/viewvc.conf
> 

No problem with the viewvc.conf

I've tested three different configurations and have maybe a hint.
- svn_root : not working
- root_parents (mixed SVN/CVS) : displaying viewvc root OK, going into a repo results in 404

- root_parents (multiple SVN roots) : OK working
- root_parents (single CVS root) : OK working
- cvs_root (single) : OK working, but displays the cvsroot (cvs) as first folder (contains the repos).


All tests are done with the same viewvc.conf only [general] changed

Not working:
============
[general]
svn_root = FreeBSD: /repos/svn/svnroot/testrepo
[utilities]
[options]
[templates]
[cvsdb]
[vhosts]
[authz-forbidden]
[authz-forbiddenre]
[authz-svnauthz]
[query]


Not working:
============
[general]
root_parents =  /repos/svn/svnroot : svn,
		/repos/cvs : cvs


Working:
==========
[general]
root_parents =  /repos/svn/svnroot : svn,
		/tmp/svn/svnroot : svn


Working:
==========
[general]
cvs_roots =  cvs: /repos/cvs

Not working:
============
[general]
root_parents =  /repos/cvs : cvs


Hope this helps.

--
regards,
olli

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3054060

To unsubscribe from this discussion, e-mail: [[email protected]].