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

Support ignoring files when creating projects with templates #2386

Open
rudeigerc opened this issue Nov 8, 2023 · 2 comments
Open

Support ignoring files when creating projects with templates #2386

rudeigerc opened this issue Nov 8, 2023 · 2 comments
Labels
⭐ enhancement Improvements for existing features

Comments

@rudeigerc
Copy link
Contributor

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 rudeigerc added the ⭐ enhancement Improvements for existing features label Nov 8, 2023
@pawamoy
Copy link
Sponsor Contributor

pawamoy commented Nov 8, 2023

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

@rudeigerc
Copy link
Contributor Author

@pawamoy Affirmative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement Improvements for existing features
Projects
None yet
Development

No branches or pull requests

2 participants