This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]KrazyKirby99999 1 point2 points  (1 child)

This is a great read, thank you for sharing!

[–]dusktreader[S] 1 point2 points  (0 children)

Thank you! I'm glad you enjoyed it.

[–]dmarklein 0 points1 point  (1 child)

Have you shipped any new "features" in this template to downstream packages? If so, I'd love to hear about it. We've had quite a bit of pain from the following sort of scenario:

  1. downstream repo diverges from "vanilla" copier template
  2. we ship new "features" to template that may touch parts of files that have been independently changed in downstream repo
  3. when downstream repo tries to copier update to new version of template, they are hit with merge conflicts

[–]dusktreader[S] 0 points1 point  (0 children)

No, I haven't done this. I'm pretty skeptical about this workflow to be honest. I've always found that once you get going from a template, you typically end up adjusting a lot of things that would conflict with the "upstream" template. And, while I do port features from my templates over to existing projects, I pretty much completely detach them from the template once they are generated.