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

Syncing recipes always add the version to the name #381

Open
damnjanovictanja opened this issue Dec 7, 2020 · 0 comments
Open

Syncing recipes always add the version to the name #381

damnjanovictanja opened this issue Dec 7, 2020 · 0 comments

Comments

@damnjanovictanja
Copy link
Contributor

Bug description and steps to reproduce

I have exported recipes using the solvebio-recipes export command, changed the expression, and tried to sync that recipe, without changing the version using the following command:

solvebio-recipes --api-host="https://solvebio.api-stag.solvebio.com" sync --all import_recipe.yml
Logged-in as: Tatjana
Are you sure you want to create Test Recipe (v1.0.0) (v1.0.0) recipe? [y/N]: 

The script tried to create a new recipe and add a version to its name, even if the version is already there.
The workaround here is to delete the version from the name and then to try syncing.

One other thing that I have noticed is that all recipes are exported with a field is_public set to 'True', even if they are not.

Additional Context

import_recipe.yaml file:

recipes:
- name: Test Recipe (v1.0.0)
  description: Gets the protein change from the variant field
  template_type: recipe
  is_public: False
  version: 1.0.0
 . . . 
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

1 participant