Closed rome-user closed 1 year ago
Hi @rome-user! Thanks for reporting this. I suspect it is caused by the query that pulls all the jars/versions for indexing isn't ordered, so 0.0.12 may appear in the resultset after 0.1.10. This would cause thhe index doc for 0.0.12 to overwrite the doc for 0.1.10 on a full reindex. I'll take a look at fixing this this week.
@rome-user This should be fixed now!
Consider a query like https://clojars.org/search?format=xml&q=lilactown/helix
At the time of writing this issue, the following data is returned.
However, the latest version of
lilactown/helix
, at the time of writing, is0.1.10
. This causes commands likelein search
to display outdated versions of packages.I'll note that the API endpoint returns the latest version. Consider https://clojars.org/api/artifacts/lilactown/helix . This returns an EDN map with
[:latest_version "0.1.10"]
as a key-value pair.