scalacenter / scaladex

The Scala Package Index
https://index.scala-lang.org
BSD 3-Clause "New" or "Revised" License
195 stars 76 forks source link

Add background task to reindex all artifacts #1407

Open adpi2 opened 1 month ago

adpi2 commented 1 month ago

Motivation

Each time we update the Artifact model we need to re-download all POM files to get the new values and populate the new fields in the database.

Identified Obstacles

Implementation Guideline

Expectations

We should be able to trigger the task in the admin page and it should update all artifacts one by one without failing. If there is a failure it should appear in the admin page.