#675 Update Pagure's badges to use new fedbages consumer.
Merged 3 years ago by jflory7. Opened 3 years ago by cverna.
cverna/fedora-badges pagure_badges  into  master

@@ -26,9 +26,9 @@ 

          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"

@@ -26,9 +26,9 @@ 

          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"

@@ -26,9 +26,9 @@ 

          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"

@@ -26,9 +26,9 @@ 

          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"

@@ -26,9 +26,9 @@ 

          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"

@@ -26,9 +26,9 @@ 

          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"

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 cverna@tutanota.com

Metadata Update from @jflory7:
- Pull-request tagged with: bug, review

3 years ago

We discussed this in #fedora-badges last week. The change is simple and makes sense to me. I'm going to merge this now and run the playbook. :clapper:

Pull-Request has been merged by jflory7

3 years ago