pdm icon indicating copy to clipboard operation
pdm copied to clipboard

Support ignoring files when creating projects with templates

Open rudeigerc opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

PDM template is a helpful feature, but sometimes we do not expect certain files to be included in the project to be created with the template, such as documentation of the template itself, or configurations bound with editors.

Describe the solution you'd like

It would be helpful to provide the ability to define ignored file patterns in a file like .pdm-template-ignore.

Related configuration in copier: https://copier.readthedocs.io/en/stable/configuring/#exclude

rudeigerc avatar Nov 08 '23 16:11 rudeigerc

So, you would like PDM to support .pdm-template-ignore files in basic templates (non-Copier, non-Cookiecutter templates)?

pawamoy avatar Nov 08 '23 16:11 pawamoy

@pawamoy Affirmative.

rudeigerc avatar Nov 09 '23 01:11 rudeigerc