Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Make template hash reflect loaded contents, not yaml file #536

Open
nhammond opened this issue May 29, 2018 · 0 comments
Open

Make template hash reflect loaded contents, not yaml file #536

nhammond opened this issue May 29, 2018 · 0 comments

Comments

@nhammond
Copy link
Collaborator

Template hash is meant to be able to compare template contents. As implemented, it is only a rough approximation of this. Since the hash is calculated on the yaml file before import, it ignores the contents of any child templates, ignores equivalent expressions (e.g. reference by filename and hash vs. reference by uuid), and considers two templates identical if their references are the same, even if the files/templates they point to have different contents. This should be calculated by the server, similar to the fingerprint used in Tasks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant