Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Pantry does not work with git annex #4579
General summary/comments (optional)
Pantry does not support a git repo which uses git-annex.
Steps to reproduce
For example, using
The resolver includes a git repository which uses git-annex.
Stack to create the directory and populate with a
Stack creates the directory, then attempts to resolve the git repos in the snapshot, fails with https://github.com/dbaynard/cascade, and so doesn't create the
I've no idea why it doesn't show the git ref.
Method of installation
Built from git repo.
This was referenced
Feb 11, 2019
@dbaynard this doesn't appear to be related to tar problems, e.g. I see the following verbose output:
We could theoretically make Pantry simply ignore broken symlinks, but the error we're getting here is due to more rigorous error checking.
Yes, fixing the archive seems like the right way to do this. I'll try your suggestion. I wonder if there are other cases where archiving fails, too?
This snippet shows the code which is throwing this error (the upper
Would line 385 be a good place to add that stack doesn't support git-annex, and provide a link to the workaround?
@dbaynard that code deals with archives in general so I'm not sure we could talk explicitly about git-annex here, probably we could give some hint that it could be the reason behind such a failure but also there are other options - e.g. archive could come not from git at all and bad symlinks could get put into it my some accident.