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

Locate configuration with environment variable #32

Closed
dmarteau opened this issue Jun 16, 2022 · 2 comments
Closed

Locate configuration with environment variable #32

dmarteau opened this issue Jun 16, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@dmarteau
Copy link
Member

dmarteau commented Jun 16, 2022

Atm the configuration file sources.list created from the init command is located in the pluging directory. For admininstration purpose or pre-initialisation in Docker image, it could be interesting to locate this file at another place (could be an environment variable with the path of the configuration file).

@Gustry Gustry self-assigned this Jun 16, 2022
@Gustry Gustry added the enhancement New feature or request label Jun 16, 2022
@dmarteau
Copy link
Member Author

Same for the location of the cache .cache_qgis_plugin_manager

@Gustry
Copy link
Member

Gustry commented Sep 22, 2022

QGIS-Plugin-Manager will take care of following variables :

  • QGIS_PLUGIN_MANAGER_SOURCES_FILE for storing a path to the sources.list otherwise, the current folder will be used.
  • QGIS_PLUGIN_MANAGER_CACHE_DIR for storing all XML files downloaded otherwise, the current folder will be used .cache_qgis_plugin_manager
  • QGIS_PLUGINPATH for storing plugins
  • PYTHONPATH for importing QGIS libraries

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

No branches or pull requests

2 participants