Does Stackage provide API for getting a list of all packages in a snapshot?
neongreen opened this issue · 3 comments
neongreen commented
The closest I found was lts-.../buildplan
(which returns cabal.config
) but it doesn't quite work for me because it doesn't list versions of e.g. array
and other GHC-installed packages.
If there isn't an API for that, I'm willing to implement it :)
snoyberg commented
I don't believe we currently provide any JSON APIs. I'm not opposed to
providing them, but using the YAML files directly may be a better option.
…On Sat, Jun 10, 2017, 9:43 PM Artyom Kazak ***@***.***> wrote:
The closest I found was lts-.../buildplan (which returns cabal.config)
but it doesn't quite work for me because it doesn't list versions of e.g.
array and other GHC-installed packages.
If there isn't an API for that, I'm willing to implement it :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#228>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBB1jjw59l7cTvR5px1kiMoBUTukaKks5sCuPEgaJpZM4N2MMy>
.
neongreen commented
Huh. Where can I find those YAML files?
snoyberg commented
In the fpco/lts-haskell and stackage-nightly repos. The stackage-curator
package contains types that can deserialize those files.
…On Sun, Jun 11, 2017, 11:10 PM Artyom Kazak ***@***.***> wrote:
Huh. Where can I find those YAML files?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBBxuNTKz8b9X2-N8v83UVuJEBQsA1ks5sDEm1gaJpZM4N2MMy>
.