Re: Introduce contributor badges

From: Christoph Berg <myon(at)debian(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-www(at)lists(dot)postgresql(dot)org, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, PostgreSQL Contributors <contributors(at)lists(dot)postgresql(dot)org>
Subject: Re: Introduce contributor badges
Date: 2026-04-28 13:06:14
Message-ID: afCwxreG0Ad882WL@msg.df7cb.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-www

Re: Magnus Hagander
> Given the fairly substantial concerns raised ofer this during in-person
> discussions at FOSDEM, please do *not* commit this until you have signoff
> from those involved. (It might be that it's fine, but given the concerns
> and discussions around it, let's make sure those are resolved).

I said in the other thread:

> The last result (from the lunch discussion in Brussels) was that we
> need handling of retired people from "permanent" badges like "Sysadmin
> Team". That's not included yet, but in the team, we concluded that
> instead of some complicated date range handling (perhaps that's what
> you remember as plenty?) we can just add a single boolean "retired"
> flag. We don't have that yet, but that's not a big blocker.

I've now implemented retiring from badges. Internally it's tracked by
filling in a date_retired field, but in order not to overcomplicate
the user interface, it's treated as a boolean. Retirees still show up
in badge listing, but are marked as retired.

Removing people from badges is now a two-stage process, retire them
and then remove them. To un-retire someone, add their email address
again (which NULLs the date_retired field).

I'm attaching that as a separate commit for better review. It would
get squashed before committing, of course.

I believe that addresses the concerns from Brussels, or was there
anything else?

Christoph

Attachment Content-Type Size
v6-0001-Introduce-contributor-badges.patch.gz application/gzip 10.8 KB
v6-0002-Add-dates-on-badgeholders-so-people-can-be-retire.patch.gz application/gzip 4.9 KB

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Todd Green 2026-05-04 15:40:11 wiki editor request
Previous Message Christoph Berg 2026-04-27 11:55:05 Re: Badges moderation