Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default system-wide plugin location to facilitate packaged installs #286

Open
jfkw opened this issue Jul 18, 2022 · 1 comment
Open

Comments

@jfkw
Copy link

jfkw commented Jul 18, 2022

To improve options for packagers, please consider adding a default system-wide location e.g. /usr/share/octosql/plugins as the first path searched for installed plugins. The user's ~/.octosql/plugins/core/ would be searched next and plugins to be loaded would be the combined set.

I am packaging OctoSQL for openSUSE and would like to build and package the standard plugins for system-wide install and package management without requiring internet access.

@cube2222
Copy link
Owner

cube2222 commented Jul 18, 2022

You can change the plugin directory from ~/.octosql/plugins to a different one using the OCTOSQL_PLUGIN_DIR environment variable.

Would that be enough for that use case?

If it's not, I'm happy to add what you proposed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants