Commit Graph

12 Commits

Author SHA1 Message Date
Pat Thoyts 1dd26b76ea Allow the work-item association regex to be overridden by user config.
This is intended to resolve issue #512 by allowing the user git config to
redefine the regular expression used to match work-item id's in the commit
message. This is useful in those cases where a project may be using an
alternative system to track bug id's.

The user may define the git config variable git-tfs.work-item-regex to
use an alternate regular expression. If this is undefined or en empty
string then the built-in default is used (matching # followed by digits).
If the expression fails to compile then no matching will be attempted.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
2013-12-17 10:03:12 +00:00
Philippe Miossec 771f1e06f9 Reading author file in one place only 2013-11-19 14:34:50 +01:00
Philippe Miossec b7d45fd4e9 Associate tfs workitems with pattern #Workitem_id ( github style )
If Microsoft is doing it with TFS2013 and Git, why can't we do it!?!
2013-11-16 21:26:19 +01:00
Sean M. Collins cf7057f7cb Rework logic to not require the "action" keyword 2013-11-01 11:47:57 +08:00
Matt Burke 7888efd7ba Fix links to wiki. 2013-06-03 09:53:40 -04:00
Philippe Miossec 770656f44e Use saved author file for rcheckin commits 2013-05-22 17:01:55 +02:00
Jonas Boesch 896e7dd6e8 Refactored TryGetValue to FindAuthor
- Changed function signature as requested by sc68cal.
- Updated clients and tests.
2013-03-27 14:45:41 +01:00
Jonas Boesch a6ddcac865 Added authors to CommitSpecificCheckinOptionsFactory
- Added overloaded BuildCommitSpecificCheckinOptions that takes author parameter
- Added ProcessAuthors function that tries to map the git author to a tfs user id.
2013-03-26 14:09:50 +01:00
Kim Gybels d3c79e0e39 Support for security and performance reviewer
The following directives are supported from a commit message for
specifying checkin notes:
git-tfs-code-reviewer: John Smith
git-tfs-security-reviewer: John Smith
git-tfs-performance-reviewer: John Smith
2012-11-08 17:16:48 +01:00
Kim Gybels dd5c72ba9a Allow check-in notes to be set on the command line
New command line switches for rcheckin:
-c, --code-reviewer=VALUE  Set code reviewer
                             e.g. -c "John Smith"
-s, --security-reviewer=VALUE
                           Set security reviewer
                             e.g. -s "John Smith"
-p, --performance-reviewer=VALUE
                           Set performance reviewer
                             e.g. -p "John Smith"
2012-11-07 14:20:12 +01:00
Kim Gybels 18269ea59f Support for checkin notes
Specify the code reviewer in a commit message similarly to how
work items are associated, e.g.:
git-tfs-code-reviewer: John Smith
2012-11-06 22:52:37 +01:00
David Alpert 705d4d9f5b refactoring the generic caretaker into an explicitly passed and customized clone of the checkinoptions. 2012-09-10 09:38:18 -05:00