Project

General

Profile

Actions

Defect #7593

closed

Git: Associated revisions in issue view doesn't use the Referencing keywords

Added by Matthias Neubert almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-02-09
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hello,

in Redmine 1.10 and 1.11 I found that using GIT as SCM
the linking of commits and the Issue using " keyword #123 " only
works for keyword refs (eg. ref #234) , but not for others, e.g. IssueID or any self defined keywords.
Only when writing refs # 123 in "Associated revisions" in the issue #123 the commit is listed.

Is it a question of a redmine setting or is it a real bug?


Files

setting.png (31.8 KB) setting.png Toshi MARUYAMA, 2011-02-17 15:53
hg-repo.png (37.9 KB) hg-repo.png Toshi MARUYAMA, 2011-02-17 15:53
issue.png (35.4 KB) issue.png Toshi MARUYAMA, 2011-02-17 15:53
Actions #1

Updated by Matthias Neubert almost 14 years ago

I guess it is a bug. Can someone confirm that this is the case (at least using a git repository)

btw. : I forgot to set cathegory SCM and now I cannot change anymore

Actions #2

Updated by Toshi MARUYAMA almost 14 years ago

  • Category set to SCM
Actions #3

Updated by Toshi MARUYAMA almost 14 years ago

  • Subject changed from Associated revisions in issue view doesn't use the Referencing keywords to Git: Associated revisions in issue view doesn't use the Referencing keywords

Git has 7 days problem #7146.

Actions #4

Updated by Matthias Neubert almost 14 years ago

Its not the 7 days Problem. Also we don't have problems gettings references to commits in not-master branches.
As long as we use "refs" in commit message everything works fine.
But "IssueID" an every other keyword does not work.

btw: when in repository view the #12345 is linked correctly to the issue 12345 in the commit messages.
The problem is the way back: listing commits in issue view by using other keywords than refs or even none (which would be best for me) using the special Keyword IssueID.

Used components:
Git 1.7.3.1
Redmine 1.1.0
MySQL

Actions #5

Updated by Toshi MARUYAMA almost 14 years ago

It works fine on my Mercurial test repository.

Actions #6

Updated by Toshi MARUYAMA almost 14 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

You can use '*' in setting.
For example.
https://www.chiliproject.org/issues/170

Actions #7

Updated by Matthias Neubert almost 14 years ago

Hello,

is it possible that changing the reference keyword (e.g. to * , which I already tried)
only affects new commits, which happen after setting the keyword to * ?
Is there a rake command to run refresh all these tickets to use the new * as reference key?

regards
Matthias

Actions #8

Updated by Toshi MARUYAMA almost 14 years ago

No.
There is feature issue #1273.

Actions #9

Updated by Matthias Neubert almost 14 years ago

I ll try this as an workarround:
"I had to delete the repository from the project and re-add it to get the associations updated."

Actions #10

Updated by Matthias Neubert almost 14 years ago

Works!

Actions

Also available in: Atom PDF