You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/02/19 18:12:29 UTC

[GitHub] [netbeans] sdedic commented on pull request #2769: NonUI compatibility: Trust project question uses standard dialogs.

sdedic commented on pull request #2769:
URL: https://github.com/apache/netbeans/pull/2769#issuecomment-782246691


   I had two other solutions before I've decided to take this shortcut:
   - use "branding API" to modify the behavior. But I would have to code the variants (permitted actions) in Gradle anyway, so it's not less complicated than the current
   - introduce a TrustProvider SPI (instances placed in default Lookup), the current `master` implementation being the default if no Provider decided otherwise. The decisions could be 'trust-persist', 'trust-session', 'abstain' and 'reject'. Gradle core would then take care of the persistent decisions as it does now. LSP can register its own provider and provide the alternative implementation. Would be slightly complicated as I'd probably need to introduce a Gradle integration module (so the base LSP does not bloat with dependencies), but doable
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists