Commit Graph

808 Commits

Author SHA1 Message Date
Richard Marko
01f26b359a remote: switch Field_LogStr from ByteString to Text 2023-11-30 06:59:59 +01:00
Richard Marko
3cac7e9867 remote: align HasStoreStocket method (storeSocket -> hasStoreSocket) 2023-11-30 06:59:59 +01:00
John Ericson
aba9b4531e remote: add serializers for ProtoVersion
Co-Authored-By: Richard Marko <srk@48.io>
2023-11-30 06:59:59 +01:00
Richard Marko
d414386f52 remote: add Serializer Derivation 2023-11-30 06:59:59 +01:00
Richard Marko
5c9f7ad70e remote: switch controlParser to Serializer Logger 2023-11-30 06:59:59 +01:00
Richard Marko
fb02185c29 remote: add LoggerOpCode 2023-11-30 06:59:59 +01:00
Richard Marko
2462c9ee90 remote: Serializer - add maybeActivity 2023-11-30 06:59:59 +01:00
Richard Marko
f48c7327b7 remote: add Activity and ActivityResult enums 2023-11-30 06:59:59 +01:00
Richard Marko
4a4625883f remote: Serialize.Prim - add toEnumCheckBounds util 2023-11-30 06:59:59 +01:00
Richard Marko
79310d5b7b remote: add NixSerializerSpec 2023-11-30 06:59:59 +01:00
Richard Marko
751669cd0d remote: init NixSerializer
Co-Authored-By: John Ericson <John.Ericson@Obsidian.Systems>
2023-11-30 06:59:59 +01:00
Richard Marko
edaa343522 remote: (get|put)Int, use Integral 2023-11-30 06:59:59 +01:00
John Ericson
2b3afbffb5 remote: init Serializer
Co-Authored-By: Richard Marko <srk@48.io>
2023-11-30 06:59:59 +01:00
Richard Marko
9ac9d497d3 remote: safer getBool, getEnum 2023-11-30 06:59:59 +01:00
Richard Marko
25bd0f104c remote: parallel tests 2023-11-30 06:59:59 +01:00
Richard Marko
0a0e4a6793 remote: Arbitrary and Serialize for ActivityID, Field, props 2023-11-30 06:59:59 +01:00
Richard Marko
5ea5b82b59 prefix BuildMode and BuildResult constructors 2023-11-30 06:59:59 +01:00
Richard Marko
a3e3840d9b remote: add Arbitrary, Verbosity prop and enum tests 2023-11-30 06:59:59 +01:00
Richard Marko
cb255d4203 remote: expand Logger with fields 2023-11-30 06:59:59 +01:00
Richard Marko
96cbe1178d remote: add Types.Verbosity 2023-11-30 06:59:59 +01:00
John Ericson
64a4368dfd remote: move StoreMonad to MonadStore 2023-11-30 06:59:59 +01:00
Richard Marko
760408093e remote: Types.Logger 2023-11-30 06:59:59 +01:00
Richard Marko
4f40e0574a remote: move and rename (CheckFlag|SubstituteFlag) to Types.(Check|Substitude)Mode 2023-11-30 06:59:59 +01:00
John Ericson
7cd4adde40 remote: Util -> Socket 2023-11-30 06:59:59 +01:00
John Ericson
ab201da448 remote: move StoreConfig to Types.StoreConfig, extend, add PreStoreConfig 2023-11-30 06:59:59 +01:00
Richard Marko
7590e2bec4 remote: move WorkerOp to Types.WorkerOp 2023-11-30 06:59:59 +01:00
Richard Marko
93d923eafb remote: complete binary -> cereal transition 2023-11-30 06:59:59 +01:00
Richard Marko
655afaa2f8 remote: squash whitespace 2023-11-30 06:59:59 +01:00
John Ericson
e4271d6929 remote: add ProtoVersion 2023-11-30 06:59:59 +01:00
John Ericson
ca5faba4ba Bidirectional worker op
Use dummy enum variants to fill the gaps so the Enum instance works

Co-Authored-By: Dan Bornside <dan.bornside@gmail.com>
2023-11-30 06:59:59 +01:00
Richard Marko
a2397f5b3f remote: sort deps in cabal file 2023-11-30 06:59:59 +01:00
Richard Marko
92b83e8258
Merge pull request #270 from haskell-nix/srk/ci
CI updates
2023-11-29 21:16:37 +01:00
sorki
d78ce4aa3c remove dependabot 2023-11-29 18:20:13 +01:00
sorki
f2f6541f15 ci: update, restore cachix step 2023-11-29 18:19:03 +01:00
sorki
134f1313af cabal.project: test: true benchmarks: true 2023-11-29 18:19:03 +01:00
Richard Marko
0c692e9afe
Merge pull request #267 from haskell-nix/docs
init docs
2023-11-29 05:35:08 +01:00
sorki
43711d4592 init docs
Closes #250
2023-11-28 17:11:42 +01:00
Richard Marko
d8e337513f
Merge pull request #264 from squalus/fingerprint
core: add fingerprints
2023-11-27 14:12:00 +01:00
Richard Marko
12fa758ae5 core: fix fingerprint functions haddock 2023-11-27 07:45:31 +01:00
squalus
ac7184be2c core: add fingerprints 2023-11-26 11:36:18 -08:00
Richard Marko
c1d45dcd9c
Merge pull request #260 from vaibhavsagar/updateExecutablePermissions
Set executable permissions once instead of multiple times
2023-11-26 06:43:43 +01:00
Vaibhav Sagar
408cf093ea Set executable permissions once instead of multiple times 2023-11-26 15:42:52 +11:00
Richard Marko
48b4891693
Merge pull request #259 from haskell-nix/nar-is-exec
Replace permissions with `narIsExec` effect
2023-11-25 15:01:32 +01:00
Vaibhav Sagar
0ea7647d7e Replace permissions with narIsExec effect
Co-Authored-By: Shea Levy <shea@shealevy.com>
2023-11-25 21:07:07 +11:00
Richard Marko
11797c6c41
Merge pull request #258 from vaibhavsagar/cereal-test-suite
Use `cereal` instead of `binary` in -nar test suite
2023-11-25 07:38:10 +01:00
Richard Marko
414bae5f54 nar: drop commented out instance Binary Nar 2023-11-25 05:49:14 +01:00
Richard Marko
1c401b6abf
Merge pull request #257 from squalus/sig-text
core: add signatureToText function and tests
2023-11-25 05:39:53 +01:00
Vaibhav Sagar
5d62b66aa1 Use cereal instead of binary in test suite 2023-11-25 13:19:16 +11:00
squalus
7850a38b3a core: add signatureToText function and tests
- make NarSignature's Show instance more legible
- add Arbitrary instance for NarSignature
- add roundtrip quickcheck tests for NarSignature encoding
2023-11-24 12:55:54 -08:00
Richard Marko
ee10c59e4c
Merge pull request #256 from squalus/crypton
switch to crypton
2023-11-24 07:07:24 +01:00