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

Import the Hackage package ecosystem #12

Open
beerendlauwers opened this issue Aug 5, 2016 · 1 comment
Open

Import the Hackage package ecosystem #12

beerendlauwers opened this issue Aug 5, 2016 · 1 comment

Comments

@beerendlauwers
Copy link
Owner

Manually adding each and every one of the many packages that Hackage hosts is a gargantuan task.

With the hackage-db library, we can read out the index files:

Prelude Distribution.Hackage.DB> db <-readHackage' "D:\\Users\\blauwers\\Downloads\\00-index.tar"

You can get the index files here: http://hackage.haskell.org/api

I could not find how the JSON API works for Hackage, which is a shame, because that might be a little easier to work with / extend.

@beerendlauwers
Copy link
Owner Author

Woops, made a typo on the issue number :|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant