[chora] chora installation

Sweat, Jason E. Jason.Sweat@alcoa.com
Tue, 14 May 2002 18:38:02 -0400


You may well be onto something:

RCS file:        distfcst.php,v;   Working file:    distfcst.php
head:            1.6
locks:           ;  strict
access list:
symbolic names:
comment leader:  "# "
total revisions: 6;    selected revisions: 6
description:
----------------------------
revision 1.6
date: 2002/05/07 22:00:17;  author: sweatje;  state: Exp;  lines added/del:
5/3
not using test Smarty
----------------------------
<snip>
revision 1.1
date: 2002/04/30 17:54:07;  author: sweatje;  state: Exp;
Inital Check-In District Forecast Summary Data Application
============================================================================
=

vs.

prdqry:/home/sweatje/cvs/distfcst> rlog .prod_dir,v
rlog error, line 2: Missing access list
rlog aborted

Is there a problem doing rcs commands on hidden files?

also I notice the permissions are different on that file:
> ll -a
total 44
drwxrwxr-x   4 sweatje    cvs           1024 May 13 14:28 .
drwxrwx---  13 sweatje    cvs           1024 May 14 09:03 ..
-r--r--r--   1 sweatje    cvs            440 Apr 30 12:38 .prod_dir,v
drwxrwxr-x   2 sweatje    cvs           1024 May 13 14:28 configs
-r-xr-xr-x   1 sweatje    cvs          10570 May  7 17:00 distfcst.php,v
-r-xr-xr-x   1 sweatje    cvs           5423 May  7 14:57 distfcst_sql.php,v
drwxrwxr-x   2 sweatje    cvs           1024 May 13 14:28 templates


-----Original Message-----
From: Anil Madhavapeddy [mailto:anil@recoil.org]
Sent: Tuesday, May 14, 2002 5:28 PM
To: Sweat, Jason E.
Cc: chora@lists.horde.org
Subject: Re: [chora] chora installation


On Tue, May 14, 2002 at 03:15:19PM -0400, Sweat, Jason E. wrote:
> I am still having issues getting chora to work with PHP 4.1.2 on HP-UX
10.2
> 
> In the source where the $dir object returns a fileList, I am getting an
> array of file names.  In the while loop, I do a var_dump of the $currFile
> (attached below), much of the info is there, but in particular,  
>   ["logs"]=>  array(0) {  }
>   ["revs"]=>  array(0) {  }
>   ["branches"]=>  array(0) {  }
> which is suspect should not be this way.  I have not completely deciphered
> the code, but it looks like you are using PCRE expressions to extract
> information from popen commands to rlog, etc.
> 
> Is there a minimum version of any of the binary files
> (co,rcs,rcsdiff,rlog,cvs) required to use chora??
> 

Apart from "reasonably modern", there's no minimum version.
The output from the rcs utilities should be fairly uniform,
but there may be quirks that cause the parser to fail.

Also, does only one file fail?  Could you run rlog on that
file and see what the output is and why it's different from
the rest?

Anil