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

Added a --resume-file argument to butler extract #214

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

Conversation

burnhamup
Copy link

I added the ability to interrupt and resume extractions part way through using a lot of existing features in the stack. itchio/hush provides an intervalSaveConsumer that can store the results of a partial extraction. And itchio/savior can use this as part of the normal extraction.

My code conditionally creates a saveConsumer if the --resume-file argument is provided and gives it to the extractor instead of a nil checkpoint to ex.Resume()

I haven't worked with golang before, but I compiled a local version of butler and used it with success.

I added the ability to interrupt downloads part way through using a lot of existing features in the stack. itchio/hush provides an intervalSaveConsumer that can store the results of a partial extraction. And itchio/savior can use this as part of the normal extraction.

My code conditionally creates a saveConsumer if the --resume-file argument is provided and gives it to the extractor instead of a nil checkpoint to ex.Resume()

I haven't worked with golang before, but I compiled a local version of butler that seems to work.
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