Retrieving the monitoring statuses of someone's packages
By Pierre-Yves on Monday, September 23 2019, 12:50 - Général - Permalink
Recently we announced on devel-announce the upcoming changes to integrate anitya with dist-git.
Following this announcement, Till H. asked if there was a way to have an overview of the monitoring status of all the packages they maintain. I have replied that there is no such thing today but that I could cook up a little script to help with this.
So here it is: get_monitoring_status.py
Since the feature is only enabled in staging, you will need to specify the staging dist-git server for the script to be meaningful.
Here is a small example of output:
$ python3 get_monitoring_status.py pingou --url https://src.stg.fedoraproject.org/ rpms/ampy : monitoring-with-scratch https://src.stg.fedoraproject.org/rpms/ampy rpms/audiofile : no-monitoring https://src.stg.fedoraproject.org/rpms/audiofile rpms/boom : no-monitoring https://src.stg.fedoraproject.org/rpms/boom rpms/bugwarrior : monitoring-with-scratch https://src.stg.fedoraproject.org/rpms/bugwarrior rpms/datagrepper : no-monitoring https://src.stg.fedoraproject.org/rpms/datagrepper rpms/datanommer : no-monitoring https://src.stg.fedoraproject.org/rpms/datanommer ...