Adopt strict plugin entry module and otp_app conventions
Some checks failed
CI / Test (push) Failing after 35s

This commit is contained in:
2026-04-04 20:33:59 +02:00
parent 54d9bdd99c
commit ed0d4f9c0d
5 changed files with 30 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ your_plugin/
```json
{
"name": "your_plugin",
"entry_module": "YourPlugin.Plugin",
"entry_module": "Tribes.Plugins.YourPlugin.Plugin",
"host_api": "1",
"otp_app": "your_plugin",
"provides": ["some_capability@1"],
@@ -76,6 +76,8 @@ your_plugin/
}
```
- **entry_module** — must be `Tribes.Plugins.*.Plugin`
- **otp_app** — required and must match `name`
- **provides** — capabilities this plugin makes available
- **requires** — hard dependencies (build fails without them)
- **enhances_with** — optional dependencies (plugin degrades gracefully)