alcatraz / Alcatraz

Package manager for Xcode
alcatraz.io
MIT License
9.87k stars 1.15k forks source link

Mark plugins incompatible with the current Xcode version #443

Open guillaumealgis opened 8 years ago

guillaumealgis commented 8 years ago

I intend to add a feature similar to https://github.com/alcatraz/Alcatraz/pull/303 where installed plugins are marked as incompatible (or any other adjective, I'm open to suggestions :) ) when they do not include the right UUID for the currently running Xcode.

c1f7aa52-1c64-11e5-8702-1b6d00cfaeb8

We'll also probably need a way to show the user what this means. Maybe adding a line of text to the plugin description like "This plugin is not compatible with your version of Xcode. Last supported version was Xcode 6.0.0.".

It would have been better to mark all incompatibles plugins and not just the installed ones, but given that the DVTPlugInCompatibilityUUIDs info is unavailable without downloading the plugin, I don't have any practical idea of how to do this.

Opening this issue to track progress.

guillaumealgis commented 8 years ago

I'm also considering adding a special action (maybe clicking the button while pressing the alt key?) to "force install" the plugin, by adding the Xcode UUID ourselves to the plist. That way users would have a practical way to "live on the edge" without having to wait for the plugin maintainer to update the plist with the new UUID.

This would have the same outcome as @ForkPanda's script in https://github.com/alcatraz/Alcatraz/issues/390, with much more fine-grained control.

If you're interested in this feature, please :+1: /:-1: this comment so I can know whether this is a good idea, thanks!

jurre commented 8 years ago

It's an interesting idea (force install), I wanna think about it a bit before voting

ForkPanda commented 8 years ago

Greaaaaaaaaaaaaat idea. :)