Visitar URL original
fix(dhall-docs): hash file paths before hashing the tar by german1608 · Pull Request #1976 · dhall-lang/dhall-haskell · GitHub
Skip to content

fix(dhall-docs): hash file paths before hashing the tar - #1976

Merged
mergify[bot] merged 7 commits into
masterfrom
fix/hash-filenames
Aug 5, 2020
Merged

mergify[bot] merged 7 commits into
masterfrom
fix/hash-filenames

Conversation

@german1608

Copy link
Copy Markdown
Collaborator

Closes #1971


I also added dhall-kubernetes to our hydra jobsets to showcase that it's fixed

@Gabriella439 Gabriella439 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of creating these intermediate files and deleting them, it's probably simpler to create the desired Entry data structure directly in memory instead of using Tar.pack. It's not too difficult to create the Entry record by hand:

https://hackage.haskell.org/package/tar-0.5.1.1/docs/Codec-Archive-Tar-Entry.html#t:Entry

@mergify
mergify Bot merged commit 42b119d into master Aug 5, 2020
@mergify
mergify Bot deleted the fix/hash-filenames branch August 5, 2020 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dhall-docs can't generate documentation for dhall-kubernetes

2 participants