From 1975ddb8ebc2f477a85e9a16905dd081ce0bea72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 16 Jul 2010 15:57:28 +0200 Subject: [PATCH] Revert "no need to warn about empty validator dir" after discussion, we will provide an update with osc-source_validator instead This reverts commit 828bb264ca7a121c15d48d586e498589e51d8461. --- osc/commandline.py | 1 + osc/conf.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/osc/commandline.py b/osc/commandline.py index 52ec460d..d50b45fb 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -2830,6 +2830,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. if opts.skip_validation: validators = None elif not os.path.exists(validators): + print "WARNING: validator directory", validators, "configured, but not existing (please install osc-source_validator). Skipping ..." validators = None if opts.verbose_validation: verbose_validation = 1 diff --git a/osc/conf.py b/osc/conf.py index 3b8c63be..d61d49ce 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -253,6 +253,9 @@ apiurl = %(apiurl)s #review requests interactively (default: off) #request_show_review = 1 +# Directory with executables to validate sources, esp before committing +#source_validator_directory = /usr/lib/osc/source_validators + [%(apiurl)s] user = %(user)s pass = %(pass)s