Opened 9 years ago

Last modified 4 years ago

#595 new enhancement

RFE: Allow FileDownload from arbitrary file object

Reported by: ddunbar Owned by:
Priority: minor Milestone: 0.9.+
Version: 0.7.11 Keywords: sprint
Cc: daniel@…, rutsky.vladimir@…

Description

It would be nice if FileDownload? could be initialized with a file object, or at least a string buffer, instead of a path.

Among other things, this would provide an easy way to create files with arbitrary contents on the build slave, without having to have the file on disk in the master, by using a StringIO object.

Change History (6)

comment:1 Changed 9 years ago by ddunbar

  • Cc daniel@… added

comment:2 Changed 9 years ago by dustin

  • Milestone changed from undecided to 0.8.+

Anyone want to hack this together?

comment:3 Changed 8 years ago by dustin

  • Summary changed from RFE: Allow FileDowload from arbitrary file object to RFE: Allow FileDownload from arbitrary file object

comment:4 Changed 6 years ago by dustin

  • Keywords sprint added

Mozilla has some similar steps in http://hg.mozilla.org/build/buildbotcustom/file/23c3f3c91571/steps/transfer.py

I wouldn't have a big problem with merging these, if someone is interested in writing up tests and docs and putting a patch together. Of course, please keep proper attribution.

comment:5 Changed 5 years ago by rutsky

  • Cc rutsky.vladimir@… added

comment:6 Changed 4 years ago by dustin

  • Milestone changed from 0.8.+ to 0.9.+

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.