[three]Bean

Karma Cookies, and how to give them

Mar 19, 2015 | categories: fedmsg, fedora, badges View Comments

It took a while to get all the ingredients together, but we baked up a delicious batch of new Fedora Badges and they're fresh out of the oven.

To quote mizmo from the original ticket:

So here's the idea. The FPL has the FPL blessing, right? But, someone did
something really helpful and awesome for me today, with no expectation of
getting anything in return. This person really made my life easier. And I
really wish I could give him something as a token of my appreciation.

So my thought here - maybe everyone in the Fedora project gets an amount of
cookie badges that they can hand out as thank yous to others in the project as
they're getting things done and helping each other out. You can't award one to
yourself, only others. Maybe you get one cookie for every 5 badges you have
earned, so folks get a number of cookies proportional to their achievements in
the system, and if they run out they can replenish their cookies by earning
more badges.

The excellent riecatnor got to work and whipped up some treats:

https://badges.fedoraproject.org/pngs/macaroncookie.png

The last missing piece was a new plugin for zodbot that listens for USERNAME++ in IRC and publishes a new karma message to Fedora Infrastructure's message bus.

That's all done and in place now. You can grant someone karma like this:

| threebean | riecatnor++

And check to see how much karma a given user has like this:

| threebean │ .karma riecatnor
|    zodbot │ threebean: Karma for riecatnor has been increased 1 times

Lastly, there are a handful of restrictions on it. You can only give karma to a particular individual once (although you have an unlimited supply of points to give to the entire Fedora community):

| threebean │ riecatnor++
|    zodbot │ threebean: You have already given 1 karma to riecatnor

You can't give yourself karma:

| threebean │ threebean++
|    zodbot │ threebean: You may not modify your own karma.

You can only give karma to fas users, and you can only give karma if you are a fas user (your irc nick must match your fas username or you must have your ircnick listed in FAS.

There's code in the plugin to allow negative karma, i.e. threebean--, but we have that disabled. Best to stay positive! ;)

Enjoy! As always, if you have questions about this stuff, please do jump into #fedora-apps on freenode and ask away!

http://i.imgur.com/vK7Cl.gif
View Comments

Fedora Badges Mailing List

Sep 11, 2014 | categories: fedora, badges View Comments

http://badges.fedoraproject.org/pngs/badges_fan.png

Want to help with the future direction of Fedora Badges and don't know where to start? One place we really need help is with the triaging, review, and conceptual work that goes into cooking up new badges.

It used to be that we had a real bottleneck. New badge ideas would be submitted to the fedora-badges trac but notifications of updates there (fresh insights, elaborations, requests for clarifications, etc..) would only be sent to members of the sysadmin-badges group (a small but sturdy crew).

Earlier this month, we hooked up trac notifications to the badges mailing list opening the door to broader participating -- you can now subscribe and take an active part in determining the future direction of the system!

http://threebean.org/blog/static/images/fedora-badges-all-the-things.jpg

NOTE -- Your action must be born of intrinsic motivation. There is no badge for joining the mailing list. I'm sorry.

http://rack.3.mshcdn.com/media/ZgkyMDEzLzA3LzE4Lzc1L0RyLldoby41Mjg5ZC5naWYKcAl0aHVtYgkxMjAweDk2MDA-/571ec44d/6da/Dr.-Who.gif
View Comments

Badges Authz Feature

Jan 09, 2014 | categories: fedora, badges View Comments

A quick note: a new release of the Fedora Badges app went out before the holidays. The main new feature is some authorization code that allows us to grant particular users the rights to award particular badges.

This will make some new stuff possible. For instance, the Beat Writer badges are to be awarded to people who take on the writing of a documentation "beat". We don't really have a way to measure that programmatically. With the new authorization code, we can authorize randomuser/immanetize, the docs project lead, to award those badges as makes sense. Similarly, we have authorized patches to hand out the Web Warrior and Write Stuff badges.

More to come... If you haven't noticed, riecatnor is doing some prodigious work on new badge art.

View Comments

Planet Spew and a Badge Bonanza

Dec 13, 2013 | categories: planet, datagrepper, fedora, badges View Comments

Last night, we found a cronjob in Fedora Infrastructure's puppet repo that had incorrect syntax. It had been broken since 2009:

"Let's fix it!"
"Yeah!"
"Fixing is always good."

The cronjob's job was to run tmpwatch on the Fedora Planet cache. When it ran for the first time since 2009, it nuked a lot of files.

  • This caused the planet scraper to re-scrape a great many blog posts, also for the first time since 2009.
  • This then caused the planet scraper to broadcast fedmsg messages indicating that new blog posts had been found (even though they were old ones).
  • The badge awarder picked up these messages and awarded a wheelbarrow's worth of new blogging badges to almost everyone.

Take a look at the datagrepper history according to zodbot:

threebean │ .quote BDG
   zodbot │  BDG, fedbadges +1097.35% over yesterday
   zodbot │       ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▆▆█▂▂▁▁▁  ⤆ over 24 hours
   zodbot │       ↑ 18:19 UTC 12/12           ↑ 18:19 UTC 12/13
threebean │ .quote PLN
   zodbot │  PLN, planet +69411.11% over yesterday
   zodbot │       ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▃█▁▁▁▁▁▁▁  ⤆ over 24 hours
   zodbot │       ↑ 18:18 UTC 12/12           ↑ 18:18 UTC 12/13
ianweller │ lol

That's a lot of planet messages. :) Congratulations on your new blogging badges!

View Comments

New Badges Site Release, Oct. 25

Oct 25, 2013 | categories: fedora, badges View Comments

We just put out a new release of the badges site with a bucket of new features:

Oh, and that bad link on the badge page? (the "last awarded to...")..? That has been fixed.

Thanks to all who contributed to the latest release. If you were following the code review bonanza today, you know it was a real team effort.

View Comments

Next Page »