From a0524a0da3947ef2ebdb3c565cd685635e045df1 Mon Sep 17 00:00:00 2001 From: Brian (bex) Exelbierd Date: Jul 08 2019 10:43:09 +0000 Subject: adding category info for badges --- diff --git a/docs/sysadmin-guide/sops/badges.rst b/docs/sysadmin-guide/sops/badges.rst index edb820c..f0ca244 100644 --- a/docs/sysadmin-guide/sops/badges.rst +++ b/docs/sysadmin-guide/sops/badges.rst @@ -166,6 +166,7 @@ Badge metadata - **Criteria**: link to the issue in `fedora-badges`_ - **Issuer**: keep the default - **Tags**: comma-delimited list of tags + - **Category is set via tags, so use the category tag first** - **Review other similar badges to ensure tags are correct.** Some tags are special and function as categories. - **Follow past precedent** for tags. @@ -287,6 +288,13 @@ Create an invitation Now, the user you specified will have a link to the QR code and invite link on their profile page. They can take initiative to distribute and share the badge as they wish. +Fixing Badge Categories +======================= + +When a badge is miscategorized, you can fix the category, in most cases, by reseting the tags. Do this using the `edit-badge` script mentioned in the manual work scripts section below. For example, this pair of commands fixes a badge as an event. First we set the tag to just "event" then we fix all the tags. Note, the space at the end is required due to an existing issue with the script. + +`sudo /usr/local/bin/edit-badge --badge lets-have-a-party-fedora-30 --tags "event "` +`sudo /usr/local/bin/edit-badge --badge lets-have-a-party-fedora-30 --tags "event, party, release party "` ****************************** Useful scripts for manual work