Home > Application Development, Ruby, Software > Problems with CC.rb, OS X 10.5, and Subversion

Problems with CC.rb, OS X 10.5, and Subversion

May 1st, 2008

I have been attempting to get CruiseControl.rb 1.3 running on my new Mac with little success and am wondering if other people have been having the same problems. I have two Macs that I am trying this on and neither is working. Both show the same error.

I am able to start CC.rb using ./cruise start and am able to add a project. The problem is when CC.rb goes to do the first build. I keep getting the following error:

BuilderError: svn: PROPFIND request failed on '/svn/trunk/project_name'

If I expand that, the actual problem is with the following:

svn --non-interactive log --limit 1 --revision HEAD:1 --verbose --xml

The important part is the --non-interactive switch. If I remove that and run the command directly from the directory where the project is checked out to, it works fine. I include --non-interactive and it fails.

Both machines use default versions of svn (i.e., whatever came with the computer).

My theory is that the problem lies with OS X’s Keychain program, which is where the credentials are stored for the svn repository. In interactive mode, when svn asks for the username and password, keychain steps in and supplies them. However, in non-interactive mode, these credentials are never supplied because they are not cached properly by Subversion.

My problem is that I am not sure how to test or resolve this. I am somewhat reluctant to install Subversion over top of the currently installed version because I am not sure what I may screw up. However, I am going to continue to investigate this and see if I can’t figure it out.

Has anyone else had this problem and, if so, how did you fix it?

Categories: Application Development, Ruby, Software Tags:
  1. oko
  2. May 8th, 2008 at 11:19 | #2

    @oko,

    Thanks for the link. I have talked to Alex (the main dev on CC.rb) and hopefully the patch will be integrated soon and CC.rb will start working on OS X 10.5.

  3. June 17th, 2008 at 14:21 | #3

    Did you ever find a resolution to using CCrb 1.3 on Leopard?

Comments are closed.