简体   繁体   English

Redmine:缺少用于放置Git存储库路径的字段

[英]Redmine: Missing a field to put the Git repository path

I'm not sure what I'm missing but after setting up Redmine and locally "git cloned" a repo using "--mirror" option. 我不确定我缺少什么,但是在设置Redmine并使用“ --mirror”选项在本地“ git clone”了一个存储库之后。 I wanted to put the Git repo path into Redmine, but the Redmine -> Settings -> Repo page doesn't seem to have a place for me to put that path. 我想将Git存储库路径放入Redmine中,但是Redmine-> Settings-> Repo页面似乎没有放置该路径的地方。 Am I missing anything? 我有什么想念的吗? (See attached screenshots below for better illustration of this issue) (请参阅下面的屏幕截图,以更好地说明此问题)

I followed this guide except I skip the Subversion/Mercurial part: HowTo Install Redmine 1.2.x with Mercurial and Subversion on Ubuntu Server 10.04 除了跳过Subversion / Mercurial部分之外,我遵循了本指南: 在Ubuntu Server 10.04上如何使用Mercurial和Subversion安装Redmine 1.2.x

Also followed this Apache configuration for Git in Redmine guide: Repositories access control with apache, mod_dav_svn and mod_perl 还遵循Redmine指南中针对Git的以下Apache配置: 使用apache,mod_dav_svn和mod_perl的存储库访问控制

Also try to get the Git repo setup locally using this guide: Repositories 另外,请尝试使用以下指南在本地获取Git 存储库设置:

I wanted to setup like it did in this blog post: Configuring a Git repository with Redmine 我想像在此博客文章中那样进行设置: 使用Redmine配置Git存储库

What it suppose look like : 它看起来像什么 它看起来像什么

What it actually look like in my setup : 在我的设置中实际上是什么样子 在我的设置中实际上是什么样子

The problem is that your second screenshot is the settings page of your redmine installation - the settings here apply to all projects. 问题是您的第二个屏幕截图是redmine 安装的设置页面-此处的设置适用于所有项目。 However, you can't link a repository from there. 但是,您不能从那里链接存储库。

You should make sure that you created a project, and then go into the project's settings page. 您应该确保创建了一个项目,然后进入该项目的设置页面。 There you'll find the Repository settings of your first screenshot. 在这里,您将找到第一个屏幕截图的“存储库”设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM