spiderpig: Render progress reports
spiderpig/io.py:
Define SpiderpigProgressReportRecord to hold progress report information
log.py:
If running under the spiderpig jobrunner, generate SpiderpigProgressReportRecords
for capture by the jobrunner.
spiderpig/model.py:
Use the status slot of Job to store a simple job status string as well
as progress reporting information.
spiderpig/jobrunner.py:
When a progress report is received from a job, update the job record
in the database.
web/package.json:
Use the vuetify library for the progress bar.
web/src/main.js:
Load vuetify.
web/src/components/ProgressBar.vue:
New component which receives a SpiderpigProgressReportRecord as
input and renders a nice progress bar.
web/src/components/JobCard.vue:
Render progress information if available.
fake_backport.py:
Process progress reports.
fake_backport_data/:
generate_files.py:
New utility script for generating the input files used by fake backport.
prep_and_testservers_sync.jsonl / sync_remainder.jsonl:
Updated to include reasonably long progress reports for testing.
Related MRs:
- !736 (merged)
- !730 (merged) (This MR)
- master