[master] Add dirac-production-request-run-local
Following on from !1226 (merged) this adds support for running production requests locally. For now it only supports simulation produtions but that's only because I haven't tested the separation between AnalysisProductions and regular data productions yet.
If you want to try it out, download example-mc-prods.yaml and run:
$ dirac-production-request-run-local example-mc-prods.yaml
# Will complain that you need to specify a production name from the file
$ dirac-production-request-run-local example-mc-prods.yaml 'LbMCSubmit Demo 2017 MagUp'
# Will complain that you need to specify an event type
$ dirac-production-request-run-local example-mc-prods.yaml 'LbMCSubmit Dev 2018 MagDown' 23103006 --num-events 10
# Should work 🎉
BEGINRELEASENOTES
*ProductionManagement NEW: dirac-production-request-run-local command for locally testing YAML-defined production requests
ENDRELEASENOTES