1
1
mirror of https://github.com/github/semantic.git synced 2025-01-09 00:56:32 +03:00
Commit Graph

10720 Commits

Author SHA1 Message Date
Timothy Clem
fec1b2317a Outdent again to make diff readable 2017-03-10 11:18:24 -08:00
Timothy Clem
58c49f4a9b Use STArray instead of IntMap 2017-03-10 09:54:17 -08:00
Timothy Clem
28c8f6a182 Use IntMap now that our keys are just Ints 2017-03-10 08:41:45 -08:00
Rick Winfrey
f21610d038 Merge branch 'master' into gitmon-support 2017-03-09 13:53:13 -08:00
Rick Winfrey
10af2e4715 Add 📝 use of BangPatterns 2017-03-09 13:52:30 -08:00
Timothy Clem
25373ae71b Merge branch 'master' into cantor-keys 2017-03-09 09:50:17 -08:00
Timothy Clem
328ee8c2d9 Merge pull request #1036 from github/bytestring-sexpression-output
Use ByteString for parse output (sexpression, json)
2017-03-09 09:49:37 -08:00
Timothy Clem
9eb900b260 Simplify so there's no need to pass in i and j 2017-03-09 09:44:44 -08:00
Timothy Clem
7cb2ed8c25 Try using a single int as map key using cantor pairs 2017-03-09 09:21:57 -08:00
Timothy Clem
cf390cdfba Cleanup encodingToText 2017-03-08 14:57:17 -08:00
Timothy Clem
8bf09776e4 toS is a little cleaner here 2017-03-08 14:45:47 -08:00
Timothy Clem
c6be51156d Whitespace 2017-03-08 14:02:52 -08:00
Timothy Clem
68d1f1cd97 Fix up tests to use ByteString too 2017-03-08 13:56:08 -08:00
Timothy Clem
0cc056c06b Straightforward json encoding 2017-03-08 13:40:27 -08:00
Timothy Clem
58889e1038 Newline on end of JSON output, no longer pretty 2017-03-08 13:26:20 -08:00
Timothy Clem
a62b720dad Sexpression output is not text anymore 2017-03-08 13:10:10 -08:00
Timothy Clem
569fdd031b Construct sexpression output with ByteString 2017-03-08 11:40:37 -08:00
Timothy Clem
853e71495f Update transcode docs 2017-03-08 11:40:30 -08:00
Rick Winfrey
df45a039c7 Merge branch 'master' into gitmon-support 2017-03-08 11:40:25 -08:00
Rick Winfrey
7799f3f5ee Wrap sending of process stats to gitmon with timeout
- In the event sending to the socket blocks we can timeout the
operation.
2017-03-08 11:36:44 -08:00
Rick Winfrey
0192162adb Wrap connecting to socket with timeout 2017-03-08 11:35:06 -08:00
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
Timothy Clem
3647e740f7 Render sexpression output as ByteString 2017-03-07 14:08:32 -08:00
Timothy Clem
eecca0915c Better name for output argument 2017-03-07 14:01:46 -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