1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
Commit Graph

11381 Commits

Author SHA1 Message Date
Timothy Clem
1dd54d35d9 Rework argument parsing to use subparsers and commands 2017-04-05 14:30:20 -07:00
Timothy Clem
275d413f96 Change binary name to just 'semantic' 2017-04-05 09:30:25 -07:00
Rob Rix
cf461facd7 Merge branch 'master' into command-dsl 2017-04-05 12:14:28 -04:00
Rob Rix
40f5f95e24 🔥 redundant imports. 2017-04-05 12:14:14 -04:00
Rob Rix
2e6376c655 Test that we parse in the specified language. 2017-04-05 11:44:10 -04:00
Rob Rix
6feeba197d Test that we fall back to line by line parsing. 2017-04-05 11:42:06 -04:00
Rob Rix
0063736924 Move the fixtures into the where clause. 2017-04-05 11:37:09 -04:00
Rob Rix
975856b00b Test that we get sensible results if we ask for nonexistent paths. 2017-04-05 11:34:52 -04:00
Rob Rix
ee12abb597 Test that we get the right blobs when we ask for specific paths. 2017-04-05 11:33:30 -04:00
Rob Rix
7d6c92dd34 Extract the expected state into a fixture type. 2017-04-05 11:33:21 -04:00
Rob Rix
9ec60d5ff4 Test that readFilesAtSHAs will fetch all paths if none are specified. 2017-04-05 11:23:13 -04:00
Rob Rix
a0a14dc859 Test that readFile returns Nothing for missing files. 2017-04-05 11:12:03 -04:00
Rob Rix
e67832ff78 Test that reading an extant file produces a blob with the appropriate path. 2017-04-05 11:11:09 -04:00
Rob Rix
7b6bf4f42b Stub in a spec. 2017-04-05 11:10:23 -04:00
Rob Rix
e962b27a3c Stub in a module for a Command spec. 2017-04-05 11:04:15 -04:00
Rob Rix
c6dc41e63b Open the repo multiple times, concurrently. 2017-04-05 10:20:11 -04:00
Rob Rix
42cd9e35ff Extract how we get blobs. 2017-04-05 09:41:31 -04:00
Rob Rix
acbe324a77 🔥 the trace events (for now). 2017-04-05 09:39:31 -04:00
Rob Rix
c9175254e7 Abstract out running a git command with alternate object dirs. 2017-04-05 09:38:18 -04:00
Josh Vera
613f8783ad Merge pull request #1071 from github/bump-gitlib
Bump gitlib
2017-04-04 19:23:47 -04:00
Rick Winfrey
d1225dc823 Bump gitlib 2017-04-04 16:21:23 -07:00
Rob Rix
5f1f82fb33 Define a MonadIO instance for Command. 2017-04-04 15:54:27 -04:00
Rob Rix
0762ff3408 Define a combinator to run a number of commands concurrently. 2017-04-04 15:46:51 -04:00
Rob Rix
31ffb0e640 🔥 a TODO. 2017-04-04 12:45:12 -04:00
Rob Rix
b304c7a1e2 Bump haskell-tree-sitter for faster FFI calls. 2017-04-04 12:33:42 -04:00
Rob Rix
a456af01e1 Our languages don’t call into Haskell. 2017-04-04 12:33:12 -04:00
Josh Vera
c5af0df5cf Merge pull request #1069 from github/bump-gitlib
bump gitlib for libgit2 0.25.1
2017-04-04 12:26:31 -04:00
joshvera
9c4f20e634 bump gitlib for libgit2 0.25.1 2017-04-04 11:08:51 -04:00
Rob Rix
f4f83895f6 Evaluate terms in parallel. 2017-04-04 11:00:37 -04:00
Rob Rix
b4d72cc62c Evaluate diffs in parallel. 2017-04-04 10:57:18 -04:00
Rob Rix
35cdc611ad Read files at SHAs in Both. 2017-04-04 10:46:04 -04:00
Rob Rix
15d899abed Run diffs in Both. 2017-04-04 10:42:51 -04:00
Rob Rix
5612624589 Tidy up the readFilesAtSHAs evaluator. 2017-04-04 10:25:10 -04:00
Rob Rix
e73ff7370f 🔥 the dependency on async-pool. 2017-04-03 22:46:41 -04:00
Rob Rix
b978f178c6 Merge branch 'command-dsl' of https://github.com/github/semantic-diff into command-dsl 2017-04-03 22:27:49 -04:00
Rob Rix
35a5644de9 🔥 redundant parens. 2017-04-03 22:27:44 -04:00
Rob Rix
14eeb3131d Merge branch 'master' into command-dsl 2017-04-03 22:23:26 -04:00
Rob Rix
43c2b696ed 🔥 redundant imports. 2017-04-03 22:21:12 -04:00
Rob Rix
ceecfa00b1 Simplify how we deal with empty source blobs. 2017-04-03 20:11:12 -04:00
Rob Rix
39abcaa282 Update the tests. 2017-04-03 20:09:02 -04:00
Rob Rix
ff4bfdb6ec Represent missing files in Maybe. 2017-04-03 20:01:08 -04:00
Rob Rix
d23251e8c7 Add a convenience to diff terms in Maybe. 2017-04-03 20:00:46 -04:00
Rob Rix
6fa40cd3f2 Don’t throw exceptions when reading in IntegrationSpec. 2017-04-03 19:29:08 -04:00
Josh Vera
a3394bfc89 Merge pull request #1068 from github/unlink-openssl
Verify we don't statically link openssl
2017-04-03 18:29:11 -04:00
joshvera
3c76cdc200 bump icu 2017-04-03 18:11:59 -04:00
Rob Rix
5082e01012 🔥 some redundant imports. 2017-04-03 17:42:35 -04:00
Rob Rix
151557a265 Port Command.Diff.Spec to Command. 2017-04-03 17:39:04 -04:00
Rob Rix
fbb899250a Replace the summaries maps with Summaries. 2017-04-03 17:15:58 -04:00
Rob Rix
3b457496a9 ReadFilesAtSHAs returns blobs in Both. 2017-04-03 16:46:13 -04:00
Rob Rix
48ddf53099 Port TOCSpec to Command. 2017-04-03 16:39:35 -04:00