[Github-comments] [geany] Proxy plugins (#629)

elextr notifications at xxxxx
Thu Sep 24 22:14:24 UTC 2015


> +plugins should get a chance to load the candidate or not.
> +
> + at section proxy_dep_guideline Guideline for Runtime Errors
> +
> +A sub-plugin might not be able to run even if it's perfectly compatible with its proxy. This
> +includes the case when it lacks certain runtime dependencies such as programs or modules but also
> +syntactic problems or other errors.
> +
> +There are two basic classes:
> +
> +1) Runtime errors that can be determined at load time. For example, the shebang of a script
> +indicates a specific interpeter version but that version is not installed on the system. Your proxy
> +should respond the same way as for version-incompatible plugins: don't register the plugin at
> +all, but leave a message the user suggesting what has to be installed in order to work. Handle
> +sytanx errors in the scripts of sub-plugins the same way if possible.
> +

syntax

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/629/files#r40380144
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150924/89a23cd0/attachment.html>


More information about the Github-comments mailing list