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

Add more options to the "resume" setting #114

Merged
merged 3 commits into from
Sep 21, 2024
Merged

Conversation

joezuntz
Copy link
Collaborator

This opens up the "resume" setting, which currently can be set to True or False.

Now you can also set it to

  • "resume" - to continue the pipeline where you left off (same as True)
  • "restart" - to ignore existing files and restart the pipeline at the beginning (same as False)
  • "refuse" - to refuse to start the pipeline if any output files already exist.

@eacharles eacharles self-requested a review September 20, 2024 18:56
Copy link
Contributor

@eacharles eacharles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good. At some point you might consider using and enum and tweak the config stuff to treat it as a choice.

@joezuntz joezuntz merged commit 53f6d98 into master Sep 21, 2024
6 checks passed
@joezuntz joezuntz deleted the resume-refuse-mode branch September 21, 2024 06:29
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