From tadatoshi.mailinglist at gmail.com Wed Feb 21 01:25:54 2007 From: tadatoshi.mailinglist at gmail.com (Tadatoshi Takahashi) Date: Tue, 20 Feb 2007 23:25:54 -0700 Subject: [Cruisecontrolrb-users] Problem with adding project with Subversion username and password Message-ID: <96708edb0702202225m53d9b0c8r6b21abef02d1c4a0@mail.gmail.com> Hi, I found that when adding a project with Subversion username and password, e.g. cruise add --url --username --password the username and password were not actually passed to svn command. I printed out the content of scm_options in script/add_project file and found that the values of username and password were empty. Then I deleted the nil parameter (the first parameter) from opts.on(..) for username and password: i.e. opts.on("--username username", String, "Specify a username for sourcecontrol") { |v| scm_options[:username] = v } opts.on("--password password", String, "Specify a password for sourcecontrol") { |v| scm_options[:password] = v } Then it started working - the values of username and password were captured correctly. Tadatoshi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070220/951f75b1/attachment.html From averkhov at thoughtworks.com Thu Feb 22 02:40:03 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 22 Feb 2007 01:40:03 -0600 Subject: [Cruisecontrolrb-users] Problem with adding project with Subversion username and password In-Reply-To: <96708edb0702202225m53d9b0c8r6b21abef02d1c4a0@mail.gmail.com> Message-ID: > I found that when adding a project with Subversion username and password, > e.g. cruise add --url --username -- > password > the username and password were not actually passed to svn command. And we fixed it. Thanks for the heads-up! Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070222/28547442/attachment.html