Project

General

Profile

Actions

Feature #1518

closed

Log time via commit messages

Added by Jonas von Andrian almost 16 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
SCM
Target version:
-
Start date:
2008-06-23
Due date:
% Done:

50%

Estimated time:
Resolution:

Description

Hello

I use the log time feature quite often and am getting used to insert the time in my commit comments.

So i got the idea if it would be possible to automatically log the time if a ticket is referenced.

The syntax may be:

  refs #213
  time 1.5

  the rest of my message

So ticket 213 gets a log with "the rest of my message"

If there are multiple references the time is equally distributed

Perhaps it would make sense to create an extra keyword for the log message too

  refs #123
  time 1,5
  log short log message

  the rest of my commit message

If someone would be kind enough to point me in the right direction i am more than willing to do this myself, because it would save me time in the long run.

Jonas


Files

patch_commit_messages.diff (21.9 KB) patch_commit_messages.diff Jonas von Andrian, 2008-07-03 19:41
patch_commit_messages2.diff (21.9 KB) patch_commit_messages2.diff Jonas von Andrian, 2008-07-03 20:07
patch_commit_messages3.diff (22.6 KB) patch_commit_messages3.diff Jonas von Andrian, 2008-07-03 21:44
patch_commit_messages4.diff (24.1 KB) patch_commit_messages4.diff Jonas von Andrian, 2008-07-06 18:38
logtime_changeratio_via_commit-message-r1926.diff (23 KB) logtime_changeratio_via_commit-message-r1926.diff Rebased patch against r1926. Mischa The Evil, 2008-10-06 02:12
logtime_changeratio_via_commit-message_extended-r1926.diff (27.1 KB) logtime_changeratio_via_commit-message_extended-r1926.diff Extended patch against r1926. Mischa The Evil, 2008-10-06 02:12
logtime_changeratio_via_commit-message_extended-r2118-Alpha.diff (15.8 KB) logtime_changeratio_via_commit-message_extended-r2118-Alpha.diff Alpha-patch against trunk@r2118 Mischa The Evil, 2008-12-10 02:31

Related issues

Related to Redmine - Feature #2639: Easier time reportingClosedJean-Philippe Lang2009-02-01

Actions
Related to Redmine - Feature #1088: Time logging via commit messagesClosed2008-04-22

Actions
Related to Redmine - Feature #1232: Referencing and fixing issues in commit messagesNew2008-05-13

Actions
Related to Redmine - Feature #4155: Automatic spent time logging from commit messagesClosedJean-Philippe Lang2009-11-02

Actions
Actions

Also available in: Atom PDF