From: Bryce H. <br...@os...> - 2003-04-25 21:30:53
|
On Fri, 25 Apr 2003, Rob Helmer wrote: > On Fri, Apr 25, 2003 at 10:51:59AM -0700, Bryce Harrington wrote: > > sandweb was unable to find its config files. It was looking in ../etc > > instead of ../etc/sandweb. Furthermore, relative paths did not seem to > > work properly at all. I changed all instances of '../etc' to > > '/usr/local/etc/sandweb'. > > You are using RC2 right? Which OS/distribution? RC2 and CVS/HEAD, on Mandrake 9.0. Here's my apache info: Apache Server Status for sherborne.bryceharrington.com Server Version: Apache-AdvancedExtranetServer/1.3.26 (Mandrake Linux/5mdk) mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6g DAV/1.0.3 PHP/4.2.3 Server Built: Sep 6 2002 19:31:19 _________________________________________________________________ Here's Konqueror: [root@sherborne sandweb]# konqueror --version Qt: 3.0.5 KDE: 3.0.5a Konqueror: 3.0.5a Netscape: [root@sherborne sandweb]# netscape --version Netscape Lite 4.77/U.S., 26-Mar-01; (c) 1995-2000 Netscape Communications Corp. And Mozilla: [root@sherborne sandweb]# mozilla --version Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 <developer build> > "make install" is supposed to do this.. Can you send us your > installation steps? If that's not happening you probably are > going to run into lots of other problems. > > Also, Nick checked in some stuff the other day to help with > the warnings and problems people say with perl 5.8, try pulling > CVS ( do "cvs co -r release-1_0-branch", the trunk has some > incomplete stuff right now ). Okay, checking out that rtag and trying again... Same thing; perl Makefile.PL; make; sudo make install works ok, then: [root@sherborne sandweb]# sandweb-admin --add-user bryce unable to open config file: ../etc/sandweb.cfg return data: <pre>$VAR1 = { 'errlev' => 0, 'data' => {} }; </pre>[root@sherborne sandweb]# > > After having gone through all that, I was finally able to select the > > repository and request checkout of the module 'foo' I needed. However, > > it simply errored saying something about "Filename foo could not be > > found". > > Can you give us the exact text? Did it say "module" or "filename"? > I'm trying to determine if this is from SandWeb or from CVS; if it's > from CVS then it's the wrong module name or something. It specifically said filename, which I thought was strange. I may have the wrong password but I know it's definitely the right modulename. Along these lines, does sandweb support :ext cvs type? > > All that I really need is to connect this to a single cvs repository, > > and the number of users is going to be determinant, so if I could just > > write the config files manually to set up the repository and users, that > > would help. > > Sure, they are just XML files, stored in $users_dir/user/.user.cfg Could you give me examples of proper user and repository config files? I was trying to reverse engineer what they should look like from the code, but it was difficult since I wasn't certain the software was working correctly. > > What I'm trying to determine is if it is possible to edit text files > > through this interface and have them automatically get checked back into > > cvs. I see that there is an edit_file.html template, and am curious to > > see how this works. > > Well, edit_file just uses an HTML textarea to edit the contents of > the file, but it's disabled ( should work if you just reenable it ). > The problem is that both Moz and IE use DOS-style EOL characters > everywhere, and it removes empty lines from the bottom of the file ( it > it exists ). > The thing I don't like about this is, if I check a file in with Unix, > then go and modify one line with SandWeb, a "diff" shows that I modified > every line ( because the EOL char is different ). I've dealt with this particular problem before, when developing wiki software, so if I can get SandWeb working, that issue won't be a stopper. ;-) > Uploading files just works better. *Nod* But the use context I'm shooting for is to mimic wiki behavior. In fact, I'm probably going to attempt to leverage the Text::WikiFormat, Cgi::Wiki, and other assorted modules for this. But I need to hook it into a CVS-backend. > Also, right now there's no automatic checkin, because SandWeb isn't > really a CM system so much as a CVS client. Do you know of any CM systems that include a CVS backend? Bryce |