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

Show the latest stable and pre-release (beta) version, if available #3

Closed
FichteFoll opened this issue Sep 13, 2013 · 6 comments
Closed

Comments

@FichteFoll
Copy link
Contributor

If a package provides a pre-release version, it should be treated separately since PC has a specific option for that. I think of displaying both, the latest stable and the latest pre-release version, only if the pre-release is higher than the latest stable.

@wbond
Copy link
Owner

wbond commented Sep 13, 2013

This get's complicated also once you factor in different versions for different platforms.

My current approach is (supposed) to just display the highest version number.

@FichteFoll
Copy link
Contributor Author

You're right, different platforms is indeed a problem here. Will think about an elegant solution.

@aparajita
Copy link

As Will said, the current approach is supposed to display the highest version number, but in #20 it isn't.

@wbond
Copy link
Owner

wbond commented Feb 6, 2014

I've just pushed live changes that should properly show:

  1. All unique combinations of platform + ST version + package version
  2. Any prerelease versions that are higher than the current stable version (if any)

There aren't that many packages using complex setups, but here are a few examples:

https://sublime.wbond.net/packages/SVN
https://sublime.wbond.net/packages/Codecs33
https://sublime.wbond.net/packages/Codecs26

Currently none of them have prerelease versions available, but I did test with those on a local database.

@wbond wbond closed this as completed Feb 6, 2014
@FichteFoll
Copy link
Contributor Author

Awesome! This is exactly what I imagined.

@FichteFoll
Copy link
Contributor Author

In regard to wbond/package_control#640 (which was probably never an issue though), are both the most recent pre-release and the most recent stable release grabbed from a tags page? I could set up a test repo or just push a pre-release tag to one of my repos, but I'm not at home right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants