1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

28400 Commits

Author SHA1 Message Date
Patrick Thomson
fcc8580ca4
Merge pull request #12 from github/add-docs
Add docs
2019-05-31 16:47:50 -04:00
joshvera
5addbd68d7 Remove some dead links 2019-05-31 16:13:30 -04:00
joshvera
c69933e640 Add assignment.md doc
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
Co-Authored-By: Rob Rix <robrix@github.com>
2019-05-31 16:10:20 -04:00
joshvera
fd927c5f8b Add protip doc
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
Co-Authored-By: Rob Rix <robrix@github.com>
2019-05-31 16:09:29 -04:00
joshvera
9be9cb3f53 Add development.md 2019-05-31 16:05:29 -04:00
joshvera
4106d33e35 Add why-tree-sitter.md
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2019-05-31 16:04:41 -04:00
joshvera
26676a9654 Add why-haskell.md
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2019-05-31 16:04:17 -04:00
joshvera
899efacbd0 Add program-analysis.md
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
Co-Authored-By: Rob Rix <robrix@github.com>
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2019-05-31 16:02:12 -04:00
joshvera
c7a1f1d307 Add grammar-development-guide 🎩 @aymannadeem
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2019-05-31 16:01:39 -04:00
Patrick Thomson
fa78c7c5ff
Merge pull request #5 from github/simplify-project-type
Simplify Data.Project.
2019-05-31 15:25:14 -04:00
Patrick Thomson
07fb2cb8a6
Merge pull request #6 from github/update-getting-started-instructions
Update README with more explicit instructions for getting started.
2019-05-31 13:32:15 -04:00
Patrick Thomson
484a1b8e83 new-update is technically more correct. 2019-05-31 13:31:30 -04:00
Patrick Thomson
15600ee054 Update README with more explicit instructions for getting started.
:hat: to @jaredmorrow for pointing out you need these if you've just
installed a fresh GHC.
2019-05-31 13:19:47 -04:00
Patrick Thomson
c2b46a6aba Simplify Data.Project.
We don't need this to be parameterized in terms of the filepath and
container type, because we no longer generate protobuf code from this
structure.

This should have no impact on tests or output.
2019-05-31 13:13:56 -04:00
Patrick Thomson
a7f6806298 Fix cabal build. (#4)
- Remove cmark-gfm direct dependency.
- Fix submodule paths.
- Pin to versioned fused-effects packages.
2019-05-31 08:58:35 -04:00
Douglas Creager
cf803555e5 Make error reporter API generic
Instead of hard-coding the HTTP API we use for uploading errors to our
internal service, let the user provide an arbitrary function (in the IO
monad) for uploading them.  The default config will create an error
reporter that logs errors to the console, just like happened before if
you didn't set the `HAYSTACK_URL` environment variable.
2019-05-31 08:58:34 -04:00
Patrick Thomson
b2bbda5fca Specify version bounds in .cabal file (#1)
Establish library bounds based on Stackage LTS 13.13.

We use the new cabal `^>=` operator to establish PVP-compatible versioning.
2019-05-31 08:58:17 -04:00
Douglas Creager
0f01935571 Add contributor and licensing notes to README 2019-05-31 08:37:44 -04:00
Douglas Creager
e707bad694 Add a README 2019-05-31 08:37:44 -04:00
Douglas Creager
afea75f86f Add license and maintainer to cabal file 2019-05-31 08:37:44 -04:00
Douglas Creager
d8ea048eea Add code of conduct 2019-05-31 08:37:44 -04:00
Douglas Creager
b1bc557d6b Use MIT license for code 2019-05-31 08:37:44 -04:00
Douglas Creager
66bb52dc7f Add contribution instructions 2019-05-31 08:37:44 -04:00
Patrick Thomson
97e38ae1c1 Merge pull request #2555 from github/remove-tagger
Remove Tagger mini-DSL.
2019-05-29 11:35:11 -04:00
Patrick Thomson
c34319c82e Fix lints. 2019-05-29 10:45:53 -04:00
Patrick Thomson
db8935d317 Merge remote-tracking branch 'origin/master' into remove-tagger 2019-05-29 10:38:21 -04:00
Patrick Thomson
4c033bbd1e Merge pull request #2553 from github/test-reading-from-git-repos
Add tests for readBlobsFromGitRepo.
2019-05-29 02:39:51 -04:00
Patrick Thomson
cbfab762d5 Merge branch 'master' into test-reading-from-git-repos 2019-05-29 02:20:25 -04:00
Patrick Thomson
4cf56017fa Merge branch 'test-reading-from-git-repos' of github.com:github/semantic into test-reading-from-git-repos 2019-05-28 15:52:06 -04:00
Patrick Thomson
0e13a4c091 These can be in parallel because we're not changing the cwd. 2019-05-28 15:49:43 -04:00
Patrick Thomson
7f3dd3e80a Merge branch 'master' into test-reading-from-git-repos 2019-05-28 15:43:38 -04:00
Patrick Thomson
e4143aaa34 slightly less heinous implementation 2019-05-28 15:43:14 -04:00
Patrick Thomson
d3d2ab7200 Merge pull request #2550 from github/clean-up-tagging-internals
Remove Error effect from tagging internals.
2019-05-28 15:35:34 -04:00
Patrick Thomson
e77d723859 try to fix the builders 2019-05-28 15:34:31 -04:00
Patrick Thomson
00e7ceb883 Fix dead imports. 2019-05-28 14:58:37 -04:00
Patrick Thomson
a410300492 Add tests for readBlobsFromGitRepo.
This is part of the critical path for repository tagging, so we should
test it to make sure it doesn't explode. This introduces a test that
creates a temporary git repo and queries it to make sure that adding
and then reading from a blob works properly.
2019-05-28 14:54:18 -04:00
Patrick Thomson
db9f7c3cb9 Merge remote-tracking branch 'origin/master' into remove-tagger 2019-05-28 12:41:24 -04:00
Patrick Thomson
2dd7cf5d58 Merge branch 'master' into clean-up-tagging-internals 2019-05-28 12:29:42 -04:00
Patrick Thomson
4a11c8ba8c Merge pull request #2551 from github/remove-dynamic-flag
Remove -dynamic flag from cabal file.
2019-05-28 12:29:29 -04:00
Patrick Thomson
a0f87c3c12 Remove -dynamic flag from cabal file.
We originally put this here because we were recompiling
haskell-tree-sitter on every ghci reload, and it sped up the process
of linking the built haskell-tree-sitter into ghci. Now that we
compile haskell-tree-sitter once, its use is no longer applicable, and
it interferes with profiling builds.
2019-05-28 12:12:12 -04:00
Patrick Thomson
0c9f71f822 Merge branch 'master' into clean-up-tagging-internals 2019-05-28 11:37:02 -04:00
Patrick Thomson
cb2dfbbb19 Merge pull request #2538 from github/update-ci
Update CI build names to semanticd
2019-05-28 11:36:48 -04:00
Patrick Thomson
830297cdb1 Remove Tagger DSL.
This doesn't do anything that just using Machine and Plan would do
more efficiently and with fewer LoC.
2019-05-27 09:50:32 -04:00
Patrick Thomson
4191f8a75c Fix tests. 2019-05-25 14:54:26 -04:00
Patrick Thomson
af1f95f1d3 Remove Error effect from tagging internals.
This code was based on code I wrote for the reprinter, which had
different correctness constraints than does the tagging system:
specifically, the tagging code does not fail, as there is a
recoverable result even if we get pathological input. As such, there's
no need to wrap this in an Either that is always Right.
2019-05-25 14:33:18 -04:00
Douglas Creager
2854065c89 Merge branch 'master' into update-ci
* master:
  Stop publishing binaries to S3
  I guess GHC thinks these UNPACKs are unusable.
  legacyMakeBlob => makeBlob. Also unpack File.
  If we're not gonna rename File, give Blob the logical field name.
  Fix shadowing issues.
  Fix shadowing issues.
  Fix all the test cases.
  absolutely massive patch that touches everything
2019-05-24 13:23:56 -04:00
Douglas Creager
bd2ed8358a Merge branch 'master' into update-ci
* master:
  Ensure parse-examples gets passed the -threaded flag.
  Disable optimizations for Util and REPL to speed up -O1 builds.
  redundant import
  fix lints
  unused import
  fix whitespace
  Second pass, imposing an export list.
  Disable functions in Semantic.Util not used by specs or tests.
  donut snake case
  Decouple DistributeC from LiftC IO.
  lints
  Rethrow posix signals to the main thread
2019-05-24 13:14:33 -04:00
Douglas Creager
1e920c8980 Merge pull request #2546 from github/remove-aws
Stop publishing binaries to S3
2019-05-24 13:03:36 -04:00
Douglas Creager
b239ce7413 Merge branch 'master' into remove-aws 2019-05-24 12:55:41 -04:00
Patrick Thomson
000fce4485 Merge pull request #2543 from github/blob-depends-on-file
Refactor: simplify Blob innards
2019-05-24 12:54:35 -04:00