[fix] Add copier.yml to Copier template exclusions
[fix] Add copier.yml to Copier template exclusions
What?
The copier.yml
file needs to be added to the _exclude
list in the Copier template configuration to prevent it from being copied to new projects.
Why?
The copier.yml
file contains template-specific configuration that should not be propagated to generated projects.
How to reproduce?
Feature: Copier Template Exclusions
In order to prevent template configuration from being copied
As a template maintainer
I need to ensure copier.yml is excluded from generated projects
Scenario: Creating a new project from template
Given the current _exclude configuration in copier.yml:
"""
_exclude:
- .git
- CHANGELOG.md
- LICENSE
- README.md
- VERSION
"""
When I generate a new project using Copier
Then copier.yml should not be copied to the new project
Definition of Done
-
Add copier.yml
to the_exclude
list in copier.yml -
Test project generation to verify copier.yml is not copied -
Update documentation if necessary
Breaking change?
Additional Information:
- Version: 1.0.1
- Files affected: copier.yml