-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Turn off Git smugding in fetchGit
#9327
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-11-06-nix-team-meeting-minutes-101/35247/1 |
We've recently used the term smudging to cover all behaviors that make file system objects diverge from the simple, well defined, and therefore well reproducible git tree data model. The example in this issue is technically about export-ignore and not the git smudge filter feature. Submodules should also be considered, as they are a layer on top of git trees. A more extensive explanation and discussion centered around the smudge filter feature can be found here #4635 (comment) Essentially what we're trying to achieve is NAR hash-levels of reproducibility by other means, specifically a definitive translation from git objects to Nix file system objects. Definitive is the keyword here. We won't have the luxury of changing this translation after stabilization, except for the addition of parameters that tweak the translation in ways such that their default value is aforementioned "definitive" behavior. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Should we open a tracking issue from your comment then? |
This should hopefully be fixed by #9240 |
Duplicate |
Describe the bug
As discussed with @nixos/nix-team:
While it's been around for a long time, smudging being enabled in
fetchGit
can be considered a bug.More detailed discussion: #4635 (comment)
Steps To Reproduce
Expected behavior
It should output the unchanged contents of https://github.com/tomberek/export-magic
Proposal
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: