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 environment variable OPENVAR_PLUGIN #23

Merged
merged 3 commits into from
Mar 13, 2024

Commits on Mar 12, 2024

  1. add: function to load expected environment variables.

    - set `OPENVAR_PLUGIN`to `$HOME/.local/share/openvariant`
    - check if environment variable are not in the env otherwise adds them
    - check if path extists already, otherwise create directory
    - update requiremente with appdir package
    FedericaBrando committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    0dd8449 View commit details
    Browse the repository at this point in the history
  2. update: builder func and create plugin func with env var

    -  update plugin builder to look for external plugin in `OPENVAR_PLUGIN`
    -  update create plugin function to use env_var by default
    - Add `loadEnvironmentVariables()` so plugin tests do not fail.
    FedericaBrando committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    7b5cb71 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    51689e5 View commit details
    Browse the repository at this point in the history