From: Rob H. <ro...@ro...> - 2003-04-25 19:03:18
|
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? "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 ). > For some reason that I could not determine, the javascript for one of > the tests in repository.js always fails. This is the > isEmpty(document.repository.repo_root.value) validation command. The > other validation commands work fine. I tried it on Konqueror and > Netscape 4.x. I ended up just commenting it out. I only test SW with IE and Mozilla, last I checked it worked in Konq but it could use testing. I'll try to reproduce this. > I was getting errors when trying to update user info and it wasn't > "setting". On line 2977 it sets the user params via: > > $user->{'personal'}->{"$param"} = param("$param") || ''; > > However there was no $user->{'personal'} value in the $user hash at this > point so it failed. To fix this I added above the loop: > > $user->{personal} = { }; Hmm... haven't seen this before. > > create_repo() always seems to return success, even when it actually > fails. Also, the way it writes the XML files appears to be in error. > I can add a new repos but when I look at the list of repositories, > instead of showing a single repos with the name I gave, it shows > repositories with each of the fieldnames of a repository. I suspect > this issue may be related to the 'using hash as a reference' issue > above. Hmm.. I think the create_repo bug is valid. It does seem to create the repo whether or not the checkout dir exists. > 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. > 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 > 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 ). Uploading files just works better. Also, right now there's no automatic checkin, because SandWeb isn't really a CM system so much as a CVS client. -- Rob |