6137216
@@ -0,0 +1,30 @@
+ %YAML 1.2
+ ---
+
+ name: A "baker's dozen" (Baker I)
+ description: You baked a dozen cookies to say thank you!
+ creator: misc
+ discussion: https://pagure.io/fedora-badges/issue/574
+ image_url: https://badges.fedoraproject.org/pngs/baker_13.png
+ issuer_id: fedora-project
+ # For this badge, the trigger is all that matters
+ trigger:
+ all:
+ - topic: irc.karma
+ - lambda: "msg.get('msg', {}).get('total', 0) >= 400"
+ # We basically ignore this criteria section since the triggering message
+ # carries the total in its payload.
+ criteria:
+ datanommer:
+ filter:
+ topics:
+ - "%(topic)s"
+ users:
+ - "%(msg.agent)s"
+ operation: count
+ condition:
+ greater than or equal to: 13
+ recipient: "%(msg.agent)s"
+ name: A "baker's basket" (Baker II)
+ image_url: https://badges.fedoraproject.org/pngs/baker_24.png
+ greater than or equal to: 24
@@ -0,0 +1,31 @@
+ name: A "baker's bundle" (Baker III)
+ image_url: https://badges.fedoraproject.org/pngs/baker_48.png
+ greater than or equal to: 48
+ name: A "baker's feast" (Baker IV)
+ image_url: https://badges.fedoraproject.org/pngs/baker_144.png
+ greater than or equal to: 144
This commit adds four baker badges and fixes #574
1 new commit added
add package-reviewer badge
add baker badges
I have always wanted a badge for this type of activity. :) Has the rule been tested, or could we have someone more savvy with fedora-messaging sign off on this? We've pushed broken badges by mistake before, so I want to be somewhat confident this works before we push it live.
This commit adds four baker badges and fixes #574