Bug 1028280 - [RFE] beaker-sync-tasks should support syncing from a local directory
[RFE] beaker-sync-tasks should support syncing from a local directory
Status: NEW
Product: Beaker
Classification: Community
Component: command line (Show other bugs)
Unspecified Unspecified
low Severity low (vote)
: future_maint
: ---
Assigned To: beaker-dev-list
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2013-11-08 00:28 EST by Nick Coghlan
Modified: 2018-02-05 19:41 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nick Coghlan 2013-11-08 00:28:51 EST
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/
Comment 1 Nick Coghlan 2013-11-08 00:34:28 EST
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
Comment 2 Roman Joost 2016-09-19 20:33:24 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.