Open sergiomb2 opened 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.
Any chance this could see some love?
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.
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.
This is already available, but only for the admins of Anitya. Because not every backend can redownload all the versions again.
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/