fedora-infra / anitya

A cross-distribution upstream release monitoring project
https://release-monitoring.org
GNU General Public License v2.0
237 stars 104 forks source link

RFE: be able to reset counting version #410

Open sergiomb2 opened 7 years ago

sergiomb2 commented 7 years ago

Maybe the best solution for errors that appears like [1] is make possible reset counting versions , or delete some versions now when I was mapping https://release-monitoring.org/project/12856/ I forgot add a "v" in prefix and I'm getting errors , if I could reset the counting of "Latest version(s):" I could fix it myself. Also for example fdupes project [2] change version numeration for 1.50 to 1.6.1 (with one more dot) , reset or clear laste versions could be one solution . Thanks. [1] sergiomb flagged the project: theunarchiver with reason: Hi, Please remove as major version "3.9.1" since unar version always was 1.x.x. Thanks in advance. [2] https://release-monitoring.org/project/786/

dhduvall commented 7 years ago

The OpenStack server projects also reset their version scheme, so 13.x > 2015.x. I tried simply eliminating the 20xx versions by using a negative lookahead in the regex (cinder-((?!20\d\d)[^-/_s]+?).tar.gz), but while that works for new projects where I can get the regex right from the start, I have to wait for an admin to reset the cinder version.

eclipseo commented 3 years ago

Any chance this could see some love?

Zlopez commented 3 years ago

This is not a trivial change in Anitya, but I was thinking about something similar. In other words it's something I want to work on.

rathann commented 1 year ago

A "clear/reset version history" function that would clear the recorded versions history and redownload and reparse based on current regex would help here and sounds simple to implement.

My use case: I've just made a mistake of pointing xmp project at the main RSS feed of their SourceForge project and now I got the wrong version (4.6.0), because they publish two subprojects in the same project (libxmp and xmp). libxmp is at 4.6.0 while xmp is at 4.2.0 at the time of writing.

Zlopez commented 1 year ago

This is already available, but only for the admins of Anitya. Because not every backend can redownload all the versions again.