ActiveCollab Subversion 集成是否可以通过 ssh 与 Subversion 配合使用?

发布于 2024-08-27 21:46:39 字数 437 浏览 9 评论 0原文

我正在尝试在 ActiveCollab 项目中设置存储库。在设置过程中,它报告连接测试成功。但是,当我尝试实际更新存储库时,我收到以下消息:

无法获取给定存储库的最高修订号。

如果我尝试浏览存储库,则会出现以下错误:

致命错误:在第 357 行 /u/sites/activecollab/webroot/shared/activecollab/activecollab/application/modules/source/controllers/RepositoryController.class.php 中的非对象上调用成员函数 getRevision()

是这样因为尝试通过 svn+ssh 插件而不是 http 访问存储库?或者 ActiveCollab 端发生了什么事情?通过其他方式可以正常访问存储库——只有 ActiveCollab 有问题。

I'm trying to setup a repository in an ActiveCollab project. During setup, it reports that the connection tests successfully. However, when I try to actually update the repository, I get the following message:

Could not obrain the highest revision number for the given repository.

If I try to browse the repository, the following error comes up:

Fatal error: Call to a member function getRevision() on a non-object in /u/sites/activecollab/webroot/shared/activecollab/activecollab/application/modules/source/controllers/RepositoryController.class.php on line 357

Is this because of trying to access the repository via svn+ssh plugin rather than http? Or did something happen on the ActiveCollab end? The repository is accessed fine via other means -- only ActiveCollab has the problem.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

柳絮泡泡 2024-09-03 21:46:39

据 ActiveCollab 称,他们不支持这一点。 svn 插件必须通过 http,或者如果 ActiveCollab 与存储库位于同一服务器上,则直接使用 file://path/to/repository 链接。

According to ActiveCollab, they do not support this. The svn plugin has to be either over http or, if ActiveCollab is on the same server as the repository, directly using the file://path/to/repository link.

海螺姑娘 2024-09-03 21:46:39

就其价值而言,我可以使用 svn+ssh 从 AC 到另一台服务器。对我来说是 svn+ssh://[email protected]/path /to/repo

因为 AC 要求您输入用户名和密码,所以我提供了在 passwd 文件中设置的用户名/密码组合。还要确保您的用户在 authz 中具有适当的权限。第二部分是确保将 Web 用户(服务器)id_rsa 密钥添加到 svn 服务器的用户帐户。

For what it's worth, I'm able to use svn+ssh from AC to another server. For me it was svn+ssh://[email protected]/path/to/repo

Because AC requires you to enter a username and password, I supplied a username/pass combo that I set up in the passwd file. Also make sure your user has the appropriate permissions in authz. The second part was making sure the web user (server) id_rsa key is added to the svn server's user account.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文