Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

ArchVersion package patched for runtime configuration using environment variables

License

Notifications You must be signed in to change notification settings

ArchStrike/archversion-envconfig-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArchVersion Environment Config

A VCS package for ArchVersion that patches in support for runtime configuration using environment variables.

Environment Variables

The environment variables that can be set for runtime configuration are:

  • XDG_DIRECTORY: The directory in $XDG_CONFIG_HOME archversion will start in when looking for files with a relative path (default: archversion)
  • CONFIG_PACKAGES: The file containing archversion package definitions (default: packages.conf)
  • CONFIG_SENDMAIL: The file containing configuration for the sendmail command (default: sendmail.conf)
  • CACHE_PACKAGES: The file containing the package version cache (default: packages.cache)

Keep in mind that if you are currently in /tmp and want to run archversion using /tmp/other_packages.conf, the command CONFIG_PACKAGES=other_packages.conf archversion will be trying to use ~/.config/archversion/other_packages.conf if no other variables are set. Instead, you should set the CONFIG_PACKAGES variable using an absolute path like this CONFIG_PACKAGES=/tmp/other_packages.conf archversion

Credits

Released by the ArchStrike team

License

This package and its contents are released under the GPLv3

About

ArchVersion package patched for runtime configuration using environment variables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages