Bug 585153 - RFE: Add XML-RPC-way to access uploaded files
Summary: RFE: Add XML-RPC-way to access uploaded files
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard:
: 786127 (view as bug list)
Depends On:
Blocks: 545868
TreeView+ depends on / blocked
 
Reported: 2010-04-23 09:33 UTC by Marian Csontos
Modified: 2019-05-22 13:41 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-26 07:16:21 UTC


Attachments (Terms of Use)
bkr job-logs (1.82 KB, text/plain)
2012-02-08 10:25 UTC, Jiri Kastner
no flags Details

Description Marian Csontos 2010-04-23 09:33:01 UTC
Description of problem:

There is no way for client to list and get files attached to {recipe,task,result}

This would enable bkr client extension:
  bkr file-list T:1234
  bkr file-get TR:12345 /TESTOUT.log


Version-Release number of selected component (if applicable):

0.5.25

Comment 1 Marian Csontos 2011-03-14 10:09:21 UTC
At least an URL to directory where the files are stored could be exposed in taskactions.to_xml and in taskactions.task_info.

This location changes during lifetime (temporary storage and final destiny) as well as it was reorganized few times in the past.

It is not easy to get to the files: one needs to have a knowledge of server settings (e.g. how are the jobs grouped) which should not be required.

Comment 2 Karel Srot 2011-05-09 06:37:14 UTC
+1 for this feature

Comment 3 Dan Callaghan 2012-02-01 03:43:24 UTC
*** Bug 786127 has been marked as a duplicate of this bug. ***

Comment 4 Martin Cermak 2012-02-08 10:19:32 UTC
+1 to solving this

Comment 5 Jiri Kastner 2012-02-08 10:25:53 UTC
Created attachment 560214 [details]
bkr job-logs

result of my attempt get some logs listed

Comment 6 Martin Cermak 2012-02-08 14:10:23 UTC
Good job, Jiri! Thanks for posting this! I temporarily resolved my issues using your script. And I hope your post will also speed up resolving this bz :)

Comment 7 Dan Callaghan 2012-02-20 06:06:57 UTC
Patch is up for review on Gerrit:

http://gerrit.beaker-project.org/925


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