-
Notifications
You must be signed in to change notification settings - Fork 198
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
Did a bunch of Hackage cabal file revisions just get lost? #305
Comments
Have a look at the revision dates on this page: http://hackage.haskell.org/package/imagesize-conduit-1.0.0.4/revisions/ Revision 1 occurred before revision 0, which seems to be the source of this problem. IMO, this is a major bug that needs to be addressed ASAP, it can affect a large number of users very quickly. |
there was a |
And add a number of new helper functions. And remove some old acid state transactions.
Doh. Fixing... |
A recent patch changed the representation of the package info, including the sequence of revisions to the .cabal file. The intention of this change was to simplify the representation and make it less confusing. Sadly the confusion bit me in the migration, and I accidentally reversed all the .cabal file revisions. This patch adds a follow-up migration that puts them all back in order. Fixes issue #305.
Ok, please check now. |
Ironically the original change was to make the representation less confusing, and in the process of migrating from the old representation I got bitten by the confusing representation and managed to reverse all the revisions. Sigh. Sorry folks. |
Seems to be working now. I'll kick off a Stackage Nightly build momentarily. |
I'm satisfied that the problem is now solved, if you'd like me to close this issue, no problem. Leaving it open for now in case you want to check in with others first. |
and @hvr tells me he's satisfied too so we can close it. |
While obviously this was a cockup on my part, one positive thing arising is that we now have clear evidence that the ability to edit the .cabal files after releases is very useful. When we accidentally reverted to the original revision lots of things broke, so clearly a lot of cases are relying on this feature. |
I went to run my Stackage Nightly build as usual, and suddenly I saw a huge number of restrictive upper bounds (see: commercialhaskell/stackage#394). None of these existed when I ran the check script last, which was approximately 12 hours ago.
Is it possible that there was a problem on Hackage Server, which wiped out all edited Cabal files?
The text was updated successfully, but these errors were encountered: