conda-forge / conda-forge/conda-forge.github.io

Improved templating

Offen
#5 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Complexity - low help wanted Size - medium
Vorherrschende Sprache
JavaScript
Sterne
170
Forks
320
Ø Merge
2 T. 10 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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._

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.