anitya icon indicating copy to clipboard operation
anitya copied to clipboard

Implement the ability to sort different versioning schemes

Open vulpes2 opened this issue 2 years ago • 7 comments

Sometimes a project can switch to a different versioning scheme, and there does not seem to be a way to tell anitya which scheme is newer. Take UEFITool as an example, older versions with an old engine are versioned like 0.21.5, while the versions with the new engine are versioned like A63. There is currently no way to make the A** versions take precedence, and it would be nice to have a bit more control over how the releases are sorted.

vulpes2 avatar Feb 01 '23 15:02 vulpes2

I thought I already have issue for this, it seems that I don't have yet.

So for now the only option is to create a new project that will filter out the old versioning.

In the future I would like to introduce version streams, which could be used for major versions as well as for changes in versioning scheme. This should work as option for grouping versions together based on specified filter, which would be created by user, and setting specific version scheme for each version stream.

Zlopez avatar Feb 01 '23 15:02 Zlopez

Version streams would be the ideal solution to address this problem. Before that feature is implemented, if we delete the current project and recreate it, should I just put 0.2 in the version filter? (all 0.x versions start with 0.2)

The filter doesn't seem to allow me to specify a regex to only match 0.2 at the beginning either.

vulpes2 avatar Feb 01 '23 16:02 vulpes2

The filter is just looking for the pattern in string, so add anything that will filter the versions you don't need. You can use the Test button on the page to see if it's working as you want.

Zlopez avatar Feb 02 '23 11:02 Zlopez

I might be wrong but I don't think this is working as intended: 2

vulpes2 avatar Feb 02 '23 16:02 vulpes2

It doesn't remove any version that is already in Anitya, just filtering new versions found upstream.

Zlopez avatar Feb 02 '23 17:02 Zlopez

Alright, I'll flag this project for deletion and recreate it afterwards, thanks.

vulpes2 avatar Feb 02 '23 17:02 vulpes2

This is also a problem here: https://release-monitoring.org/project/155688/

50.2 is the latest.

romulasry avatar Feb 21 '23 02:02 romulasry