HTTP 経由で Git リポジトリから Capistrano をデプロイした経験のある人はいますか?
次のdeploy.rbが機能していません。
set :repository, 'http://git.repository-domain.com:4442/git/repo.git'
set :scm_username, "git_username"
set :scm_password, "git_password"
set :scm, :git
ただし、次のようにリポジトリを渡すと機能します。
set :repository, 'http://git_username:git_password@git.repository-domain.com:4442/git/repo.git'
後者は、ユーザー名またはパスワードに特殊文字が含まれていない場合にのみ機能します。これらの文字を URL エンコードすると失敗します。
更新: 問題のより正確な説明は、https://github.com/capistrano/capistrano/issues/384のチケットで入手できます。