View Issue Details

IDProjectCategoryView StatusLast Update
0005435Composrcore_addon_managementpublic2024-03-30 03:24
ReporterPatrick SchmalstigAssigned ToPatrick Schmalstig 
SeverityFeature-request 
Status closedResolutionwon't fix 
Product Version 
Fixed in Version 
Summary0005435: Standardise the use of "recommends" in addon registry
DescriptionI think we could benefit from using a standard when defining which addons an addon recommends (but does not require) you to install.

My idea is simple: If the addon codebase contains any addon_installed checks (usually if conditions) that proceed with additional functionality if the addon is installed, or if a negative addon_installed check for the addon triggers a simple return when it passes, then said addon is "recommended".

(A key note to differentiate between recommends and requires: if the code actually throws an error when the addon is not installed, then it is "required", not "recommended").

Usually, when the code above exists, this means there is extra functionality to the addon when another addon is installed. I think this is good enough to say, therefore, the addon is "recommended", and to define "recommends" as addons which, when installed, the addon will utilize for extended functionality.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2024-03-24 20:06

administrator   ~0008426

I'm not sure what the change is here. Are you recommending changing the documentation, putting this in the build addon UI, trying to auto-detect status?

Patrick Schmalstig

2024-03-25 17:11

administrator   ~0008442

Last edited: 2024-03-25 17:11

View 2 revisions

I think I was suggesting making this a coding standard for addons (documentation) and making an automated test for it.

Chris Graham

2024-03-28 13:48

administrator   ~0008467

Seems unnecessary to me, I think it's more of a case of human judgement. I wouldn't consider one addon referencing another the same as a recommendation. For example, you could have some addon that integrates with most of the bundled addons to supplement them somehow, but that's not recommending them, that's serving them.

Patrick Schmalstig

2024-03-28 16:14

administrator   ~0008474

What do we define as "recommends" then in that case?

Chris Graham

2024-03-29 00:42

administrator   ~0008482

It's a human judgement. What the author of the addon recommends it pairs with. For cases where an addon would be enhanced by said pairing, but it's not an actual dependency.

Patrick Schmalstig

2024-03-30 03:22

administrator   ~0008484

Got it, then this is a useless issue in that case.

Issue History

Date Modified Username Field Change
2023-11-06 15:31 Patrick Schmalstig New Issue
2023-11-06 15:34 Patrick Schmalstig Description Updated View Revisions
2023-11-06 15:35 Patrick Schmalstig Description Updated View Revisions
2024-03-24 20:06 Chris Graham Note Added: 0008426
2024-03-25 17:11 Patrick Schmalstig Note Added: 0008442
2024-03-25 17:11 Patrick Schmalstig Note Edited: 0008442 View Revisions
2024-03-28 13:48 Chris Graham Note Added: 0008467
2024-03-28 16:14 Patrick Schmalstig Note Added: 0008474
2024-03-29 00:42 Chris Graham Note Added: 0008482
2024-03-30 03:22 Patrick Schmalstig Assigned To => Patrick Schmalstig
2024-03-30 03:22 Patrick Schmalstig Status non-assigned => closed
2024-03-30 03:22 Patrick Schmalstig Resolution open => won't fix
2024-03-30 03:22 Patrick Schmalstig Note Added: 0008484
2024-03-30 03:23 Patrick Schmalstig Project Composr alpha bug reports => Composr
2024-03-30 03:24 Patrick Schmalstig Category General / Uncategorised => core_addon_management