Skip to content

Search query returns outdated artifact versions #861

@rome-user

Description

@rome-user

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.

<?xml version="1.0" encoding="UTF-8"?>
<results count="1" total-hits="1" results-per-page="24" offset="0">
  <result jar_name="helix"
	  group_name="lilactown"
	  version="0.0.12"
	  description="ClojureScript optimized for modern React development."
	  created="1591393718860" />
</results>

However, the latest version of lilactown/helix, at the time of writing, is 0.1.10. This causes commands like lein 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.

Metadata

Metadata

Assignees

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