Valery Derongs | 29 Nov 17:38

No files listed in chora under windows with subversion??

Hi,

I'm new to the world of LAMP and it took me the most part of a day to setup
Apache2.2 + PHP + PEAR etc. on WinXP, all this for Chora on the Horde framework.

We are using subversion and chora seems like the best way to navigate our code
in a browser.

I managed to install and run Horde and Chora, but the problem is I cannot see
any files or folders listed in my repositories although the repos themselves
appear in the top bar of Chora's screen.

The repositories themselves otherwise work fine and can be accessed using
TortoiseSVN and other svn clients.

I guess this has something to do with Chora's configuration so I attach bits
that I think are related to this problem (i.e. that I made up from bits and
pieces of info googled here and there)

subversion is installed in c:\program files\subversion\
chora/ is under horde/ which is under apache2.2's htdocs/

first, my sourceroots.php:

 $sourceroots['test'] = array(
    'name' => 'test',
    'location' => 'file:///c:/localrepo/SCMDB',
    'title' => 'My Test Repository',
    'default' => true,
    'type' => 'svn',
(Continue reading)

Chuck Hagenbuch | 29 Nov 17:58
Favicon
Gravatar

Re: No files listed in chora under windows with subversion??

Quoting Valery Derongs <valery_derongs <at> qvc.com>:

> I managed to install and run Horde and Chora, but the problem is I cannot see
> any files or folders listed in my repositories although the repos themselves
> appear in the top bar of Chora's screen.

Are you really using that windows server as the svn server?

>  $sourceroots['test'] = array(
>     'name' => 'test',
>     'location' => 'file:///c:/localrepo/SCMDB',

This has to be the repository - not a checkout.

-chuck
--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org

Valery Derongs | 29 Nov 18:06

Re: No files listed in chora under windows with subversion??

Chuck Hagenbuch <chuck <at> horde.org> writes:

> 
> Quoting Valery Derongs <valery_derongs <at> qvc.com>:
> 
> > I managed to install and run Horde and Chora, but the problem is I cannot see
> > any files or folders listed in my repositories although the repos themselves
> > appear in the top bar of Chora's screen.
> 
> Are you really using that windows server as the svn server?
> 
> >  $sourceroots['test'] = array(
> >     'name' => 'test',
> >     'location' => 'file:///c:/localrepo/SCMDB',
> 
> This has to be the repository - not a checkout.
> 
> -chuck

Hi Chuck,

Thanks for the quick answer!
It's all running from my workstation as a svn server, and the path is a
repository not a checkout (ie. I can only see its content using a svn client,
otherwise all I get are the usual "conf dav db hooks locks" folders)

--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org
(Continue reading)

Chuck Hagenbuch | 29 Nov 18:10
Favicon
Gravatar

Re: No files listed in chora under windows with subversion??

Quoting Valery Derongs <valery_derongs <at> qvc.com>:

> It's all running from my workstation as a svn server, and the path is a
> repository not a checkout (ie. I can only see its content using a svn client,
> otherwise all I get are the usual "conf dav db hooks locks" folders)

Okay. The default Horde log file is /tmp/horde.log; if you look at the  
log configuration in horde/config/conf.php you'll see what it is on  
your system. There might be useful error messages there. If Chora  
can't execute svn it should be giving you an error message, but it  
might be logged instead. Check Apache's error log also.

-chuck
--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org

Jan Schneider | 29 Nov 18:22
Favicon
Gravatar

Re: No files listed in chora under windows with subversion??

Zitat von Valery Derongs <valery_derongs <at> qvc.com>:

> Now, conf.php is where I think I got it wrong as I took a guess  
> about the paths
> in php/windows:
>
> $conf['paths']['ci'] = '/usr/bin/ci';
> $conf['paths']['co'] = '/usr/bin/co';
> $conf['paths']['rcs'] = 'C:/rcs/bin/win32';
> $conf['paths']['rcsdiff'] = '/usr/bin/rcsdiff';
> $conf['paths']['rlog'] = '/usr/bin/rlog';
> $conf['paths']['cvs'] = '/usr/bin/cvs';
> $conf['paths']['diff'] = '/usr/bin/diff';
> $conf['paths']['svn'] = 'C:/progra~1/subversion/bin';

This should probably be 'C:/progra~1/subversion/bin/svn' or similar.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org

Valery Derongs | 29 Nov 18:22

Re: No files listed in chora under windows with subversion??

Chuck Hagenbuch <chuck <at> horde.org> writes:

> 
> Quoting Valery Derongs <valery_derongs <at> qvc.com>:
> 
> > It's all running from my workstation as a svn server, and the path is a
> > repository not a checkout (ie. I can only see its content using a svn client,
> > otherwise all I get are the usual "conf dav db hooks locks" folders)
> 
> Okay. The default Horde log file is /tmp/horde.log; if you look at the  
> log configuration in horde/config/conf.php you'll see what it is on  
> your system. There might be useful error messages there. If Chora  
> can't execute svn it should be giving you an error message, but it  
> might be logged instead. Check Apache's error log also.
> 
> -chuck

horde's conf.php bit about the log is as you described:

$conf['log']['priority'] = PEAR_LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;

I also just discovered that log you described in my c:\tmp folder !!
Unfortunately, nothing exciting aside a trace of a problem with session/cookies
(Continue reading)

Valery Derongs | 29 Nov 18:23

Re: No files listed in chora under windows with subversion??

Jan Schneider <jan <at> horde.org> writes:

>
> > $conf['paths']['cvs'] = '/usr/bin/cvs';
> > $conf['paths']['diff'] = '/usr/bin/diff';
> > $conf['paths']['svn'] = 'C:/progra~1/subversion/bin';
> 
> This should probably be 'C:/progra~1/subversion/bin/svn' or similar.
> 
> Jan.
> 

do you mean I should point at the executable not just the folder?

I'll try with svn and svn.exe and I let you know

--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org

Valery Derongs | 29 Nov 18:33

Re: No files listed in chora under windows with subversion??

Valery Derongs <valery_derongs <at> qvc.com> writes:

> 
> Jan Schneider <jan <at> horde.org> writes:
> 
> >
> > > $conf['paths']['cvs'] = '/usr/bin/cvs';
> > > $conf['paths']['diff'] = '/usr/bin/diff';
> > > $conf['paths']['svn'] = 'C:/progra~1/subversion/bin';
> > 
> > This should probably be 'C:/progra~1/subversion/bin/svn' or similar.
> > 
> > Jan.
> > 
> 
> do you mean I should point at the executable not just the folder?
> 
> I'll try with svn and svn.exe and I let you know
> 

That was it!!! Thanks a lot Jan!

'C:/progra~1/subversion/bin/svn' did the trick!!

Now I can browse my code....next step is syntax highlighting and diff, but I'll
RTFM before 

Nice One, thanks again to you both from horde.org

--

-- 
(Continue reading)


Gmane