Skip to content
This repository was archived by the owner on May 19, 2019. It is now read-only.
This repository was archived by the owner on May 19, 2019. It is now read-only.

Package search doesn't always return all the results that it should #10

@jamesmacaulay

Description

@jamesmacaulay

Right now if I click "add a package" in Ellie and type in "graphql", I get the following results:

base-dev/elm-graphql-module @1.0.0
jamesmacaulay/elm-graphql @1.3.0

There are a couple problems with these results. One is that it is only a subset of the packages on package.elm-lang.org with "graphql" in their name. If I search in Ellie for "ghivert" then it correctly shows me one of the other ones that is available, ghivert/elm-graphql @2.0.0.

The other problem with the above results is that the latest version of jamesmacaulay/elm-graphql is 1.4.0, not 1.3.0. It's not just a matter of Ellie not seeing the latest version, though: if I search Ellie's package listing for "jamesmacaulay", then the results include jamesmacaulay/elm-graphql @1.3.3 — not 1.4.0, but more recent than the 1.3.0 included when I search for "graphql". So depending on what you search for, Ellie might claim it has found different versions of the same package.

It seems like this is maybe a caching issue – maybe the search results for "graphql" are somehow frozen from a few months ago, and other searches were frozen at different times? I'm not sure how often Ellie is meant to check for new versions of packages, but jamesmacaulay/elm-graphql 1.4.0 has been out for a few months now and I can't find any way to get Ellie to return that version in search results. I assume the same is true for other packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions