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

Ignore resource exists #206

Open
adamrtalbot opened this issue Feb 26, 2025 · 0 comments · May be fixed by #207
Open

Ignore resource exists #206

adamrtalbot opened this issue Feb 26, 2025 · 0 comments · May be fixed by #207

Comments

@adamrtalbot
Copy link
Collaborator

adamrtalbot commented Feb 26, 2025

We should have a flag to ignore if a resource exists. This is similar to the overwrite: true behaviour but ignoring instead of overwriting.

We could replace the on_exists flag with a different flag for how to respond when a resource exists:

If a resource exists, overwrite:

pipeline:
  name: hello-world
  pipeline: github.com/nextflow-io/hello
  on_exists: overwrite

Which is equivalent to:

pipeline:
  name: hello-world
  pipeline: github.com/nextflow-io/hello
  on_exists: true

If a resource exists, ignore:

pipeline:
  name: hello-world
  pipeline: github.com/nextflow-io/hello
  on_exists: ignore

We could extend this to mean other behaviours through time.

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 a pull request may close this issue.

1 participant