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

Add sorting by creation date for versions #593

Closed
Zlopez opened this issue Aug 29, 2018 · 3 comments
Closed

Add sorting by creation date for versions #593

Zlopez opened this issue Aug 29, 2018 · 3 comments
Labels
Medium Priority This ticket has a medium priority type.feature New feature
Milestone

Comments

@Zlopez
Copy link
Contributor

Zlopez commented Aug 29, 2018

Currently the version scheme used by Anitya is sorting the versions by numbers, which is not good in some situation.
I think that it will be better to use date when the version was retrieved. This should solve the problem with showing other than newest version as latest.

@Zlopez Zlopez added type.feature New feature Medium Priority This ticket has a medium priority labels Aug 29, 2018
@jeremycline
Copy link
Member

I think it's reasonable to sort by date discovered in the UI, although do keep in mind that some projects maintain multiple major releases at once (e.g. 1.2.2 could come out, then 1.1.4 could come out) which might look odd unless it's obviously sorted by release date.

@Zlopez
Copy link
Contributor Author

Zlopez commented Aug 30, 2018

Yes, the date of discovering must be shown on the UI. Otherwise it doesn't make sense.

@Zlopez Zlopez added this to the 0.14.0 milestone Sep 6, 2018
@Zlopez Zlopez changed the title Change default sorting for versions Add sorting by creating date for versions Oct 5, 2018
@Zlopez
Copy link
Contributor Author

Zlopez commented Oct 5, 2018

In the PR #625 I changed the behavior a little. The user can now choose which version scheme he wants to use for the project.

@mergify mergify bot closed this as completed in #625 Oct 5, 2018
@Zlopez Zlopez changed the title Add sorting by creating date for versions Add sorting by creation date for versions Oct 11, 2018
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

2 participants