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

Compare content of non-annex files on computations that are triggered by the datalad-remake remote? #63

Open
christian-monch opened this issue Nov 25, 2024 · 0 comments

Comments

@christian-monch
Copy link
Contributor

If a computation is started via the datalad-remake git annex special remote, it should recreate file content bit-identical. For annexed files, this is verified by git annex via a comparison of the file keys. But a datalad make execution might also modify non-annex files, e.g. text files. This must not happen, if the special remote triggers the computation.

To prevent the change of non-annex files when the special remote triggers a computation, the collect phase should either:

  • compare the existing text file and the generated text, or
  • refuse to copy non-annex files from the workspace into the dataset
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