You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Tomaz Muraus (JIRA)" <ji...@apache.org> on 2012/05/13 05:09:22 UTC
[dev] [jira] [Commented] (LIBCLOUD-190) Implement FileDeployment, which
can be used by all drivers, and is a general replacement for create_node()
ex_files param
[ https://issues.apache.org/jira/browse/LIBCLOUD-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274150#comment-13274150 ]
Tomaz Muraus commented on LIBCLOUD-190:
---------------------------------------
I've committed your patch into trunk with two changes:
- Your patch didn't close a file and was leaking an open file description so I changed it to use with
- Changed perms to correctly reflect file permissions in octal notation. st_mode included more then just the file permissions it also includes sticky bit, set-group-id and set-user-id*
* http://docs.python.org/library/stat.html#stat.S_IMODE
> Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: LIBCLOUD-190
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-190
> Project: Libcloud
> Issue Type: Improvement
> Components: Compute
> Reporter: Jay Doane
> Priority: Minor
> Attachments: file-deployment.diff
>
>
> Not all drivers support the ex_files param, but this class allows any driver to install files on the remote node in a consistent way.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira