feature: Read config directory from GLAB_CONFIG_DIR
Created by: kampka
Description
When working with many different gitlab instances for different projects, the global config quickly gets cluttered up with specific settings that do not clean up conveniently. On the other hand, local configs are to local, restricting the config to one repository instead of one project or instance that potentially contains many relevant repositories. This change introduces a middle ground solution via the GLAB_CONFIG_DIR environment variable. Setting this variable will allow global configuration to travel with the project instead of populating the XDG global config.
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms)