比特纳米Redmine + Git 不工作
在多次尝试使用 Rails 在 OS 10.6 服务器上安装 Redmine 失败后,我终于找到了使用 Bitnami Rubystack + Redmine 模块。
现在 redmine 已经启动并运行,我在 Git 集成方面遇到了另一个障碍。我根本无法让Redmine 与Git 集成。。
在 Rubystack 中使用 rubyconsole,我遵循了 有关创建裸存储库的 Git 具体说明。
尽管如此,当我尝试将存储库添加到 Redmine 中的项目时,当我单击主存储库选项卡时,我看到了 404 警告:
404 - 条目或修订未完成 在存储库中找到。
当我点击设置>时存储库>用户图标,我得到:
选择或更新Redmine用户 映射到中找到的每个用户名 存储库日志。有相同情况的用户 Redmine 和存储库用户名或 电子邮件会自动映射。
用户名 &我用于 Redmine 帐户的电子邮件与用于 git 帐户的电子邮件相同。
我发现的有关堆栈溢出和网络的所有其他问题都来自已经完成此步骤并已成功将 git 存储库链接到 Redmine 的人。有人可以提供任何建议吗?
After a lot of failed attempts using Rails to install Redmine on OS 10.6 Server, I finally found away to do it using the Bitnami Rubystack + Redmine module.
Now redmine is up and running, I've hit another hurdle with Git integration. I can't get Redmine to integrate with Git at all.
Using rubyconsole in Rubystack, I followed the Git specific instructions about creating a bare repository.
Still, when I try adding the repository to a project in Redmine, I see a 404 warning when I click on the main Repository tab:
404 - The entry or revision was not
found in the repository.
and when I click on the Settings > Repository > Users icon, I get:
Select or update the Redmine user
mapped to each username found in the
repository log. Users with the same
Redmine and repository username or
email are automatically mapped.
The username & email I am using for the Redmine account is the same as for the git account.
All the other questions on stack overflow and the web I've found are from people who have already gotten past this step and have successfully linked a git repository to Redmine. Can anybody offer any advice?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您好,虽然这可能有点晚了,但我找到了解决这个问题的方法。
基本上,我将“apps/gitorious/repositories”目录从 bitnamy gitorious-stack 符号链接到“apps/redmine/repositories”
另外,我向存储库目录添加了一个默认 ACL 条目,允许其他人读取并执行其中的所有内容
最后我添加了git 存储库在 redmine 中,路径如下:
这肯定不是一个很好的方法。
我仍在调查为什么 redmine 堆栈无法直接访问存储库。
Hello although this might be a bit late I found a workaround for this exact problem.
Basicly I symlinked the "apps/gitorious/repositories" directory from the bitnamy gitorious-stack to "apps/redmine/repositories"
Aditionally I added a default ACL entry to the repositories directory allowing others to read and execute everything in there
Finally I added the git repository in redmine with the following path:
This sure ain't a beautiful way to do it.
I'm still investigating why the redmine stack can't access the repository directly though.