hackage-diff icon indicating copy to clipboard operation
hackage-diff copied to clipboard

endOfInput when trying to compare Cabal 1.24.0.0 and 1.24.1.0

Open 23Skidoo opened this issue 8 years ago • 1 comments

This is what I get when trying to compare Cabal 1.24.1.0 API with 1.24.0.0:

$ hackage-diff Cabal 1.24.0.0 1.24.1.0
Downloading / Reading Hoogle DBs...
Parsing Hoogle DBs...
endOfInput

Would be nice if the error was a bit more informative at least.

23Skidoo avatar Dec 01 '16 13:12 23Skidoo

I probably should have used a parser combinator library with better error messages than attoparsec. For now there isn't really any information I can display.

The problem is that the Hoogle DB format changed with v5. I investigated this a bit when the change originally happened. IIRC I did not figure out completely why there was a change and pushed some fixes that seemed to fix the majority of the errors. IIRC there was another breaking change after that. I'm waiting for Hoogle 5 to be out of 'alpha' status before I take another look at the parser. It's probably going to be a bit hit & miss till then.

blitzcode avatar Dec 01 '16 20:12 blitzcode