Open elpaso opened 7 years ago
Why even remove it? Does it matter a lot what it's called?
@NathanW2 motivation is consistency and meaning:
PATH
I always thought I made a mistake choosing that name.
IMO just add a new environment variable that is a alias. So we can support both. I guess you can add a deprecation warning but I suspect it would be ignored really.
Oh right reading it again that is what you want to do.
Yes, as I said I wanted to support both in code, but the new one should be the one in the QGIS 3.0 docs.
I was also always a bit surprised by the name of this variable and the way you propose to do it is a straightforward and low-risk migration path. Sounds good to me.
Deprecate env var
QGIS_PLUGINPATH
in favour ofQGIS_PYTHON_PLUGINS_PATH
How is the deprecation policy? I'd like to support the old
QGIS_PLUGINPATH
but raise a deprecation warning in the logs.Side note : do we have a comprehensive list of all the env vars used in QGIS?