[Pmwiki-users] How to check out PmWiki 2 via CVS

Patrick R. Michaud pmichaud
Mon Oct 25 15:06:24 CDT 2004


On Mon, Oct 25, 2004 at 10:53:41PM +0200, chr at home.se wrote:
> On Mon, 25 Oct 2004, Patrick R. Michaud wrote:
> 
> > > Because of the reasons above, it would be better if local/ was *not* part 
> > > of the pmwiki cvs module. Thoughts?
> > 
> > This would mean that someone checking out PmWiki would not get a local/
> > directory, and would have to create it manually.
> 
> What if pmwiki.php creates local/ and local/.htaccess at the same time it
> tries to create wiki.d/?  And if local/ already exists, it skips creating
> local/.htaccess.

Then local and local/.htaccess will have the wrong ownerships.

> > I'm not sure if this is good or bad, but whatever we do would probably
> > have to apply to cookbook/ and pub/css/ as well
> 
> What is the purpose of cookbook/?

It's the standard location to place cookbook recipes, as an alternative
to 'local/'.

> And maybe you could explain the (intended) structure of pub/ as well?  
> (haven't thing changed here lately, or was that on a lower level) (IIRC,
> the adminstrator is supposed to modify files in pub/ as well as local.)

> !! Idea for workaround
> 
> We might be able to get something working by using several 'modules' for 
> the pmwiki base. The repository could look like this:
> [details omitted]

Likely veto.  To me it seems that someone who does a basic checkout of
pmwiki from the CVS repository ought to get the same file structure 
that she would get from extracting the .tgz or .zip files.  Also, I 
think that those who are doing a "standard PmWiki install" ought to 
be able to get everything in a single
package rather than having to get it all piecemeal just to support this
particular situation (which I don't think will be all that common).

However, another approach might be to provide CVS tags to prevent
the "cvs checkout" command from getting local/, cookbook/ and other
locally configurable items.  I'd have to look into this a bit further
to see what's possible.  Lastly, perhaps something can be done with 
some judicious .cvsignore files.  But it seems clear to me that cvs
checkout ought to be kept simple.

Pm



More information about the pmwiki-users mailing list