repochecker: Adjust the decline message for missing binaries

Some users are confused as the old message "package never built" does
not have to be true in many cases, especially on longer-lasting
stagings. In this case, the binaries might have been built but have
since been replaced by newer ones - the effect is the same: repo-checker
can't receive them in order to perform the full checks.
This commit is contained in:
Dominique Leuenberger 2016-04-12 11:02:34 +02:00
parent 6e552daaf1
commit 8c6ef7ff80

View File

@ -798,7 +798,7 @@ class CheckRepo(object):
if arch.attrib['result'] == 'building': if arch.attrib['result'] == 'building':
r_foundbuilding = repo_name r_foundbuilding = repo_name
if arch.attrib['result'] == 'outdated': if arch.attrib['result'] == 'outdated':
msg = "%s's sources were changed after submissions and the old sources never built. Please resubmit" % request.src_package msg = "%s's sources were changed after submission: the relevant binaries are not available (never built or binaries replaced). Please resubmit" % request.src_package
print 'DECLINED', msg print 'DECLINED', msg
self.change_review_state(request.request_id, 'declined', message=msg) self.change_review_state(request.request_id, 'declined', message=msg)
# Next line is not needed, but for documentation # Next line is not needed, but for documentation