Comment 5 for bug 1779859

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

This sounds like a simple enough issue that we could just move forward with an preliminary agreement. How about this:

- Latest comes first followed up by everything else, version-comparison-ordered, reversed

?

We can change the store first so it returns this, then see it in practice, and once that's in place communicate with all client stakeholders to not sort locally so we have a consistent listing.

Here is the deb algorithm in pure Python and in a single file, if that's useful:

https://github.com/smartpm/smart/blob/master/smart/backends/deb/debver.py