#2199 Clean-up helper scripts
Opened by fab. Modified

Looks like that a lot of my helper scripts from the past are still around.

  1. Check if they still works and add any value
  2. Migrate to new setup
  3. Migrate to Python 3
  4. Remove unused scripts
  5. Decide that to do with ambassador-metrics (for me it seems that it's obsolete)
  6. Is ambassadors_map still used?

Hi @fab,
indeed the scripts are probably not working anymore due to Python3, but I had no time to look into them yet.

We can probably remove half of the scripts completely, while the others can be fixed and kept in the repo. ambassadors-metrics can probably be removed too, or at least set as obsolete. We don't use it anymore since a long time.

ambassadors-map is something we could improve and make work again. It's an interesting feature I would personally keep alive.

I'm a bit worried about the membership-mwclient-0.3-prod.py, because it is working only because Infra set a higher timeout. It is an important script we should definitely improve and write for Python 3 too.

PS: your help would be very appreciated ;)

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

Hi guys,

I'm not an amby but I just noticed that update script[1] don't check the 'last_seen' field of FAS, so if the fact than i'm not ambassador or mentor does not matter I can work a little on some patches for this script and maybe the map.

So, Can I help?

[1] https://pagure.io/fama/blob/master/f/membership-mwclient-0.3-prod.py

Metadata