Skip to content

Support for shared templates

It would be useful to allow including templates from some shared source, e.g. from a foo-common-templates binary package, as well as a package-local directory.

Since .control and .tests templates have to be processed at source preparation time, while other templates are processed at build time, this introduces a risk of using different and inconsistent versions of the templates. This risk would need to be mitigated somehow.

Possible mitigations are:

  1. Document the risk and require such 'common templates' packages to provide multiple versions of the templates.
  2. Provide a way to copy templates at source preparation time, so that a consistent snapshot of the common templates is used.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information