Re: [Codestriker-user] full file view for subversion
Brought to you by:
sits
|
From: David S. <si...@us...> - 2004-10-22 10:17:30
|
Hi Sean, On Fri, 22 Oct 2004 16:58, Sean Moss-Pultz wrote: > I've searched this lists archives and googled but can't find out how to > configure the full file view for a subversion repository. Right now > when I click on 'Parallel' it opens a new window and just hangs. No > content is every displayed. This might be a permissions issue. Check your apache error logs to see if there is anything helpful in there. You need to make sure the user running apache can execute the svn commands. If it is hanging though, its likely the command is prompting for some input (username/password), which we obviously can't supply. Perhaps you can run an svn command as the same user that the webserver runs as, so that the authentication information is then cached? > Nowhere have I entered a valid user/pass for this repository. I figure > I need to do this somewhere but I'm not sure where. Does anyone have a > sample checksetup.pl file they would be willing to email me? There's a Basically, the string after "svn:" in @valid_repositories is what will get used in all the svn commands. So in your case, the parallel link will generate a command like: svn cat --revision 7 http://<...>/svn/trunk/file.c In my testing, I have only worked on SVN repositories that had access to repositories without requiring a password. If you have authentication on your repository, we need to somehow set up the user running Codestriker to be able to execute the svn command without any interaction. I believe there are a number of different ways youi can do authentication with subversion, but we should be able to set it up so that a password entry is not required. I believe this information is cached after doing an initial login, or the other option is to use the svn server + ssh. Having said all that, I am not an expert in Subversion. Someone else on this list may have some better ideas here, on how this is done. I'll update the manual once we get this sorted out. -- Cheers, David |