1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-14 00:06:15 +01:00

Revert "no need to warn about empty validator dir"

after discussion, we will provide an update with osc-source_validator instead

This reverts commit 828bb264ca.
This commit is contained in:
Adrian Schröter 2010-07-16 15:57:28 +02:00
parent 1d49a5ea1c
commit 1975ddb8eb
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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