You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Karel Vervaeke (JIRA)" <ji...@apache.org> on 2011/08/04 14:23:27 UTC
[jira] [Created] (WHIRR-353) Allow uploading an entire directory
using prepareRemoteFileUrl
Allow uploading an entire directory using prepareRemoteFileUrl
--------------------------------------------------------------
Key: WHIRR-353
URL: https://issues.apache.org/jira/browse/WHIRR-353
Project: Whirr
Issue Type: Improvement
Components: core
Affects Versions: 0.6.0
Reporter: Karel Vervaeke
Currently, prepareRemoteFileUrl allows you to upload a single file.
It would be nice if you could give it a local directory (user-provided, containing configuration files for example), and have that directory automatically uploaded to each instance.
For implementation, I would suggest creating a tarball, uploading it like we already do for single files, and add a statement to untar the tarball to a temp dir.
The name of the method wouldn't be entirely representative anymore, but I don't have any suggestions at the moment.
Related idea (but way out of scope for this issue): A bittorrent-backed blobstore provider would be very cool. See http://torrentfreak.com/facebook-uses-bittorrent-and-they-love-it-100625/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WHIRR-353) Allow uploading an entire directory
using prepareRemoteFileUrl
Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079476#comment-13079476 ]
Andrei Savu commented on WHIRR-353:
-----------------------------------
I believe that if we address WHIRR-286 you should be able to this on the client side with Bash scripts.
> Allow uploading an entire directory using prepareRemoteFileUrl
> --------------------------------------------------------------
>
> Key: WHIRR-353
> URL: https://issues.apache.org/jira/browse/WHIRR-353
> Project: Whirr
> Issue Type: Improvement
> Components: core
> Affects Versions: 0.6.0
> Reporter: Karel Vervaeke
>
> Currently, prepareRemoteFileUrl allows you to upload a single file.
> It would be nice if you could give it a local directory (user-provided, containing configuration files for example), and have that directory automatically uploaded to each instance.
> For implementation, I would suggest creating a tarball, uploading it like we already do for single files, and add a statement to untar the tarball to a temp dir.
> The name of the method wouldn't be entirely representative anymore, but I don't have any suggestions at the moment.
> Related idea (but way out of scope for this issue): A bittorrent-backed blobstore provider would be very cool. See http://torrentfreak.com/facebook-uses-bittorrent-and-they-love-it-100625/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira