比特纳米Redmine + Git 不工作

发布于 2024-11-15 05:36:43 字数 847 浏览 3 评论 0原文

在多次尝试使用 Rails 在 OS 10.6 服务器上安装 Redmine 失败后,我终于找到了使用 Bitnami Rubystack + Redmine 模块。

现在 redmine 已经启动并运行,我在 Git 集成方面遇到了另一个障碍。我根本无法让Redmine 与Git 集成。。

在 Rubystack 中使用 ruby​​console,我遵循了 有关创建裸存储库的 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 技术交流群。

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

发布评论

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

评论(1

素衣风尘叹 2024-11-22 05:36:43

您好,虽然这可能有点晚了,但我找到了解决这个问题的方法。
基本上,我将“apps/gitorious/repositories”目录从 bitnamy gitorious-stack 符号链接到“apps/redmine/repositories”

cd /opt/redmine-2.0.3-1/apps/redmine
ln -s /opt/gitorious-20120621-0/apps/gitorious/repositories

另外,我向存储库目录添加了一个默认 ACL 条目,允许其他人读取并执行其中的所有内容

setfacl -R -m d:o:rx /opt/gitorious-20120621-0/apps/gitorious/repositories

最后我添加了git 存储库在 redmine 中,路径如下:

/opt/redmine-2.0.3-1/apps/redmine/repositories/myrepo/myrepo.git

这肯定不是一个很好的方法。

我仍在调查为什么 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"

cd /opt/redmine-2.0.3-1/apps/redmine
ln -s /opt/gitorious-20120621-0/apps/gitorious/repositories

Aditionally I added a default ACL entry to the repositories directory allowing others to read and execute everything in there

setfacl -R -m d:o:rx /opt/gitorious-20120621-0/apps/gitorious/repositories

Finally I added the git repository in redmine with the following path:

/opt/redmine-2.0.3-1/apps/redmine/repositories/myrepo/myrepo.git

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.

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