2012-08-23 68 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字段应为空。