-
Notifications
You must be signed in to change notification settings - Fork 49
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
Bugs arising from encoding one logical operation as two operations #22
Comments
Similar bugs happen for any case where a file is first deleted then created again - for example, swapping a template to a symlink during a dry run |
To solve this I'd probably need to restructure my deployment logic a bit and add a concept of "replace_template" and "replace_symlink", of course while handling all the edge cases. |
False negative case: Going from empty to |
The cases described previously are now fixed, but there's a new case: Start with template The same will happen with a target location change |
Description
In
--dry-run
, if a template is supposed to be deleted and then created again with another target, it reports that as a cache corruption because it didn't actually delete the file.Reproduction
Run with following file mapping:
Then run with following with
--dry-run
:The text was updated successfully, but these errors were encountered: