1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00
Commit Graph

10647 Commits

Author SHA1 Message Date
Rick Winfrey
6dc35dc455 Update gitmon fail status spec 2017-03-08 11:10:57 -08:00
Rick Winfrey
c4dd79717f Add withGitmonStatus 2017-03-08 10:49:44 -08:00
Rick Winfrey
5df5581507 Add GitmonException 2017-03-08 10:30:32 -08:00
Rick Winfrey
dd7fb995f1 Add safeGetCurrentDirectory
- If an exception is thrown performing the `getCurrentDirectory` IO
action, this defaults to an “” String value
2017-03-08 10:19:52 -08:00
Rick Winfrey
b8b1ef80e3 Merge pull request #1034 from github/gitmon-support-with-socket
Gitmon support with socket
2017-03-07 10:37:37 -08:00
Rick Winfrey
165dfcae04 Merge branch 'gitmon-support' into gitmon-support-with-socket 2017-03-07 10:36:43 -08:00
Rick Winfrey
bf2ed8a32a Remove user_id 2017-03-07 10:33:18 -08:00
Timothy Clem
bf48e443f4 Swap over to new reportGitmon and update tests to match 2017-03-07 08:46:44 -08:00
Timothy Clem
9959025d3b Use RankNType to implement socket factory 2017-03-06 14:19:48 -08:00
Timothy Clem
23a5374f4a Use a withSocket approach 2017-03-06 13:51:38 -08:00
Rick Winfrey
87014ed03a We don't need to track repo id 2017-03-06 11:09:24 -08:00
Rick Winfrey
338361b6c1 Report lookupBlob 2017-03-06 10:24:57 -08:00
Timothy Clem
313c32e323 Remove whitespace 2017-03-06 07:42:41 -08:00
Timothy Clem
32809f158a Merge remote-tracking branch 'origin/master' into gitmon-support 2017-03-06 07:32:05 -08:00
Timothy Clem
6bb1a8deb4 Merge pull request #1031 from github/rework-io
Refactor: Write output in one place and enable asserting that output in our tests
2017-03-06 07:22:01 -08:00
Timothy Clem
bffb9a1a58 Make em all parallel! 2017-03-02 14:19:32 -08:00
Timothy Clem
ef6ba4b673 Formatting 2017-03-02 14:08:16 -08:00
Timothy Clem
55faa92182 Quote message received from Gitmon 2017-03-02 14:01:13 -08:00
Timothy Clem
5c437cd253 Report specific message from gitmon 2017-03-02 13:59:13 -08:00
Timothy Clem
695afb494d Formatting and remove commented out code 2017-03-02 13:58:57 -08:00
Timothy Clem
443b4de54a Just some formatting 2017-03-02 13:35:51 -08:00
Timothy Clem
a676885ff0 Continue gitCommand if gitmon takes more than 1 sec to respond 2017-03-02 13:30:35 -08:00
Timothy Clem
b6be58f15f Handle schedule command response 2017-03-02 13:16:38 -08:00
Timothy Clem
b188f185ae Reformat 2017-03-02 11:56:33 -08:00
Timothy Clem
c6e91e29f5 throwIO after we close the socket instead of re-running the command 2017-03-02 11:53:38 -08:00
Timothy Clem
3f00f98a05 Make sure we release the gitmon socket, even if git command throws 2017-03-02 10:56:05 -08:00
Timothy Clem
74b093dd02 Refactor to one safeIO 2017-03-02 10:27:16 -08:00
Timothy Clem
ef9e7705c8 Use bracket to always cleanup socket pairs in specs 2017-03-02 10:22:22 -08:00
Timothy Clem
f327257b53 Add safeIOValue so we can still run gitCommand even if socket create fails 2017-03-02 10:22:02 -08:00
Rick Winfrey
4e9a00b5d7 🔥 redundant import 2017-03-01 17:37:54 -08:00
Rick Winfrey
45b43a2c07 🔥 unused reference 2017-03-01 17:26:55 -08:00
Rick Winfrey
aab16223af Close socket resources 2017-03-01 17:25:17 -08:00
Rick Winfrey
4e18d03b5b Clean up let 2017-03-01 17:25:03 -08:00
Rick Winfrey
80ceb1940e Add spec verifying git operation succeeds if the gitmon socket is not available 2017-03-01 17:24:43 -08:00
Rick Winfrey
42b96851fa 🔥 redundant imports and out of data field functions 2017-03-01 16:57:32 -08:00
Rick Winfrey
b0c6c9f8fc Add spec verifying JSON parsing of ProcessData constructors matches expected values 2017-03-01 16:53:13 -08:00
Rick Winfrey
31435689a9 Add update command spec 2017-03-01 14:48:39 -08:00
Rick Winfrey
0954699b12 Add happy path GitmonClient spec 2017-03-01 14:11:16 -08:00
Rick Winfrey
86e2698192 Rename ProcessStats -> ProcessData 2017-03-01 14:07:08 -08:00
Rob Rix
36e0d7f5d2 Merge branch 'master' into gitmon-support 2017-03-01 10:51:23 -05:00
Rob Rix
2cd497ae17 Merge branch 'master' into rework-io 2017-03-01 10:51:16 -05:00
Rob Rix
d0ebd48479 Merge pull request #1019 from github/interpreter-decomposition
Interpreter decomposition
2017-03-01 08:58:15 -05:00
Timothy Clem
fff9b6d3ef Refactor IO back out into Source and SemanticDiff 2017-02-28 15:45:38 -08:00
Timothy Clem
bfe1181acb Move Diff and Source Specs 2017-02-28 15:35:43 -08:00
Timothy Clem
4c3feecc77 Add ParseCommandSpec to validate parse output 2017-02-28 15:32:04 -08:00
Rick Winfrey
177a26b1ad Avoid explicitly naming each field for constructing ProcessBeforeStats 2017-02-28 15:31:55 -08:00
Rick Winfrey
08a474310f No longer pass Arguments to reportGitmon 2017-02-28 15:31:19 -08:00
Rick Winfrey
503cb15ef2 Add loadEnvVars function 2017-02-28 15:30:42 -08:00
Rick Winfrey
3cd8d626dc Use constructorTagModifier for generic GitmonCommand instance 2017-02-28 15:28:20 -08:00
Rick Winfrey
68fc139341 Use generic ToJSON instance for GitmonCommand 2017-02-28 15:28:05 -08:00