-
Notifications
You must be signed in to change notification settings - Fork 846
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
Can't build modify-fasta from lts-6.25 due to missing hackage revision sha #3319
Comments
I had something similar with 37f0a1c. Here's how I debugged it:
|
I've investigated, and it's a bug in the lts-6.25.yaml file; that GitSHA1 refers to version 0.8.2.2, not 0.8.2.1. I think the best approach here is to turn the situation into a warning. Do you have thoughts on this @mgsloan? |
@snoyberg Seems reasonable, I suppose it is possible to figure out that the other version should be used? I suppose it's not possible to fix the lts-6.25.yaml file, since it may be cached. Would be good to figure out how the mismatch happened and ensure it doesn't happen in future snapshots. |
I'm pretty sure I caused that problem myself with a manual edit. Solution: don't do that again. I can't think of a good way to fix the file. |
Hmm... actually, maybe we can just fix the file, and then tell users in this case to just delete the cached file. Let's give that a shot first, I'm not in favor of breaking the security guarantees of checking cryptographic hashes. |
@mgsloan Can you test out the 3319-delete-invalid-snapshot-files branch? |
…napshot-files Delete invalid snapshot files #3319
This may be an issue with stackage rather than stack, encountered this issue while looking into #3109
Pinging @snoyberg . In general, how would one go about investigating this? The hackage web interface does not have these SHAs so I'm not sure how to diagnose what is going on here, or generally how users would find out these SHAs.
The text was updated successfully, but these errors were encountered: