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

cli: add option of skipping actions #626

Closed
ivotron opened this issue Apr 28, 2019 · 2 comments
Closed

cli: add option of skipping actions #626

ivotron opened this issue Apr 28, 2019 · 2 comments

Comments

@ivotron
Copy link
Collaborator

ivotron commented Apr 28, 2019

Add ability in popper run of skipping one or more actions (via a --skip flag). This will run all the workflow, except the given list of actions. If, after removing all the skipped actions, the remaining workflow contains a "gap" (i.e. an action that depends on one of the skipped actions), then popper run needs to throw an error notifying users about it.

@ivotron ivotron changed the title cli: add option of skipping an action cli: add option of skipping actions Apr 28, 2019
@JayjeetAtGithub
Copy link
Collaborator

@ivotron Are we required to pass a , separated list of action names to the --skip flag?
Ex : popper run --skip a,b,c

@ivotron
Copy link
Collaborator Author

ivotron commented May 20, 2019

yeah, that would be useful. The other alternative would be to allow --skip multiple times, but I'm not sure if click supports that (I believe it does).

ivotron pushed a commit that referenced this issue May 24, 2020
Tthis commit refactors Workflow and WorkflowRunner so that the workflow representation becomes an immutable object that gets manipulated by generating (mutated) copies of it.

Skipping actions is now supported via a `--skip` flag.

fixes #626 
fixes #621 
fixes #622
ivotron pushed a commit that referenced this issue May 25, 2020
Tthis commit refactors Workflow and WorkflowRunner so that the workflow representation becomes an immutable object that gets manipulated by generating (mutated) copies of it.

Skipping actions is now supported via a `--skip` flag.

fixes #626 
fixes #621 
fixes #622
ivotron pushed a commit that referenced this issue May 25, 2020
Tthis commit refactors Workflow and WorkflowRunner so that the workflow representation becomes an immutable object that gets manipulated by generating (mutated) copies of it.

Skipping actions is now supported via a `--skip` flag.

fixes #626 
fixes #621 
fixes #622
ivotron pushed a commit that referenced this issue May 25, 2020
Tthis commit refactors Workflow and WorkflowRunner so that the workflow representation becomes an immutable object that gets manipulated by generating (mutated) copies of it.

Skipping actions is now supported via a `--skip` flag.

fixes #626 
fixes #621 
fixes #622
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

No branches or pull requests

2 participants