Open razzeee opened 5 years ago
It looks like the elm package site has removed their feed of new packages (https://github.com/librariesio/dispatch/blob/master/dispatch.rb#L111) that we were using
Indeed, that route was removed a while ago (elm/package.elm-lang.org@0e9fe67696fa14838098283e6eb97a9ca51cf91d).
I assume we don't want to just request package.elm-lang.org/all-packages
? Maybe that's OK though?
There's an interesting route, package.elm-lang.org/all-packages/since/:number
. It seems like the number is incremented for new versions of any package. When I tested it just now, https://package.elm-lang.org/all-packages/since/8408 returns one package, https://package.elm-lang.org/all-packages/since/8409 returns none. Lower numbers return more packages.
EDIT: Evan wrote about the route in a commit:
The overall goal here is that when someone asks for /all-packages/since/1024 they are served only the fraction they are missing, not the whole history.
Bugs
Before submitting a bug report:
bug
orbugsnag
.The packages for elm are not updating, probably since the release of elm 0.19. https://libraries.io/elm shows the latest update on the 25th july. Also the main elm repo changed from
elm-lang
toelm
and most packages have been moved toelm