2016-04-25 23:04:32 +02:00
|
|
|
# This file was automatically generated by stack init
|
|
|
|
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration/
|
|
|
|
|
|
|
|
# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
|
2016-10-24 23:25:08 +02:00
|
|
|
resolver: lts-7.4
|
2016-04-25 23:04:32 +02:00
|
|
|
|
|
|
|
# Local packages, usually specified by relative directory name
|
|
|
|
packages:
|
|
|
|
- '.'
|
2016-08-13 00:48:28 +02:00
|
|
|
#- location:
|
|
|
|
# git: git@github.mv.awakenetworks.net:awakenetworks/protobuf-wire.git
|
|
|
|
# commit: 2eda7a9e33e8a2f32c3ab8c4ace338b08fb79daa
|
2016-12-08 19:10:32 +01:00
|
|
|
- location:
|
|
|
|
git: git@github.mv.awakenetworks.net:awakenetworks/protobuf-wire.git
|
|
|
|
commit: 927c61bbb1002a9278b8a7cbe3968be059f9ff30
|
Joel/highlevelv2 (#40)
* Tweak runOps param order, inline common op sequences, clean up serverHandleNormalCall
* More ops sequence inlining for clarity, experimenting with Managed
* Checkpoint: preliminary support for all streaming modes; much cleanup/refactoring and api design still needed
* Use mempty for default StatusDetails; tweak bad status matching mechanism
* Preliminary user-facing, server-streaming, low-level api and test
* renaming wibbles
* Preliminary user-facing, client-streaming, low-level api and test
* Move sendMsgs comb to Network.GRPC.LowLevel.Op; misc cleanup/DCR
* Modify bidi streaming to omit request payload
* Add transformers dep
* Preliminary user-facing low-level bidirectional streaming api and test
* Fix missing peek import
* Remove TimeoutSeconds params on streaming mode functions
* Fix serverHandleNormalCall rebase wart
* Fix rebase warts; minor hlint fixes and wibbles
* Post-rebase tweaks to optional payload use in serverRequestCall (i.e., now respects payloadHandling again)
* Cleanup/refactor serverRequestCall
* Fix comment
* Change ServerRWHandler type so that handler does not have to invoke a finalizer
* Change ServerReaderHandler type so that handler does not have to invoke a finalizer
* Simplify serverWriter interface and ServerWriterHandler structure
* Simplify serverRW (get rid of exec param), improve bidi streaming tests
* Use ExceptT in serverRW impl
* Change ServerRWHandler type to pass recv/send operations.
* Renaming
* Define ClientRWHandler, pass recv/send ops
* wibbles
* Use ExceptT in clientRW impl
* Add DataKinded phantom typing to RegisteredMethod; misc cleanup
* Simplify sendMsgs interface; add SingleSend type and related helpers
* Rename SingleSend to SendSingle, use ExceptT to clean up {client,server}Writer and sendMsgs
* More ExceptT cleanup in clientWriter
* Factor out reusable bits of clientWriter
* Shrink ServerReaderHandler
* Delete stale comments
* begin high-level server interface
* update to datakind representation
* clean up
* move method type info to type level, parametrize ServerCall by payload
* convert for writer handler
* start switching over to Message-based handlers
* begin work on highlevel example
* comment out old code
* parametrize StreamSend
* parametrize StreamRecv
* conversion for ServerReaderHandler
* finish handler conversions
* Add high level version and payload checking to echo-client
* Decouple server CQs from call-bound CQs (registered methods); use more consistent naming conventions
* Decouple server/call-bound CQs for unregistered methods; refactor U.serverRequestCall; misc cleanup
* Make convertRecv total; formatting wibbles
2016-07-12 20:28:21 +02:00
|
|
|
extra-dep: true
|
|
|
|
- location:
|
2016-07-21 20:11:49 +02:00
|
|
|
git: git@github.com:awakenetworks/proto3-wire.git
|
2016-12-02 07:40:28 +01:00
|
|
|
commit: 1b88bf24aad15db1f59a00d201d609fa308157f7
|
Joel/highlevelv2 (#40)
* Tweak runOps param order, inline common op sequences, clean up serverHandleNormalCall
* More ops sequence inlining for clarity, experimenting with Managed
* Checkpoint: preliminary support for all streaming modes; much cleanup/refactoring and api design still needed
* Use mempty for default StatusDetails; tweak bad status matching mechanism
* Preliminary user-facing, server-streaming, low-level api and test
* renaming wibbles
* Preliminary user-facing, client-streaming, low-level api and test
* Move sendMsgs comb to Network.GRPC.LowLevel.Op; misc cleanup/DCR
* Modify bidi streaming to omit request payload
* Add transformers dep
* Preliminary user-facing low-level bidirectional streaming api and test
* Fix missing peek import
* Remove TimeoutSeconds params on streaming mode functions
* Fix serverHandleNormalCall rebase wart
* Fix rebase warts; minor hlint fixes and wibbles
* Post-rebase tweaks to optional payload use in serverRequestCall (i.e., now respects payloadHandling again)
* Cleanup/refactor serverRequestCall
* Fix comment
* Change ServerRWHandler type so that handler does not have to invoke a finalizer
* Change ServerReaderHandler type so that handler does not have to invoke a finalizer
* Simplify serverWriter interface and ServerWriterHandler structure
* Simplify serverRW (get rid of exec param), improve bidi streaming tests
* Use ExceptT in serverRW impl
* Change ServerRWHandler type to pass recv/send operations.
* Renaming
* Define ClientRWHandler, pass recv/send ops
* wibbles
* Use ExceptT in clientRW impl
* Add DataKinded phantom typing to RegisteredMethod; misc cleanup
* Simplify sendMsgs interface; add SingleSend type and related helpers
* Rename SingleSend to SendSingle, use ExceptT to clean up {client,server}Writer and sendMsgs
* More ExceptT cleanup in clientWriter
* Factor out reusable bits of clientWriter
* Shrink ServerReaderHandler
* Delete stale comments
* begin high-level server interface
* update to datakind representation
* clean up
* move method type info to type level, parametrize ServerCall by payload
* convert for writer handler
* start switching over to Message-based handlers
* begin work on highlevel example
* comment out old code
* parametrize StreamSend
* parametrize StreamRecv
* conversion for ServerReaderHandler
* finish handler conversions
* Add high level version and payload checking to echo-client
* Decouple server CQs from call-bound CQs (registered methods); use more consistent naming conventions
* Decouple server/call-bound CQs for unregistered methods; refactor U.serverRequestCall; misc cleanup
* Make convertRecv total; formatting wibbles
2016-07-12 20:28:21 +02:00
|
|
|
extra-dep: true
|
2016-04-25 23:04:32 +02:00
|
|
|
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
|
Preliminary streaming mode support (client streaming, server streaming, bidirectional) (#37)
* Tweak runOps param order, inline common op sequences, clean up serverHandleNormalCall
* More ops sequence inlining for clarity, experimenting with Managed
* Checkpoint: preliminary support for all streaming modes; much cleanup/refactoring and api design still needed
* Use mempty for default StatusDetails; tweak bad status matching mechanism
* Preliminary user-facing, server-streaming, low-level api and test
* renaming wibbles
* Preliminary user-facing, client-streaming, low-level api and test
* Move sendMsgs comb to Network.GRPC.LowLevel.Op; misc cleanup/DCR
* Modify bidi streaming to omit request payload
* Add transformers dep
* Preliminary user-facing low-level bidirectional streaming api and test
* Fix missing peek import
* Remove TimeoutSeconds params on streaming mode functions
* Fix serverHandleNormalCall rebase wart
* Fix rebase warts; minor hlint fixes and wibbles
* Post-rebase tweaks to optional payload use in serverRequestCall (i.e., now respects payloadHandling again)
* Cleanup/refactor serverRequestCall
* Fix comment
* Change ServerRWHandler type so that handler does not have to invoke a finalizer
* Change ServerReaderHandler type so that handler does not have to invoke a finalizer
* Simplify serverWriter interface and ServerWriterHandler structure
* Simplify serverRW (get rid of exec param), improve bidi streaming tests
* Use ExceptT in serverRW impl
* Change ServerRWHandler type to pass recv/send operations.
* Renaming
* Define ClientRWHandler, pass recv/send ops
* wibbles
* Use ExceptT in clientRW impl
* Add DataKinded phantom typing to RegisteredMethod; misc cleanup
* Simplify sendMsgs interface; add SingleSend type and related helpers
* Rename SingleSend to SendSingle, use ExceptT to clean up {client,server}Writer and sendMsgs
* More ExceptT cleanup in clientWriter
* Factor out reusable bits of clientWriter
* Shrink ServerReaderHandler
* Delete stale comments
* Use common machinery for all streaming modes; make handler types more consistent
* wibbles
2016-07-06 15:59:38 +02:00
|
|
|
extra-deps: [managed-1.0.5]
|
2016-04-25 23:04:32 +02:00
|
|
|
|
|
|
|
# Override default flag values for local packages and extra-deps
|
|
|
|
flags: {}
|
|
|
|
|
|
|
|
# Extra package databases containing global packages
|
|
|
|
extra-package-dbs: []
|
|
|
|
|
|
|
|
# Control whether we use the GHC we find on the path
|
2016-12-19 23:53:44 +01:00
|
|
|
#
|
|
|
|
# NB: It is important that this is `false`, because we do NOT want `stack` to
|
|
|
|
# use our nix-built ghc which is used in the `nix`/`cabal` worfklows, we want it
|
|
|
|
# to use its own LTS version. Setting this to `true` and then trying to run
|
|
|
|
# tests via `stack` inside the `nix-shell` will result in some cryptic package
|
|
|
|
# collison messages: e.g., there's a `text` in the nix-built ghc which are
|
|
|
|
# using, and another `text` in what `stack` wants to use.
|
|
|
|
system-ghc: false
|
2016-04-25 23:04:32 +02:00
|
|
|
|
|
|
|
# Require a specific version of stack, using version ranges
|
|
|
|
# require-stack-version: -any # Default
|
|
|
|
# require-stack-version: >= 1.0.0
|
|
|
|
|
|
|
|
# Override the architecture used by stack, especially useful on Windows
|
|
|
|
# arch: i386
|
|
|
|
# arch: x86_64
|
|
|
|
|
|
|
|
# Extra directories used by stack for building
|
|
|
|
# extra-include-dirs: [/path/to/dir]
|
|
|
|
# extra-lib-dirs: [/path/to/dir]
|
|
|
|
|
|
|
|
# Allow a newer minor version of GHC than the snapshot specifies
|
|
|
|
# compiler-check: newer-minor
|
2016-12-19 23:53:44 +01:00
|
|
|
|
|
|
|
# NB: We really only rely on Nix integration for creating the environment for
|
|
|
|
# running tests. Thus `stack --nix test` can be used to run the tests. However,
|
|
|
|
# since this will rebuild a custom ghc often due to the structure of
|
|
|
|
# release.nix, it is suggested that `nix-shell release.nix -A grpc-haskell.env`
|
|
|
|
# is used and then `stack test` (sans `--nix`) is used during development and
|
|
|
|
# test iterations.
|
|
|
|
nix:
|
|
|
|
enable: false
|
|
|
|
pure: false
|
|
|
|
shell-file: release.nix
|
|
|
|
nix-shell-options: ["-A", "grpc-haskell.env"]
|