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

Including more packages in https://haskell-code-explorer.mfix.io/ #44

Closed
sjakobi opened this issue Feb 8, 2020 · 6 comments
Closed

Comments

@sjakobi
Copy link

sjakobi commented Feb 8, 2020

First off, many thanks for creating this project! :)

I often go to https://haskell-code-explorer.mfix.io/ to see how some library export is being used in other packages. Recently I started getting involved with prettyprinter which unfortunately isn't included in the current package set.

What would it take to get it included? Would it be feasible to extend the package set to the entirety of e.g. LTS-14.23?

@alexwl
Copy link
Owner

alexwl commented Feb 9, 2020

Thanks!

I added prettyprinter (master branch from github) to the package set: https://haskell-code-explorer.mfix.io/package/prettyprinter-1.6.0

Adding all packages from a stackage snapshot is feasible, I just haven't seen the need to do it yet. The only problem is that building and indexing all packages from e.g., https://www.stackage.org/lts-14.23/cabal.config, could take tens of hours.

@sjakobi
Copy link
Author

sjakobi commented Feb 9, 2020

I added prettyprinter (master branch from github) to the package set: https://haskell-code-explorer.mfix.io/package/prettyprinter-1.6.0

Cheers! Now what I'm really interested in are the references to the prettyprinter-* packages from their reverse dependencies! :)

If indexing those is costly or much hassle for you, I can just try to do it locally.

I also wonder whether the Stackage people might be interested in generating and hosting the indexed sources for e.g. their LTS snapshots…

@alexwl
Copy link
Owner

alexwl commented Feb 9, 2020

Indexing 17 packages is not a problem :)

Btw, these packages are already added:
prettyprinter-ansi-terminal-1.1.1.2
prettyprinter-compat-annotated-wl-pprint-1
prettyprinter-compat-ansi-wl-pprint-1.0.1
prettyprinter-compat-wl-pprint-1.0.0.1
prettyprinter-convert-ansi-wl-pprint-1.1

I will add the rest as soon as I can.

@alexwl
Copy link
Owner

alexwl commented Feb 10, 2020

I've added the rest of the packages from https://www.stackage.org/nightly-2020-02-08/package/prettyprinter-1.6.0/revdeps to https://haskell-code-explorer.mfix.io

@sjakobi
Copy link
Author

sjakobi commented Feb 11, 2020

Thank you so much! I've already found some very interesting references to prettyprinter exports! :)

Feel free to close this! Although I'm sure that something like regular updates for example with the latest editions of LTS series (12.26, 13.19, etc.) could be very useful for a lot of package maintainers. :)

@alexwl
Copy link
Owner

alexwl commented Feb 12, 2020

I'm glad it helped!
I'll try to implement regular updated if I have enough time.

@alexwl alexwl closed this as completed Feb 12, 2020
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

No branches or pull requests

2 participants