[0/1] tools: Add script for getting rerun requests

Message ID 20230905222317.25821-2-jspewock@iol.unh.edu (mailing list archive)
Headers
Series tools: Add script for getting rerun requests |

Message

Jeremy Spewock Sept. 5, 2023, 10:13 p.m. UTC
  From: Jeremy Spewock <jspewock@iol.unh.edu>

As the community suggested, there should be a way for users to retest
any contexts on a given patch without needing to contact a maintainer or
resubmitting the patch. The UNH-IOL Community lab has implmented a way
to do this using the get_reruns.py script. This script is a generic way
for anyone to provide a list of contexts to filter by and a timestamp of
the time they want to consider comments since to get a
automation-friendly JSON file that contains all contexts to be rerun
grouped by the patch series ID that they should be run on. The output
JSON file also includes a timestamp of the most recent comment that was
considered so that you don't process the same data repeatedly.

The idea behind upstreaming this script is so that other labs can have
one common generic script to get the rerun information and then process
that data internally as they see fit.

Jeremy Spewock (1):
  tools: add get_reruns script

 tools/get_reruns.py | 219 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 219 insertions(+)
 create mode 100755 tools/get_reruns.py