-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove need for daemon #31
Comments
cc: @zbintliff would appreciate your thoughts. |
Just a few questions:
Ruby binaries, we just install the pact-standalone binaries onto the global PATH All for using brew to distribute them.
Is there a timeline there? |
No, other libs pull in the package dynamically at install time e.g. npm will install the binaries into the No timeline for the reference to be implemented (is ASAP an answer?), although there is a lot of activity in this space. |
I definitely prefer making less assumptions about how the ruby deps are installed and just relying on PATH. |
OK so a working daemonless setup can be found in the TODO:
TODO list moving to #74, where it will contain the release of several features due to the breaking API change. |
Because, it sucks.
The Daemon was originally implemented due to two reasons:
npm
for NodeJS or 'pip' for Python. These package management facilities typically have build or installation hooks that allow us to customise the installation at package retrieval time. In those instances, it's easy to determine the current os/arch and pull in the appropriateA daemon was a separate install step that decoupled the DSL from this uglyness, in turn creating it's own uglyness:
go get
To work around the limitations and address the issues, these are some options that I can think of:
PATH
. The DSL will then attempt to start thepact-*
binaries and fail with a helpful error if it can't find them.This could potentially be automated via OS package-managers like
brew
,rpm
,curl
orchocolatey
for Windowsor perhaps could be provided by a CLI step provided by the package itself i.e.
The text was updated successfully, but these errors were encountered: