プロジェクト

全般

プロフィール

Vote #77990

未完了

Link Redmine Issues to Mercurial Branch name

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

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

0%

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

説明

In our company we start a new Mercurial branch for every feature request. Our branch naming looks like "RM1234" where 1234 is the issue concerned.

Rather rely on issue numbers embedded in commit messages which relies on developer discipline and I find is not always relable we made the attached patch to take the issue number directly from the branch name.

I hope this may be of interest to others.

RELATED NOTES

It is unfortunate that Reedmen does not feature branch names anywhere. Neither in the summary of change sets on the issue page nor even on the changes detail page is the name of the branch specified. For us this is highly desirable (much more so than the changes ID).

I could see no Category in this Redmine related to Version Control, Repository support or Mercurial but am assuming SCM is the correct category?


journals

Note: We have used this patch on versions 2.5.2 and 2.6.1 but not tested elsewhere.
--------------------------------------------------------------------------------
Could you move Mercurial specific code to derived model (e.g. Repository::Mercurial)?
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリSCM_3 にセット

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

いいね!0
いいね!0