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

feat: add watch-exec command #97

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TECHNOFAB11
Copy link

This builds on top of the changes in #21 and adds the watch-exec command which works the same like the cachix CLI one.
I added counters to track the pending and currently running upload jobs, the watch-exec command basically just starts the daemon, runs the passed command with a custom nix config which adds attic queue relay as a post-build-hook and then waits until the mentioned counters go to 0.
Haven't used Rust in a while so suggestions and improvements welcome :)

@zhaofengli zhaofengli added this to the 0.2.0 milestone Oct 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants