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

Improved templating #5

Open
pelson opened this issue Jul 23, 2015 · 2 comments
Open

Improved templating #5

pelson opened this issue Jul 23, 2015 · 2 comments

Comments

@pelson
Copy link
Member

pelson commented Jul 23, 2015

Conda smithy has a hardcoded number of files in https://github.com/conda-forge/conda-smithy/blob/master/conda_smithy/configure_feedstock.py which are generated into the resulting feedstock. Remove the bespoke functions, and just generate all files in the https://github.com/conda-forge/conda-smithy/tree/master/templates directory.

For feedstocks which need to override the templates, allow a templates directory in the feedstock which can inherit from conda-smithy (e.g. {% extends "conda-smithy/README.tmpl" %}) for truly bespoke customisation.

Requires some knowledge of Jinja2.

@jankatins
Copy link
Contributor

Shouldn't this go to the conda smithy repo?

@pelson
Copy link
Member Author

pelson commented Feb 11, 2016

Shouldn't this go to the conda smithy repo?

Yes, it was an attempt to kindle some interest by pulling together the required work into a single issue tracker. Canonically, this issue is a conda-smithy issue. As you notice, the complexity is low, and the size is medium, yet nobody has been forthcoming with a contribution. If you're interested, I'd happily accept a standalone 😉 PR which addresses this.

jaimergp added a commit to jaimergp/conda-forge.github.io that referenced this issue Jan 4, 2024
* Add prelimar diagrams

* add mermaid mindmap (draft)

* pre-commit

---------

Co-authored-by: jaimergp <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants