Patch #14438
Different identifier between repository and redmine project
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | SCM extra | |||
Target version: | - |
Description
Right now, to use Redmine.pm, 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 Redmine.pm 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.
Thanks.