Commit Graph

9804 Commits

Author SHA1 Message Date
Mitchell Rosen
50ae4af63c commit in runWriteTransaction 2022-04-12 13:15:38 -04:00
Mitchell Rosen
53beb4ab3b ⅄ trunk → 21-12-04-use-unison-sqlite 2022-04-11 14:50:09 -04:00
Mitchell Rosen
1aef8505f6 get migrations type-checking 2022-04-11 12:43:41 -04:00
Mitchell Rosen
65ee941b0e migration work 2022-04-08 22:28:50 -04:00
Mitchell Rosen
49d4f295a9
Merge pull request #3032 from unisonweb/cp/syncm-concrete
Sync HTTP client
2022-04-08 15:50:30 -04:00
Mitchell Rosen
e2b6dd36d8 work on migrating migrations 2022-04-07 23:41:31 -04:00
Mitchell Rosen
dce743aa61 fix the undefineds in SqliteCodebase.hs 2022-04-07 22:47:34 -04:00
Mitchell Rosen
bcf5d15e0b simplify processBranches 2022-04-07 22:40:23 -04:00
Mitchell Rosen
186b76530a refactor syncInternal to use transaction tech 2022-04-07 22:19:10 -04:00
Mitchell Rosen
af9be6743c generalize 2022-04-07 21:50:33 -04:00
Mitchell Rosen
4c66cc7bc4 more runTransaction variants 2022-04-07 19:32:47 -04:00
Mitchell Rosen
ff89287e90 add runWriteTransaction 2022-04-07 19:11:44 -04:00
Chris Penner
e3168ee30b
Use stack test suites (#2656)
* Give tests independent names and use stack test suites

* Update parser-typechecker tests in ci

* Update testing instructions and check.sh
2022-04-07 10:16:13 -06:00
Cody Allen
a15c047ab0
Merge pull request #3033 from Sgeo/patch-1
Fix move.namespace documentation
2022-04-07 03:10:14 -07:00
mergify[bot]
cd6961c3dc
Merge pull request #3003 from unisonweb/topic/contained-ns
Switch parsing and `find` to by default use only names in the current namespace
2022-04-07 07:09:24 +00:00
Sgeo
1d2432c77b
Fix move.namespace documentation 2022-04-07 02:25:50 -04:00
Paul Chiusano
ce37178aa4 refresh a transcript 2022-04-07 00:53:34 -05:00
Paul Chiusano
b8a688aac4 tweak output messages + refresh transcripts 2022-04-07 00:48:53 -05:00
Paul Chiusano
2a47fdfa09 lib segment ranking 2022-04-07 00:42:59 -05:00
Mitchell Rosen
4b9608b66f more work towards transactional layer underneath codebase abstraction 2022-04-07 00:20:17 -04:00
Paul Chiusano
f9898f0b4d names and names.global commands 2022-04-06 21:50:47 -05:00
Mitchell Rosen
37c55418a3 make lca just use the one connection 2022-04-06 22:19:24 -04:00
Chris Penner
3aca147a82 Implement sync http client 2022-04-06 15:48:59 -06:00
Paul Chiusano
bf71fd477a transcript refresh 2022-04-06 16:20:44 -05:00
Paul Chiusano
15a3eee95a Merge remote-tracking branch 'origin/trunk' into topic/contained-ns 2022-04-06 16:15:01 -05:00
Paul Chiusano
4284f12897 fix up transcripts 2022-04-06 16:12:07 -05:00
Mitchell Rosen
d6d2cca918 add streaming queries 2022-04-06 14:35:06 -04:00
Cody Allen
428f1a7e9b
Merge pull request #3031 from unisonweb/fix/pop-serial
Make POp serialization more reliable
2022-04-06 11:14:44 -07:00
Dan Doel
f3c7dea316 Make POp serialization more reliable
There was a huge list of all the ops associated with numbers used to
serialize them, but there was no way to check that every POp was in the
list (and some were actually missing). Instead, use a function from POp
to number so that the coverage checker can complain if a new op is
added. Then the list is generated from the Enum/Bounded instances.
2022-04-06 11:02:55 -04:00
Mitchell Rosen
57f0d938f5 start building out Unison.Codebase.SqliteCodebase.Operations 2022-04-06 09:26:44 -04:00
Paul Chiusano
b35035d73c Merge remote-tracking branch 'origin/trunk' into topic/contained-ns 2022-04-05 16:21:30 -05:00
Paul Chiusano
68d2c4b924
Merge pull request #3029 from iamevn/topic/getSomeBytes
Add `io.getSomeBytes.impl` built-in
2022-04-05 10:13:04 -05:00
Mitchell Rosen
fa57bd72e8 rewrite Queries/Operations to use Transaction 2022-04-05 10:48:52 -04:00
iamevn
fdddfacc7c stack exec transcripts 2022-04-04 15:56:08 -07:00
iamevn
ccd2edbbd0 edit transcripts to test io.getSomeBytes 2022-04-04 15:55:44 -07:00
iamevn
04846d3b7d Add builtin for reading bytes from a handle without blocking. 2022-04-04 15:26:32 -07:00
Mitchell Rosen
fddb55ba3c remove Unison.Sqlite.DB from unison-sqlite 2022-04-04 11:51:07 -04:00
Mitchell Rosen
5c56e90764 ⅄ trunk → 21-12-04-use-unison-sqlite 2022-04-04 10:57:09 -04:00
Mitchell Rosen
3e2a1fc7ed pretty-print exceptions in default exception handler 2022-04-04 10:30:35 -04:00
Mitchell Rosen
548caaebc4
Merge pull request #3022 from unisonweb/22-03-31-warning-free-ghci
Use explicit deriving strategies where it's ambiguous
2022-04-04 10:07:32 -04:00
mergify[bot]
9a2e90e67e
Merge pull request #3025 from unisonweb/cp/monadunliftio
Add MonadUnliftIO to unison-prelude
2022-04-01 23:19:43 +00:00
Chris Penner
298397503a Remove toIO from prelude 2022-04-01 16:07:25 -06:00
mergify[bot]
d1c4f75b6f
Merge pull request #3024 from unisonweb/fix/code-serial
Fix a bug with code serialization.
2022-04-01 17:34:08 +00:00
Chris Penner
d728a7aaee Add MonadUnliftIO to unison-prelude 2022-04-01 10:59:56 -06:00
Dan Doel
be006ae5d0 Fix a bug with code serialization.
Get group was associating variables with local functions incorrectly. I
had anticipated the right approach, but mistakenly didn't use it.
2022-04-01 12:18:19 -04:00
Chris Penner
52da285bf6
Add unison-share-api package with Sync APIs (#3018) 2022-04-01 10:14:01 -06:00
Chris Penner
443e1bf5b7
Merge pull request #3023 from unisonweb/cp/lockfiles
Commit stack.yaml.lock as is recommended.
2022-04-01 09:54:53 -06:00
Mitchell Rosen
ef3282b381 simplify throwing decoding error ceremony a bit 2022-04-01 11:03:26 -04:00
Chris Penner
1eaebf3709 Commit stack.yaml.lock as is recommended.
https://docs.haskellstack.org/en/stable/lock_files
2022-03-31 15:23:49 -06:00
Chris Penner
2742128905
Merge pull request #2994 from juhp/juhp-patch-1
stack.yaml: update to final lts-18.28 snapshot
2022-03-31 14:57:07 -06:00