From d9962eec7677d41b2774a7a3e640c58b1c647086 Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Thu, 5 Nov 2020 13:03:22 +0100 Subject: [PATCH] add changelog --- changelog/unreleased/unify-config-parsing.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 changelog/unreleased/unify-config-parsing.md diff --git a/changelog/unreleased/unify-config-parsing.md b/changelog/unreleased/unify-config-parsing.md new file mode 100644 index 000000000..b4dd277c8 --- /dev/null +++ b/changelog/unreleased/unify-config-parsing.md @@ -0,0 +1,12 @@ +Change: Unify Configuration Parsing + +Tags: ocis + +- responsibility for config parsing should be on the subcommand +- if there is a config file in the environment location, env var should take precedence +- general rule of thumb: the more explicit the config file is that would be picked up. Order from less to more explicit: + - config location (/etc/ocis) + - environment variable + - cli flag + +https://github.com/owncloud/ocis/pull/675