Red Hat Bugzilla – Bug 1028280
[RFE] beaker-sync-tasks should support syncing from a local directory
Last modified: 2016-09-19 20:33:24 EDT
Setting up a new Beaker instance includes a step to install the standard tasks from https://beaker-project.org/tasks/
This is an annoyingly manual process, and one that needs to be repeated if updated versions of these tasks are published.
I'm updating the quick start guide to suggest grabbing them all via wget:
wget -r -np -nc https://beaker-project.org/tasks/
It would be good if they could be downloaded to the server itself and then bulk updated via:
beaker-sync-tasks --dir <download_dir>/beaker-project.org/tasks/
In the meantime, this is also a fairly trivial bash command (run in the directory where the tasks were downloaded):
for f in `ls *.rpm`; do bkr task-add $f; done
Small update: I looked into this today with the hope I could include it with my changes to Beaker-in-a-box. Turns out this item is a bit bigger than I anticipated. Dan mentioned that the current code has a few defects which need to be fixed first, before we can add the desired functionality.