2012-08-23 69 views
1

當創建在ReviewBoard一個Git回購由Heroku的主持,我進入Heroku的Git的網址:ReviewBoard改變的Heroku的Git回購URL,克隆失敗

[email protected]:appname.git 

ReviewBoard正在改變成這樣:

ssh://[email protected]/appname.git 

Heroku的不喜歡而拒絕克隆嘗試:

2012-08-22 22:26:39,267 - ERROR - Git: Failed to find valid repository ssh://[email protected]/appname.git: 
! Invalid path. 
! Syntax is: [email protected]:<app>.git where <app> is your app's name. 

fatal: Could not read from remote repository. 

^h我可以得到ReviewBoard不重寫Git倉庫網址嗎?

爲什麼不接受的Heroku形式的網址:ssh://[email protected]/appname.git
我在哪裏可以報告本作中的Heroku的錯誤嗎?我搜索了他們的網站,無法看到在哪裏打開支持票。

+0

DId在複查板的本地克隆聲明的鏡像路徑中輸入正確的地址(git @ heroku ...)? (http://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/#local-clone) – VonC

+0

謝謝!看起來它現在正在工作。 – user1618787

+0

非常好。我已經添加了一個答案來解決這個問題。 – VonC

回答

0

正如我在評論中提到,一個缺少的元素是:

在審查委員會的本地克隆宣言的鏡路徑輸入正確的地址([email protected])。

請參閱 「Local clone sction of ReviewBoard」。

爲了與Review Board一起工作,本地克隆需要定期保持同步。
應該要麼到中央的Git服務器的直接訪問,或者需要更新每個提交到中央的Git服務器。

路徑字段應該是這樣的結賬內.git目錄的完整路徑。
例如:

/var/git/projectname/.git 

Mirror path`字段應包含庫的URL。
找到你應該從一個git的結帳中運行以下使用的網址:

$ git remote show origin 

顯示爲URL的值:應輸入作爲鏡像路徑。例如:

[email protected]:projectname.git 

UsernamePassword字段應爲空。