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

[FR]: Implement request poll/wait in turbinia-client #1376

Open
aarontp opened this issue Oct 13, 2023 · 3 comments
Open

[FR]: Implement request poll/wait in turbinia-client #1376

aarontp opened this issue Oct 13, 2023 · 3 comments

Comments

@aarontp
Copy link
Member

aarontp commented Oct 13, 2023

What would this feature improve or what problem would it solve?

This would allow someone to see when a request is done without having to continuously check.

What is the feature you are proposing?

Implement a --wait flag or similar to turbinia-client status request so that the client will continuously poll until the request is completed and then report the full output. A --poll_interval flag would also be nice to be able to adjust how often the client polls the state. These are similar to turbiniactl flags.

What alternatives have you considered?

No response

@aarontp aarontp added enhancement Needs triage New issues that need triage labels Oct 13, 2023
@hacktobeer
Copy link
Collaborator

Isn't this easily solved by using watch?

@aarontp
Copy link
Member Author

aarontp commented Oct 14, 2023

@hacktobeer Not really, this command will still generate a report output based on the current state of when it was called no matter if it's done or not. I guess I didn't mention it above, but it would also be nice to have some indication of the progress (similar to what dftimewolf does and what turbiniactl did) too.

@jleaniz
Copy link
Collaborator

jleaniz commented Oct 15, 2023

Technically you could right now if you pass the -j flag it'll just be json output instead of a report and you can check for the status by checking the status key with jq or something. It won't give you a completion update though but you have the task counts. Would still be nice to have that though.

@aarontp aarontp removed the Needs triage New issues that need triage label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants