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

Helper scripts for easier setup of new empty projects #13

Open
tmadlener opened this issue Nov 21, 2022 · 2 comments
Open

Helper scripts for easier setup of new empty projects #13

tmadlener opened this issue Nov 21, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@tmadlener
Copy link
Contributor

Ideally we have some scripts that can be used to more easily set up empty projects / Gaudi Algorithms, e.g.

  • script to essentially copy the parts of this template that are strictly necessary (+ maybe some goodies) into a new folder. This should not copy the complete git history, the example algos or tests
  • script that uses one of the algorithms here as basis, and copy that, do renaming on the fly, some basic options stub, potentially a basic cmake setup (including tests?)
@tmadlener tmadlener added the enhancement New feature or request label Nov 21, 2022
@vvolkl
Copy link
Contributor

vvolkl commented Nov 22, 2022

Yes, this would be very useful. Maybe it is still good to keep non-templated example algorithms in the repo for browsing, but a jinja2 template for a k4Project could be a nice addition. There is also https://cookiecutter.readthedocs.io which may already have most of what this script should do, so there just needs to be some template files.

@tmadlener
Copy link
Contributor Author

Yes, I would definitely keep the example algorithms here for reference. I will have a look into cookiecutter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants