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

Watcher ("auto-import") #79

Merged
merged 1 commit into from
Aug 15, 2023
Merged

Watcher ("auto-import") #79

merged 1 commit into from
Aug 15, 2023

Conversation

John-LittleBearLabs
Copy link
Collaborator

@John-LittleBearLabs John-LittleBearLabs commented Aug 8, 2023

Adding watcher - a binary which monitors a directory and sends import-file messages to myceli.

Right now it ends there. To discover files which have been imported this way, send a RequestAvailableDags, e.g.:

cargo run --bin controller -- --listen-mode 127.0.0.1:8001 request-available-dags

That will show these files mixed in with all other DAGs myceli is aware of. Since they came from import-file they will definitely have an associated filename, but if that file has changed over time multiple versions may exist without any easy way to distinguish which one is new.

@John-LittleBearLabs John-LittleBearLabs merged commit c3e93a9 into main Aug 15, 2023
1 check passed
@John-LittleBearLabs John-LittleBearLabs deleted the watcher branch August 15, 2023 13:03
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.

1 participant