niflows / niflow-manager

Niflow package manager tool
Other
2 stars 8 forks source link

Consider cookiecutter for templates #20

Open effigies opened 5 years ago

effigies commented 5 years ago

Suggested by @jdkent on Slack ages ago.

https://cookiecutter.readthedocs.io/

PeerHerholz commented 5 years ago

Hi, what's the current status here?

effigies commented 5 years ago

You're looking at it. This is just a note. Right now there are some templates which are just pre-populated directories with at least one file in so that git will pay attention to them and setuptools will package them.

PeerHerholz commented 5 years ago

Okay, check. What's your (and the everyone else's) opinion on this? How about a possible extension to include docker/singularity?

satra commented 5 years ago

@PeerHerholz - what do you mean?

the intent of the recipe.yml file would be to use neurodocker to create a dockerfile/singularity file as part of the currently non-existent build option.

PeerHerholz commented 5 years ago

I thought that, if the cookiecutter template will be used/adapted, we add could docker/singularity specific parts to that template, that is, install and build, as well as run instructions.

satra commented 5 years ago

@PeerHerholz - i would leave this issue open till we have a full working example with all options. then we could convert it if cookiecutter seems like a nice fit. right now, there is not just the create a repo piece, but also the nfm piece.

PeerHerholz commented 5 years ago

@satra, ok gotcha. So the plan would be to wait till we have one or more full working examples, then evaluate which template fits best and then implement whatever that ends up being, right? I would browse the other issues to see if I can be of help somewhere else.

satra commented 5 years ago

at this point the best help would be to do the build command and help stabilize recipe.yml - @djarecka was working on integrating testkraken with niflows.