Skip to content

Commit

Permalink
Proxy role needs a wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Mar 28, 2024
1 parent d09f44e commit 3db0815
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/whimsy/asf/svn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ def self._svn_build_cmd(command, path, options)
password = options[:password]
user = options[:user]
end
if user == 'whimsysvn'
cmd[0] = 'whimsysvn' # need wrapper for SVN proxy role
end
unless options[:dryrun] # don't add auth for dryrun
if password or user == 'whimsysvn' # whimsysvn user does not require password
cmd << ['--username', user, '--no-auth-cache']
Expand Down

0 comments on commit 3db0815

Please sign in to comment.