From 46bdec1aed3e6f7dbbd2474add8622a3a6af0c3c Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Mar 17 2019 16:02:56 +0000 Subject: Update Pagure's badges to use new fedbages consumer. This commits updates Pagure's badges rules so that they can be awarded by the new fedbadges consumer. See https://github.com/fedora-infra/fedbadges/commit/bc1aca5842b920c61c97b13148b04fe9808e6a6f Signed-off-by: Clement Verna --- diff --git a/rules/pagure-long-life-01.yml b/rules/pagure-long-life-01.yml index 3931743..c8f8667 100644 --- a/rules/pagure-long-life-01.yml +++ b/rules/pagure-long-life-01.yml @@ -26,9 +26,9 @@ criteria: topics: - "%(topic)s" # The topic of the message that triggered us. users: - - "%(msg.commit.username)s" + - "%(msg.authors)s" operation: count condition: greater than or equal to: 1 -recipient: "%(msg.commit.username)s" +recipient: "%(msg.authors)s" diff --git a/rules/pagure-long-life-10.yml b/rules/pagure-long-life-10.yml index 23561fd..53361d1 100644 --- a/rules/pagure-long-life-10.yml +++ b/rules/pagure-long-life-10.yml @@ -26,9 +26,9 @@ criteria: topics: - "%(topic)s" # The topic of the message that triggered us. users: - - "%(msg.commit.username)s" + - "%(msg.authors)s" operation: count condition: greater than or equal to: 10 -recipient: "%(msg.commit.username)s" +recipient: "%(msg.authors)s" diff --git a/rules/pagure-long-life-1000.yml b/rules/pagure-long-life-1000.yml index 74fd796..ae246f1 100644 --- a/rules/pagure-long-life-1000.yml +++ b/rules/pagure-long-life-1000.yml @@ -26,9 +26,9 @@ criteria: topics: - "%(topic)s" # The topic of the message that triggered us. users: - - "%(msg.commit.username)s" + - "%(msg.authors)s" operation: count condition: greater than or equal to: 1000 -recipient: "%(msg.commit.username)s" +recipient: "%(msg.authors)s" diff --git a/rules/pagure-long-life-150.yml b/rules/pagure-long-life-150.yml index 0f51caa..99e91dc 100644 --- a/rules/pagure-long-life-150.yml +++ b/rules/pagure-long-life-150.yml @@ -26,9 +26,9 @@ criteria: topics: - "%(topic)s" # The topic of the message that triggered us. users: - - "%(msg.commit.username)s" + - "%(msg.authors)s" operation: count condition: greater than or equal to: 150 -recipient: "%(msg.commit.username)s" +recipient: "%(msg.authors)s" diff --git a/rules/pagure-long-life-50.yml b/rules/pagure-long-life-50.yml index e709fa7..b0a5133 100644 --- a/rules/pagure-long-life-50.yml +++ b/rules/pagure-long-life-50.yml @@ -26,9 +26,9 @@ criteria: topics: - "%(topic)s" # The topic of the message that triggered us. users: - - "%(msg.commit.username)s" + - "%(msg.authors)s" operation: count condition: greater than or equal to: 50 -recipient: "%(msg.commit.username)s" +recipient: "%(msg.authors)s" diff --git a/rules/pagure-long-life-500.yml b/rules/pagure-long-life-500.yml index fe7bfcf..8f9fb79 100644 --- a/rules/pagure-long-life-500.yml +++ b/rules/pagure-long-life-500.yml @@ -26,9 +26,9 @@ criteria: topics: - "%(topic)s" # The topic of the message that triggered us. users: - - "%(msg.commit.username)s" + - "%(msg.authors)s" operation: count condition: greater than or equal to: 500 -recipient: "%(msg.commit.username)s" +recipient: "%(msg.authors)s"