devopshq / artifactory

dohq-artifactory: a Python client for Artifactory
https://devopshq.github.io/artifactory/
MIT License
269 stars 137 forks source link

Add `$DOHQ_ARTIFACTORY_PYTHON_CFG` environment variable #413

Closed Jorengarenar closed 1 year ago

Jorengarenar commented 1 year ago

$DOHQ_ARTIFACTORY_PYTHON_CFG environment variable for overriding the default location of configuration file without a need to make changes in the code. It helps in multi-user workflow, when writing to $HOME is restricted or when the file needs to be stored in designated location.

As added bonus, it enables a semi-compilance with XDG Base Directory Specification for interested parties.

allburov commented 1 year ago

@Jorengarenar could you rebase the branch on the current master so we can merge it?

Jorengarenar commented 1 year ago

@Jorengarenar could you rebase the branch on the current master so we can merge it?

Sure