Re: cvsroot not found

Caleb Phillips <[email protected]> Thu, 14 Oct 2004 09:35:06 -0700
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>
First off, sorry about slow response, I am working
off a backlog of email.

> vi cvsroots.php
> edit ->   'location' => '/var/cvsroot',
> 
>   CVSROOT not found! This could be a misconfiguration by the server
> administrator, or the server could be having temporary problems. Please try
> again later.

> cvs -d /var/cvsroot init
> cd /var/test
> cvs -d /var/cvsroot import project

> Any body knows an solution or workaround ?

Unless you have a really unique setup, by importing your "project" it 
should have created a directory: /var/cvsroot/project. This is the 
CVSROOT of the "project" project. This is kind of confusing language. 
Let me try to clarify...

A CVS setup has a CVSROOT that is the root for all modules - the "root 
of the tree".

Then each module, or project has it's own "root". This is the root that 
Chora cares about.

For instance, here is an entry from my cvsroots.php

<snip>
$cvsroots['wicap-php'] = array(
     'name' => 'Wicap-PHP',
     'location' => '/home/cvs/wicap-php',
     'title' => 'Wicap-PHP, a captive portal that is more better and 
doesnt suck',
     'default' => true
);
</snip>

However:

cphillips@dante config $ echo $CVSROOT
[email protected]:/home/cvs

And here is the result:

http://www.smallwhitecube.com/horde/chora/

Make sense?

Good luck.

--
Caleb Phillips
IT Specialist
Small White Cube
-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]