From b207b101d66e4f0d9030f33401c31875d29958ee Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Aug 28 2020 19:36:12 +0000 Subject: Add badge for converting to Btrfs The badge title and description were written by Matthew Miller, and the artwork is courtesy of Máirín 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... Co-authored-by: Matthew Miller Co-authored-by: Máirín Duffy --- diff --git a/pngs/disk-btr-yum.png b/pngs/disk-btr-yum.png new file mode 100644 index 0000000..14c3547 Binary files /dev/null and b/pngs/disk-btr-yum.png differ diff --git a/rules/disk-btr-yum.yml b/rules/disk-btr-yum.yml new file mode 100644 index 0000000..fb5ddf9 --- /dev/null +++ b/rules/disk-btr-yum.yml @@ -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. +trigger: + 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. +criteria: + datanommer: + filter: + topics: + - "%(topic)s" + users: + - "%(msg.person.nickname)s" + operation: count + condition: + greater than or equal to: 1 + +recipient: "%(msg.person.nickname)s" diff --git a/svgs/disk-btr-yum.svg b/svgs/disk-btr-yum.svg new file mode 100644 index 0000000..17ea3c5 --- /dev/null +++ b/svgs/disk-btr-yum.svg @@ -0,0 +1,4757 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +