将 SVN 用户映射到 Redmine 用户
我们开始使用 Redmine 作为我们的任务跟踪工具,由于某种原因,我们无法使用相同的 SVN 和 Redmine 用户登录。我们如何通过配置文件或其他方式将SVN用户名映射到Redmine用户名?
由于现在所有提交均由匿名执行,因此我们无法跟踪谁是修订的提交者。
我们有什么想法可以解决这个问题吗?
添加: 事实上Redmine wiki中有一段关于用户映射配置的内容,但现在是空的。您可以在 http://redmine.org/wiki/1/RedmineRepositories
We are starting to use Redmine as our task tracking tool and for some reason we can't have the same SVN and Redmine user logins. How can we map SVN user names to Redmine user names via configuration files or something else?
As all commits now are being performed by Anonymous, we can't track who was the committer for the revision.
Any ideas how we could fix this?
ADD:
In fact there is a paragraph in Redmine wiki about user mapping configuration, but it's empty now. You can find it at the bottom of http://redmine.org/wiki/1/RedmineRepositories
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此外,在存储库的项目设置中,右下角有一个名为“用户”的链接。这允许您将已提交的用户映射到 redmine 中的用户。如果登录名与 svn 作者匹配,它就会为您匹配。此信息自Redmine 0.9.1.stable起
Also in the project settings for repository there is on the lower right a link called users. That allows you to map users that have commits to the users in redmine. If the login name matches the svn author it does the match for you. This information is as of Redmine 0.9.1.stable
虽然我知道这只适用于 Windows 环境,但我们决定部署一个 Active Directory 实例,并通过 apache 对我们的 redmine 和 svn 安装使用 SSO。我想你应该能够使用任何 LDAP 服务器来做到这一点。
While I know this only works for a windows environment, we decided to deploy an Active Directory instance, and use SSO for both our redmine and svn installations via apache. I would imagine you should be able to do this using any ldap server.