-
Notifications
You must be signed in to change notification settings - Fork 285
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
enhance Quicksilver version checking #1835
Conversation
implement `minHostVersion` and `maxHostVersion`
Oh dammit, I just accidentally deleted your comment, but I copied it in the meantime... @skurfer said earlier:
Thinking about it, that seems right. By the same logic, shouldn't I didn't see the need for us to include this in v1.2, but I guess you're going along the lines that the Cube interface might one day be fixed, so we shouldn't obsolete it (although, it it is fixed we can just change the plugin ID) |
Well, I was thinking Cube should remain available for download, but I guess obsoleting it won’t prevent that in older builds. Seems a bit harsh, though. 😃
I think that’s a little different. In that case, the setting the “user” (plug-in developer) sees is Yes, that’s inconsistent, but I think there was a reason. Maybe because we control QS releases, but not OS releases? I’d have to look back at when I added the OS checks, but no time right now. |
Looks good, just for my small (and no doubt annoying!) comment |
I said:
Apologies, I've just looked at the dev ref and you've done this. Maybe the reference to
Aaah OK I see, in that case you're right :) Edit: I can confirm the server first checks the requirements dict for |
I think I remember why OS is different. Say 10.7.0 is released when 10.6.5 is the latest. We find that something is broken on 10.7.0. We can’t just say “support up to 10.6.5” because then 10.6.6 - 10.6.8 come along and cause the plug-in to be disabled, when it really doesn’t need to be. So instead we say “don’t support 10.7.0 or later”, which is what we actually mean. |
I wasn't sure if that meant you were going to add it to this pull or not? :P |
I've updated the plugin dev ref: 85767be |
Yeah, I plan to. Thought it would be done shortly after the comment, or I would have been more clear. Sorry.
Thanks! |
Also - document all keys in a doxygen style way
Isn't documenting something always the best way to figure it out? Well I've gone and documented/ |
So now it just needs you to merge before the next release ;-) |
enhance Quicksilver version checking
Thanks. Sorry for the delay. Work has been ridiculous lately. |
implement
minHostVersion
andmaxHostVersion
As discussed on the list.
I’ve already put a version of the Cube interface out that advertises its lack of support beyond 1.1.3. It’s a little messy, since the update system prevents you from seeing that update if you’re already on 1.2.0. But those people have surely discovered by now that the Cube crashes QS. People still on 1.1.3 should get the update.
We need to make a small tweak on the remote side for the update system. When it’s returning a list of plug-ins that support the current version, it will still list the plug-in if
maxHostVersion
is the current version + 1. SomaxHostVersion
is acting like “minimum unsupported version” instead of “maximum supported version”. I think. Basically, I had to add 1 to what was in the database (16391 → 16392) to get the right behavior. :-)