jenkins-bot has submitted this change and it was merged.

Change subject: qa: do not error when nothing is available

qa: do not error when nothing is available

When there are no source code repositories or CI found in existing
source code repositories or no CI claims to verify, just silentely do
nothing instead of displaying an error.

For a verification to happen, there needs to be at least one source code
repository and at least one CI claim. There may exist CI claims that are
unrelated to source code repositories.

Change-Id: Ic1bbee4f8e76771505aa23debc8bf40a81123216
Signed-off-by: Loic Dachary <>
1 file changed, 3 insertions(+), 2 deletions(-)

  Dachary: Looks good to me, approved
  jenkins-bot: Verified

diff --git a/FLOSSbot/ b/FLOSSbot/
index da3bee5..fa44e3d 100644
--- a/FLOSSbot/
+++ b/FLOSSbot/
@@ -76,14 +76,15 @@
             if claim.getTarget() == self.Q_Continuous_integration:
                 has_ci = True
         if not has_ci:
+            self.debug(item, "verify: no ci to verify")
             return ['no ci']
         repositories =, [])
         if len(repositories) == 0:
-            self.error(item, "has no source code repository")
+            self.debug(item, "verify: has no source code repository")
             return ['no repository']
         found = self.extract_ci(item, repositories)
         if not found:
-            self.error(item, "verify: no ci found")
+            self.debug(item, "verify: no ci found")
             return ['no ci found']
         self.debug(item, "repositories have " + str(found))
         url2qa = {}

To view, visit
To unsubscribe, visit

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic1bbee4f8e76771505aa23debc8bf40a81123216
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/bots/FLOSSbot
Gerrit-Branch: master
Gerrit-Owner: Dachary <>
Gerrit-Reviewer: Dachary <>
Gerrit-Reviewer: jenkins-bot <>

MediaWiki-commits mailing list

Reply via email to