packagist icon indicating copy to clipboard operation
packagist copied to clipboard

Show latest version number in package list

Open Nyholm opened this issue 8 years ago • 3 comments

It would be nice if you could see what the latest version number is for a package in a list of packages. I let the image describe what I mean. example

Nyholm avatar Dec 20 '15 18:12 Nyholm

Might be nice but it means we need to store this in a new field in mysql I think because computing on the fly would make it quite slow to produce listings as we'd have to load all versions to figure it out. Also would need to be added to the solr index for search result listings. And then also we need a design that makes sense because adding it there doesn't really work unless we make all rows higher which IMO isn't ideal.

So overall I'm not so sure it's worth it.. what's the real value it brings?

Seldaek avatar Jan 03 '16 15:01 Seldaek

I looked into the implementation just for a 15 minutes before I created this issue and saw that it was not an easy fix.

The only value it brings is a nice overview of the versions. Say I want a PSR6 implementation, I would go to this page to see that is it actually only one stable package that implements PSR6.

So, it was just a nice feature. But if the work is higher than the reward we should close this issue.

Nyholm avatar Jan 03 '16 15:01 Nyholm

I think an (unstable) flag following the name if there are no tags yet in that repo might be better then. It's a bit easier fix, at least design wise, and I'd argue more valuable if that's your use case as scanning a list of versions to determine which are dev only isn't as easy as spotting a colored piece of text (or lack thereof).

Seldaek avatar Jan 03 '16 15:01 Seldaek