`depends_on` plugin registration attribute not in addons-xx.json file

While working from the addons-en.json as a checklist for Addons missing a help_url, noticed that the depends_on is not among the 3 prerequisite attributes (requires modules, requires_exe, requires gi) conveyed to the Addon Manager. Is this an oversight?

The various Web Connect plugins are the only addons that I’ve noted as using that depends_on attribute

The documentation on the proper use of the new prerequisites attributes is thin. Perhaps the ‘depends_on’ attribute was deprecated and should be changed to use one of the new attributes?

No. The depends_on list is used to specify other plugins which the plugin depends on. These will be installed automatically.

Nice. Since the install is so transparent, I think we (won’t need to burden programmers to do this) should simplify the descriptions for the Web Connect addons. They don’t need to be so aware of an automatically installed library.

description = _("Collection of Web sites for the UK (requires libwebconnect)"),

The descriptions aren’t good anyway. A collection of websites sounds like a wiki article or an “Angie’s List”. Not very compelling

What do you think of “Pre-fills web search forms and launches keyword searches on popular UK-focused websites.”

1 Like