#208 Check Group lists to revoke badges which were wrongly assigned
Closed: Pushed None Opened 10 years ago by robyduck.

Due to a bug in the awarding badges file, many users got awarded with badges although they shouldn't get it. The bug has already been fixed, now we should clean the lists revoking the wrongly assigned badges.

Affected groups (and relative badge) are:
'cla_done': 'involvement',
'provenpackager': 'proven-packager',
'proventesters': 'proven-tester',
'ambassadors': 'ambassador',
'sysadmin-main': 'trust-me,-i-know-what-i-am-doing',
'sysadmin-badges': 'inside-job',
'sponsors': 'packager-sponsor',
'designteam': 'pixel-ninja',

We can use a feed to get the list of people who were awarded recently with these badges, for example for ambassadors: \
https://badges.fedoraproject.org/badge/ambassador/rss \
In this case people get the badge although there weren't yet in the ambassador group.

To do the match we can ask zodbot:
{{{.fasinfo FAS_account}}}

Once we have a list of the FAS names we can run a bulk remove.


Ok I have the list of one of the most numerous groups. The Ambassador FAS group contains the following unapproved members. I'm listing here only those who also have badges assigned, there are others who don't have any badge actually (404 error, which I excluded from this list).

abermudes
abrun
acnectory
aitorxs
alshafay
axilleas
buland
cmt13797
cyeniyigit
darkaxl017
deepak7
diegobrizuela
dyvik
eduuer
eilidh
evansnjeru
fernando18
g1m
gabrieltalavera
ganeshredcobra
germano
glenfordfernandes
guptajee92
hasannayan
hiransr
ignacio
ignatenkobrain
imaqt4sure
jarecot
jmmadruga
joarivera
jzb
kevinnety
khaledb
kraken
manusajith
marlonmonty
mayorga
milovisho
mitzie
mlaverick2000
mohamed94
mohanprakash
mterrones
navneetsingh0693
nuke1010
onionnet
onurguzel
pamuditha
pexji
rabbitpulp
rahulmahale
rhavoc
robertorizio79
roozbehonline
rtgkid
scollier
shawshank9
sheressa
shrikantsharma
singularity
souravmoitra
sudheesh001
suhaspr01
sujeeshp7
sureshinde
suwitopoms
swilson
tatianemirian
tmacedocesar
tomspur
wahyu2588
zsun

Done. Those users have had the ambassador badge revoked. They should re-earn it if they get approved into the FAS group.

Robyduck noticed last night that the awarding cronjob was never actually fixed.

I think this patch from this morning should do it.

http://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=5e51be733b883b745268c8d0cae7303a483b3481

I'm pushing it out now and am going to revoke the erroneously awarded badges again after it is in place.

Yeah, this has been fixed a long while now.

Metadata Update from @robyduck:
- Issue tagged with: easyfix

7 years ago

Login to comment on this ticket.

Metadata