Re: Proper source/way to integration Subversion for Win32 app and MacOSX
On Jun 8, 2012, at 7:01 , Thuan Seah Tan wrote: > Hi guys, > > I have been googling and couldn’t seem to find anything that demonstrate how > does one obtain the subversion api required to provide subversion integration > in one’s software. So far I have go things up and running for windows by > locating myself a copy of precompiled libs and headers for Win32. On windows, > I did manage to find a precompiled libs and headers for apache portable > runtime (it comes with the precompiled subversion api libs and headers). > However, on the Mac, I can’t seem to find anything similar that includes the > apache libs and header. So just wonder what is the recommended approach for > getting libs and headers? Apache, APR and Subversion 1.6 are part of the operating system. Headers are in the following directories, /usr/include/apache2 /usr/include/apr-1 /usr/include/subversion-1 and libs are in /usr/lib > Is there a source that provides me with the libs and headers that I can know > for certain is going to work with the subversion libs and headers? If you want to use Subversion 1.7, you'll have to build it yourself. I'd recommend using Homebrew or MacPorts if you're building for use on your own computer, or if all of your users have Xcode (or the mini command line version) installed. Steve > > Thuan > > PS: I am not subscribed to the mailing list and would appreciate if you could > CC me the replies. Thanks. -- Stephen Butler elego Software Solutions GmbH http://www.elego.de
Re: When connecting to an https server force use of TLS or SSLv3?
Garrison, Jim (ETW) wrote on Thu, Jun 07, 2012 at 14:19:20 -0700: > If I tell s_client to use ssl2 the server immediately closes the > connection. Only ssl3 and tls1 work. > > Is there any way to tell subversion to tell the underlying ssl > libraries to skip SSL and SSL2, and start the negotiation with TLS or > SSL3? I've looked for an OpenSSL config file, but that seems to > control only certificate generation. I would expect such settings to be controllable from ~/.subversion/servers, but none of the settings 1.7.x has there seem relevant. I'm not sure what other ways there might be to change the default.
Re: repeated calls to svn_client_status5 seems to hang
Thuan Seah Tan wrote on Fri, Jun 08, 2012 at 10:11:44 +1000: > Hi all, > > > > I have yet another question about subversion if people don't mind. I have I think your question below is a valid API usage question and as such is on-topic for this list. Cheers, Daniel > been using svn_client_status5 to get the status of the file after each > action (i.e. revert, delete, add, etc) it seems to work fine most of the > time. However, if I were to set the update flag (i.e. to contact repository > about status), the call appears to hang and not return after several > repeated calls. Setting the flag to false would work, but I am just curious > to know if subversion implements some kind of guard against repeated polling > of status to guard against hacking and stuff which could have resulted in > the hang instead of returning a non null error. > > > > Thuan > > > > PS: I am not subscribed to the mailing list, so would appreciated if replies > are cc to my email address. Thanks. >
About Apache+SVN "Digest mutual authentication failure: request-digest mismatch" / Server was not authenticated correctly
Hello list, I was experiencing problems with authentication (using HTTP Digest Auth+SSL) on our SVN server. It seems it has been reported a few years ago (see http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=911173), but I was not able to find a solution anywhere. The problem occured most often when merging, sometimes when checking out/in or updating. Trying to work around another problem (apache leaking memory, see https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/273859), I set 'SVNAllowBulkUpdates Off' which caused the authentication problem to occur a lot more frequently. Finally it seems both my problems are gone after switching from mpm-worker to mpm-prefork, with 'SVNAllowBulkUpdates Off'. This info might be useful for other users experiencing the same problem and give a hint that the authentication problem seems to be related to threading issues. Cheers, Kai PS. I'm not subscribed to the list, please CC me in responses or mail me in case I can help with more detailed info.
Environment variables in .subversion/config
Hi, I'd like to use a shared config file for multiple users, but I'm in a bit of a bind when it comes to ssh identity files. I'd like to have a line like [tunnels] ssh = $SVN_SSH ssh -q -i $HOME/.ssh/ssh-identity but svn cannot expand environment variables (or ~) from this file. Warning: Identity file $HOME/.ssh/ssh-identity not accessible: No such file or directory. svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file. svn: Network connection closed unexpectedly It would seem I can only have lines like [tunnels] ssh = $SVN_SSH ssh -q -i /home/user1/.ssh/ssh-identity which prevents a shared config. Has anyone run across this before? How did you get around this? Thanks --Mattius McLaughlin
Re: Environment variables in .subversion/config
Mattius McLaughlin wrote on Fri, Jun 08, 2012 at 14:35:58 -0700: > bit of a bind when it comes to ssh identity files. I'd like to have a > line like > > [tunnels] > ssh = $SVN_SSH ssh -q -i $HOME/.ssh/ssh-identity > > It would seem I can only have lines like > > [tunnels] > ssh = $SVN_SSH ssh -q -i /home/user1/.ssh/ssh-identity Untested, but: [tunnels] ssh = $SVN_SSH sh -c 'ssh -q -i $HOME/.ssh/ssh-identity "$@"' -s or perhaps leave ~/.subversion/config untouched and use the following in ~/.ssh/config: Host * IdentityFile ~/.ssh/ssh-identity > Thanks > --Mattius McLaughlin >
Re: About Apache+SVN "Digest mutual authentication failure: request-digest mismatch" / Server was not authenticated correctly
You neglected to mention what the actual problem you ran into is and what versions of svn (and relevant dependencies) you use on your client and server. Thanks for the information! Kai Bernhard wrote on Fri, Jun 08, 2012 at 15:05:34 +0200: > Hello list, > > I was experiencing problems with authentication (using HTTP Digest Auth+SSL) > on our SVN server. It seems it has been reported a few years ago (see > http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=911173), > but I was not able to find a solution anywhere. The problem occured most > often when merging, sometimes when checking out/in or updating. Trying to > work around another problem (apache leaking memory, see > https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/273859), I set > 'SVNAllowBulkUpdates Off' which caused the authentication problem to occur a > lot more frequently. Finally it seems both my problems are gone after > switching from mpm-worker to mpm-prefork, with 'SVNAllowBulkUpdates Off'. > > This info might be useful for other users experiencing the same problem and > give a hint that the authentication problem seems to be related to threading > issues. > > Cheers, > > Kai > > PS. I'm not subscribed to the list, please CC me in responses or mail me in > case I can help with more detailed info.
Re: Environment variables in .subversion/config
Mattius McLaughlin wrote on Fri, Jun 08, 2012 at 14:35:58 -0700: > Hi, > > I'd like to use a shared config file for multiple users, but I'm in a > bit of a bind when it comes to ssh identity files. I'd like to have a > line like > > [tunnels] > ssh = $SVN_SSH ssh -q -i $HOME/.ssh/ssh-identity BTW, have you tried [tunnels] ssh = $SVN_SSH ssh -q -i ~/.ssh/ssh-identity ?