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

Add --convert option from Hoogle4 #376

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

michaelbjames
Copy link

Adds feature not ported from Hoogle4, as noted in #373.

This re-introduces the --convert flag which takes a list of text databases to index into the binary format.

This is a more strict version of --local=directory, since this will only read the specific files listed on the command line, whereas the --local option will read all .txt files, even those that might not parse.

In my use case, I don't need the hoogle server as I just use the CLI lookup. So, it seems unclear what the behavior should be when serving a text database through the server interface. I suppose it is possible to point Hoogle to the right documentation directory where it could find the rest of the Haddock docs. If you have any suggestion for this murky support for the server interaction, I'm open to fixing it.

@michaelbjames michaelbjames changed the title Set source Add --convert option from Hoogle4 Jul 22, 2021
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

Successfully merging this pull request may close these issues.

3 participants