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

Enhancement - Parent template folders #58

Closed
pykong opened this issue Aug 12, 2019 · 2 comments
Closed

Enhancement - Parent template folders #58

pykong opened this issue Aug 12, 2019 · 2 comments

Comments

@pykong
Copy link
Collaborator

pykong commented Aug 12, 2019

I believe it would be very helpful to every user of copier to allow for DRYer templates. Common redundancies across templates which can not be addressed via the current functionality of copier are:

  • sets of files (e.g. all my web templates feature the same set of static files)
  • contents of copier.yaml (e.g. I always run the same seven tasks, regardless of the project)

Potential solutions:

  • allow to inherit an entire folder: all folders of a given path will be copied over to the new rendered folder
  • allow inheritance of copier.yaml files where a parent template can be included

EDIT:

I believe this issue is not clear enough. In part because I wasn't sure what I was looking for.
I am working on making the idea clearer.

@pykong pykong changed the title Enhancement - Keeping templates DRY Enhancement - Template folders Aug 19, 2019
@pykong pykong changed the title Enhancement - Template folders Enhancement - Parent template folders Aug 19, 2019
@ghost
Copy link

ghost commented Sep 11, 2019

I'm going to close the issue for now

@ghost ghost closed this as completed Sep 11, 2019
@pykong
Copy link
Collaborator Author

pykong commented Sep 11, 2019

@jpscaletti
Yes, sure this issue should not turn stale while I am still making up my mind. ;-)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant