bruderstein / nppPluginManager

Notepad++ Plugin Manager
http://www.brotherstone.co.uk/npp/pm/
GNU General Public License v2.0
1.67k stars 223 forks source link

Add option to install / keep older versions of a plugin #90

Open GitMensch opened 6 years ago

GitMensch commented 6 years ago

It would be good to have an option to install older versions of plugins, too. It happened more than once and is understandable that funky new version X of a plug-in provided bug fixes for b1, b2, b3 and enhancements, therefore you click on "download", just to recognize you like these enhancements but there is a new bug b4 which is much more severe for you - and the plugin manager currently has no way of getting the old version back. A manual backup before a plugin update is something you likely forget when necessary and downgrading from a backup is something not all NPP users can easily do.

The easiest option on the client side would be:

On the GUI side I suggest to add a dropdown with the available plugin versions (date + version) next to the install button + a checkbox next to it "keep version" (no update checks for this plugin are done).

chcg commented 6 years ago

Currently available are two list the dev list and the normal list, which is updated with the dev list with a regular timeframe. So there is a possibility to test new plugin versions before widespread deployment. There is no history provided in the deployed plugin lists. So this would require some kind of history management on server side and either a bigger plugin list deployed to the client or an additional plugin specific download for the history of a plugin.

GitMensch commented 6 years ago

@chcg your description shows: a normal user has no time frame for testing and he may use the plugin manager much later than the release of a plugin. Therefore the only option for "testing" he'd had is if the plugin manager has the option to use a later version, too.

There is no history provided in the deployed plugin lists. So this would require some kind of history management on server side and either a bigger plugin list deployed to the client or an additional plugin specific download for the history of a plugin.

Yes, that's why I said the download list must be changed to include a list of versions, too.

Another option would be to provide the plugins with an internal git client with the following results: