Use Mono.Addins to make plugin management painless
Currently, simple library assemblies are loaded from ~/.do/plugins. This should be made much more robust using Mono.Addins.
Blueprint information
- Status:
- Complete
- Approver:
- David Siegel
- Priority:
- Medium
- Drafter:
- David Siegel
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- David Siegel
- Completed by
- David Siegel
Related branches
Related bugs
Sprints
Whiteboard
The location of addins is described here: http://
In short, user addins will be stored in .config/
The addin manager will take care of loading addins from the user-directory first, then from the system-wide directory. Addins that are automagically installed by the graphical addin manager will be installed in the user directory (.config/
If we want to put the system-wide addins in another folder than the one that contains Do.exe, we can put a Do.addin file containing something like this next to Do.exe:
<Addins>
<Directory>
</Addins>
Guillaume
--
Some work with Mono.Addins. For now, LoadAssembly has been implemented (addins loaded from ~/.do/addins).
---
This would be cool if it could also load from some system-wide directory. For instance, if I package the addins and it's installed, all users should be able to load the addins installed by the package. --Rick
Sure thing. Looks like Tomboy uses /usr/lib/
---
Talking with people in #ubuntu-motu it seems there a spec for this kind of thing here:
http://
If I echo the env. variable $XDG_DATA_DIRS the first path is /usr/share which was recommended. So I'd suggest a standard directory for plugins as /usr/share/