Project

General

Profile

Actions

Patch #14438

open

Different identifier between repository and redmine project

Added by Tiffany C over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM extra
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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.


Files

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

No data to display

Actions

Also available in: Atom PDF