ReviewBot: downgrade patchinfo message to debug and include for release.

This commit is contained in:
Jimmy Berry 2018-06-28 11:37:56 -05:00
parent e308bd6139
commit df10ee01a9

View File

@ -314,9 +314,8 @@ class ReviewBot(object):
def check_action_maintenance_incident(self, req, a): def check_action_maintenance_incident(self, req, a):
dst_package = a.src_package dst_package = a.src_package
# Ignoring patchinfo package for checking
if self._is_patchinfo(a.src_package): if self._is_patchinfo(a.src_package):
self.logger.info("package is patchinfo, ignoring") self.logger.debug('ignoring patchinfo action')
return None return None
# dirty obs crap # dirty obs crap
if a.tgt_releaseproject is not None: if a.tgt_releaseproject is not None:
@ -328,6 +327,7 @@ class ReviewBot(object):
def check_action_maintenance_release(self, req, a): def check_action_maintenance_release(self, req, a):
pkgname = a.src_package pkgname = a.src_package
if self._is_patchinfo(pkgname): if self._is_patchinfo(pkgname):
self.logger.debug('ignoring patchinfo action')
return None return None
linkpkg = self._get_linktarget_self(a.src_project, pkgname) linkpkg = self._get_linktarget_self(a.src_project, pkgname)
if linkpkg is not None: if linkpkg is not None: