From: Martin Vidner Date: Mon, 9 Dec 2019 14:59:27 +0000 (+0100) Subject: Explain ProgramOptions X-Git-Tag: v0.8.7^2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00e319114ae7c4d89d55d2943eec1102b22ecb0a;p=thirdparty%2Fsnapper.git Explain ProgramOptions --- diff --git a/zypp-plugin/snapper_zypp_plugin.cc b/zypp-plugin/snapper_zypp_plugin.cc index c708165f..e01512c3 100644 --- a/zypp-plugin/snapper_zypp_plugin.cc +++ b/zypp-plugin/snapper_zypp_plugin.cc @@ -42,6 +42,12 @@ ostream& operator <<(ostream& os, set ss) { return os; } +// Normally the only configuration this program needs is +// the /etc/snapper/zypp-plugin.conf file. +// But for testing we need more places to inject mocks. +// This is done with SNAPPER_ZYPP_PLUGIN_* environment variables. +// (Using argv is not useful since libzypp does not use it in the +// plugin protocol.) class ProgramOptions { public: string plugin_config;