#737 Add Baker png, svg and yml.
Opened 5 months ago by raydeeam. Modified 5 months ago
raydeeam/fedora-badges temp_branch  into  master

empty or binary file added
empty or binary file added
empty or binary file added
empty or binary file added
file added
+30

@@ -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"

file added
+30

@@ -0,0 +1,30 @@ 

+ %YAML 1.2

+ ---

+  

+ name:           A "baker's basket" (Baker II)

+ 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_24.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: 24

+ 

+ recipient: "%(msg.agent)s"

file added
+31

@@ -0,0 +1,31 @@ 

+ %YAML 1.2

+ ---

+  

+ name:           A "baker's bundle" (Baker III)

+ 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_48.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: 48

+ 

+ recipient: "%(msg.agent)s"

+ 

file added
+30

@@ -0,0 +1,30 @@ 

+ %YAML 1.2

+ ---

+  

+ name:           A "baker's feast" (Baker IV)

+ 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_144.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: 144

+ 

+ recipient: "%(msg.agent)s"

file added
+17763
The added file is too large to be shown here, see it at: svgs/baker_13.svg
file added
+17787
The added file is too large to be shown here, see it at: svgs/baker_144.svg
file added
+17764
The added file is too large to be shown here, see it at: svgs/baker_24.svg
file added
+17787
The added file is too large to be shown here, see it at: svgs/baker_48.svg

This commit adds four baker badges and fixes #574

1 new commit added

  • add package-reviewer badge
5 months ago

1 new commit added

  • add baker badges
5 months ago

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.