Feature Description
Allow kit to load extensions from a system wide directory, e.g. /usr/share/kit/extensions.
Motivation / Use Case
kit currently loads extensions from multiple directories, but these are all local to a specific user. This is slightly awkward when kit would be installed as a system wide package (like from an rpm or a deb). In that case, users would expect that extensions live in a system directory (e.g. under /usr/).
Proposed Implementation
- rename `globalExtensionsDir` to `userGlobalExtensionsDir`
- create `systemWideExtensionsDir`:
func globalExtensionsDir() string {
// or make it configurable at build time
return "/usr/share/kit/extensions"
}
Alternatives Considered
Checklist
Feature Description
Allow kit to load extensions from a system wide directory, e.g.
/usr/share/kit/extensions.Motivation / Use Case
kit currently loads extensions from multiple directories, but these are all local to a specific user. This is slightly awkward when kit would be installed as a system wide package (like from an rpm or a deb). In that case, users would expect that extensions live in a system directory (e.g. under /usr/).
Proposed Implementation
Alternatives Considered
Checklist