Allow re-installation of installed patches from Web Catalog page#312
Allow re-installation of installed patches from Web Catalog page#312nephros merged 4 commits intosailfishos-patches:masterfrom
Conversation
|
Sorry for the delayed review, I have been away on a holiday.
HTH & Cheers! |
|
I have changed the wording for the sake of constistency. Jolla's recommendation is also alomg those lines. https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-remorse.html/ |
|
The closing brace closes the watchCall from line 352, the whole code block is actually a set of arguments to that call. one of the arguments is an anonymous callback function ( The argument can be named anything, here we name it I agree it all looks a bit convoluted, but it's just the way asynchronous calls are done in qml/javascript. It's usually |
This relaxes/enhances the "can it be installed" checks in the Web Catalog Patch page so installed patches can be installed again.
Use case: lazy patch developers like myself don't bump the patch version when updating OS Compatibility. This results in (old) installed patches shown in red in the main patch list.
Having the possibility to re-install updates the metadata (at the least), making the red 'incompatible' color go away.
... and a bit of trojan horse commit: highlight the compatible OS version in the "compatible" list.