Commit Graph

40 Commits

Author SHA1 Message Date
Matt Burke ea7c82c038 Show timing information in debug output. 2013-06-08 07:48:25 -04:00
Matt Burke b1c7793fb4 Merge pull request #385 from sc68cal/docs and spraints/docs
Move docs from the wiki to the repo.
2013-06-04 11:08:06 -04:00
Matt Burke 7888efd7ba Fix links to wiki. 2013-06-03 09:53:40 -04:00
Matt Burke 2d612bc19c Extract the ignore logic.
Working towards #381 and #not-a-hack.
2013-06-03 08:36:23 -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 5421b73520 Made BuildGitUserId public static
Clients can now transform git author name/email tuples into a lookup key.
2013-03-27 10:57:39 +01:00
Jonas Boesch 114a62bc09 Identification of git users for git-tfs user mapping now only uses email address.
This was done to avoid mismatches when enforced Active Directory naming rules and developer's chosen name formatting did not match up.
2013-03-26 15:36:31 +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
Jonas Boesch 4ef8c0e382 Updated AuthorsFile.cs to allow bidirectional mapping between git author tuple and a tfs user id. 2013-03-26 13:42:31 +01:00
Philippe Miossec 0d8f7fc451 Just a little adjustment on trace when trying to read an Authors File 2012-12-15 13:08:23 +01:00
Philippe Miossec 12617efec0 Save and re-use author file until overwritten 2012-12-04 13:42:09 +01:00
Philippe Miossec 5f4479241b Use author file to manage author mapping in init-branch command 2012-12-04 13:20:31 +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
David Alpert 532fa266ab adding support for a git-tfs-force: special action in git commit messages 2012-09-04 04:22:34 -05:00
David Alpert edd0cd4deb refactoring the Rcheckin command to lean on the GenericCaretaker via a CheckinOptionsHelper when processing special actions in commit messages to associate and resolve work items 2012-09-04 04:22:29 -05:00
David Alpert 3693943235 adding a caretaker 2012-09-04 04:03:38 -05:00
Ed F db9044d971 Added ability to comment line in AuthorsFile.
Renamed tests to start with AuthorsFile instead of "Test"
Added tests for international author names.
2012-08-27 20:42:44 -04:00
Richard Birkby 641c1b860c Make the authors file username lookup case insensitive
Fixes issue 209
2012-08-16 15:08:21 +01:00
Ed F 5cca260cda Add AuthorsFile.cs and associated unit test.
--AuthorsFile parameter added to the Fetch command and is registered as a singleton.
--Unit tests test the regex of the line parsing.
Updated logic around parsing the original changeset owner.  This was needed to properly identify a user who had been deleted from TFS without the need for an AuthorsFile.
2012-07-31 23:59:43 -04:00
Matt Burke 71dfe64693 Use TemporaryFile for downloaded files. 2012-05-21 10:53:22 -04:00
ivan-danilov 2bfd3575db Added catch for UnauthorizedAccessException also and some tracing 2011-11-23 20:27:00 +02:00
ivan-danilov 9362bdf099 Added defensive temporary file removal even if caller not called Dispose() 2011-08-06 18:59:05 +03:00
ivan-danilov d6e4335da0 Renamed file to match class name 2011-08-06 03:32:33 +03:00
ivan-danilov e1d1326e54 Reworked TemporaryFile class (#55 fixed also) 2011-08-06 03:32:24 +03:00
Matt Burke 4be96c3a45 Added a verify command. 2011-01-28 15:35:26 -05:00
Matt Burke c96eca911b All newlines are unix (in the repo). 2011-01-27 16:40:32 -05:00
Matt Burke 67908e912f Resolved build warnings. 2011-01-27 16:30:03 -05:00
Matt Burke 05aa802e65 Simplified the 'make a call to another assembly's internals' stuff. 2011-01-27 15:00:38 -05:00
Matt Burke 0bc77aa30c Add GitTfsException for showing short error messages. 2011-01-27 14:59:05 -05:00
Matt Burke d93049affe Add GitTfsCommandRunner to help make GitTfsCommands' APIs more sane. 2011-01-26 16:54:35 -05:00
Matt Burke 1985919692 Elminate use of ObjectFactory. 2011-01-26 16:19:09 -05:00
Nathan Roe 9634252bde Added command aliasing
Conflicts:

	GitTfs/GitTfs.csproj
2010-12-14 22:15:57 -05:00
Matt Burke 0bc16f555e Added a basic shelve implementation. 2009-09-08 14:18:02 -04:00
Matt Burke 4410e6737d Added stuff required for the benchmarks to compile. 2009-08-06 15:52:12 -04:00
Matt Burke 5e4d7841b7 Got git to handle line-ending junk. Made stderr noisier from git commands. 2009-07-16 13:37:25 -04:00
Matt Burke ad85636e58 A little refactoring, and got the TFS commits to show up in a remote branch. 2009-07-15 16:02:04 -04:00