@@ -0,0 +1,39 @@
+ %YAML 1.2
+ # This badge is a manually-awarded badge.
+ # This is some metadata about the badge
+ name: I converted to btrfs!
+ description: You helped Fedora test Btrfs before it became the default!
+ creator: mattdm
+ # This is a link to the discussion about adopting this as a for-real badge.
+ discussion: https://pagure.io/fedora-badges/issue/753
+ # A link to the image for the badge
+ image_url: https://badges.fedoraproject.org/pngs/disk-btr-yum.png
+ # That's us!
+ issuer_id: fedora-project
+ # Since this is manually awarded, define empty trigger criteria.
+ # The expectation is that this will never fire, since all messages
+ # have a non-null topic name.
+ topic: null
+ # The criteria doesn't really matter here. We really only care about the
+ # trigger above. Unfortunately, the spec for these rules requires that we have
+ # *some* criteria, so we'll just leave a silly thing here.
+ - "%(topic)s"
+ - "%(msg.person.nickname)s"
+ operation: count
+ greater than or equal to: 1
+ recipient: "%(msg.person.nickname)s"
The badge title and description were written by @mattdm,
and the artwork is courtesy of @duffy.
This badge is intended to be manually awarded, but having a rules
file makes it much easier to populate it rather than doing so by hand...
rebased onto 3560eb7f7a2aa85ff1f436b033aa78a88f814031
rebased onto b207b10
Pull-Request has been closed by nb
I pushed just the art since I have never tried creating a yaml badge without a rule before. I'd rather do it the regular way.
@nb Fine with me!