Project

General

Profile

Actions

Feature #1942

closed

Spent time from commit

Added by Michael Pirogov about 16 years ago. Updated about 16 years ago.

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

0%

Estimated time:
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?

Actions #1

Updated by Jean-Philippe Lang about 16 years ago

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

Discussed and patch in #1518.

Actions

Also available in: Atom PDF