Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the ability to sort different versioning schemes #1540

Open
vulpes2 opened this issue Feb 1, 2023 · 7 comments
Open

Implement the ability to sort different versioning schemes #1540

vulpes2 opened this issue Feb 1, 2023 · 7 comments
Labels
Medium Priority This ticket has a medium priority type.feature New feature

Comments

@vulpes2
Copy link

vulpes2 commented Feb 1, 2023

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.

@Zlopez Zlopez added Medium Priority This ticket has a medium priority type.feature New feature labels Feb 1, 2023
@Zlopez
Copy link
Contributor

Zlopez commented Feb 1, 2023

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.

@vulpes2
Copy link
Author

vulpes2 commented Feb 1, 2023

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.

@Zlopez
Copy link
Contributor

Zlopez commented Feb 2, 2023

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.

@vulpes2
Copy link
Author

vulpes2 commented Feb 2, 2023

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

@Zlopez
Copy link
Contributor

Zlopez commented Feb 2, 2023

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

@vulpes2
Copy link
Author

vulpes2 commented Feb 2, 2023

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

@romulasry
Copy link

romulasry commented Feb 21, 2023

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

50.2 is the latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Medium Priority This ticket has a medium priority type.feature New feature
Projects
None yet
Development

No branches or pull requests

3 participants