Skip to content

Task fails on update #586

Answered by pawamoy
tpluscode asked this question in Q&A
Feb 27, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

When updating, Copier first regenerates a fresh project using the current template version, in a temporary folder. It executes the tasks in there, this is what you see in the output, even before the questions. Then it computes the diff between the fresh version and your current version. Then it updates your current project in-place with the new template version. Finally it reapplies the diff it computed earlier. See https://copier.readthedocs.io/en/latest/updating/#how-the-update-works

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tpluscode
Comment options

Answer selected by tpluscode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants