Patch #14438

Different identifier between repository and redmine project

Added by Tiffany C over 9 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:SCM extra
Target version:-


Right now, to use, both repository and Redmine project identifier must be same.
However, there is a case that both identifier/name are different.
To make it work, attached file is the changes I made to on Redmine2.3.1.

Simply, I added a RedmineProjectId field to define the redmine project id.
If this field is written in configuration file, use it for $project_id.

     RedmineDSN "DBI:mysql:database=databasename;host=my.db.server" 
     RedmineDbUser "redmine" 
     RedmineDbPass "password" 
     RedmineProjectId "redmine_project_id" 

Since I'm not a perl programmer, I don't know how to write a nice code...

If this kind of specification could be added to trunk, it would be helpful.

redmine_project_id.diff Magnifier (1.21 KB) Tiffany C, 2013-07-12 07:10

Also available in: Atom PDF