Skip to content
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

Bzl should be split onto daemon and client #17

Open
konste opened this issue Aug 27, 2021 · 1 comment
Open

Bzl should be split onto daemon and client #17

konste opened this issue Aug 27, 2021 · 1 comment

Comments

@konste
Copy link

konste commented Aug 27, 2021

Right now Bzl is the application - you can start it from the command line and the console stays locked until Bzl finishes (or gets killed). Please consider mimicking Bazel approach when "bazel" command fires up background process (if it is not yet running) and delegates the work to that process. Then Bzl command would return to console right after the command is sent to the server. For example I visualize client commands such as

bzl cache start
bzl cache shutdown
bzl cache dump (for debugging)
bzl cache stats
etc.
@konste
Copy link
Author

konste commented Sep 4, 2021

I really want to differentiate Bzl service (daemon) and Bzl client (GUI, command line, whatever).
Bzl client should delegate the work to service and return control immediately unless it is intentionally used for some long running operation such as displaying ongoing status, statistics, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant