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

Problem: our shallowing of directories is too narrow #106

Open
clacke opened this issue Mar 31, 2018 · 0 comments
Open

Problem: our shallowing of directories is too narrow #106

clacke opened this issue Mar 31, 2018 · 0 comments

Comments

@clacke
Copy link
Member

clacke commented Mar 31, 2018

https://docs.racket-lang.org/pkg/Package_Concepts.html#%28tech._package._source%29 explicitly says:

An archive represents package content analogous to a directory, but if the archive’s content is contained within a single top-level directory, then the directory’s content (as opposed to the overall archive content) is used as the package content.

So our current shallowing routine, only shallowing a directory with the same name as the unpacked file, is too narrow. We could just go and shallow every source directory that has a single directory in its root. Take care not to miss any hidden files.

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