Feature #1942

Spent time from commit

Added by Michael Pirogov over 13 years ago. Updated over 13 years ago.

Status:ClosedStart date:2008-09-24
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:-
Resolution:Duplicate

Description

I think it'll be nice to be able to commit spent time via SCM. Based on def scan_comment_for_issue_ids or by extending it.

Something like this:

Fixes #12. Spent 6 hours. <- adds 6 hours for spent time on issue number 12 and closes it.

Closes issue #52, #54. Spent 8 hours. <- adds 4 hours for spent time to issue 52 and 54. And closes both.

Commited a lot of stuff. Spent 10 hours. <- Does nothing, couse no issue number was provided

Possible problems:
Dunno what it'll do on repository refresh/remove+add?
Maybe we can add one more bool flag to time_entries table. For example: added_via_scm (true, false) to avoid wild multiplying hours.

What do you think? Is it possible?

History

#1 Updated by Jean-Philippe Lang over 13 years ago

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

Discussed and patch in #1518.

Also available in: Atom PDF