プロジェクト

全般

プロフィール

Vote #74106

未完了

Different identifier between repository and redmine project

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM extra_46
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
46
version_id:
0
issue_org_id:
14438
author_id:
19890
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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.

Admin Redmine さんがほぼ4年前に更新

  • カテゴリSCM extra_46 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0