[OT] Re: Pushing a repository to Amazon S3?

Francesc Esplugas francesc.esplugas at gmail.com
Tue Dec 11 16:56:11 UTC 2007



Are you sure guys that is possible to push contents to S3 via SFTP?

I understand S3 as an API with Rest protocol.

Francesc

On Dec 11, 2007, at 5:32 PM, Matt Nordhoff wrote:

> Matt Mackall wrote:
>> On Tue, Dec 11, 2007 at 11:18:48AM -0500, Matt Nordhoff wrote:
>>> Matt Mackall wrote:
>>>> The problem with SFTP is the library. But it's fairly uncommon to  
>>>> have
>>>> SFTP and not SSH. So it's of limited use. If someone can figure out
>>>> how to do this with little to no extra dependencies, I'd be
>>>> interested.
>>> Unless that someone wants to write his own SFTP library, the best  
>>> way in
>>> Python would be paramiko, which also requires PyCrypto...
>>
>> This is exactly what I don't want.
>>
>> An alternative is to call ssh -s sftp and write unencrypted sftp
>> protocol commands over the provided pipe.
>
> Yeah, that sounds fun.
>
> From what I've heard of paramiko, that may not be any worse,  
> though. ;-P
> -- 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial

--
name. Francesc Esplugas i Martí
voice. +34 678.681.603

On Dec 11, 2007, at 5:32 PM, Matt Nordhoff wrote:

> Matt Mackall wrote:
>> On Tue, Dec 11, 2007 at 11:18:48AM -0500, Matt Nordhoff wrote:
>>> Matt Mackall wrote:
>>>> The problem with SFTP is the library. But it's fairly uncommon to  
>>>> have
>>>> SFTP and not SSH. So it's of limited use. If someone can figure out
>>>> how to do this with little to no extra dependencies, I'd be
>>>> interested.
>>> Unless that someone wants to write his own SFTP library, the best  
>>> way in
>>> Python would be paramiko, which also requires PyCrypto...
>>
>> This is exactly what I don't want.
>>
>> An alternative is to call ssh -s sftp and write unencrypted sftp
>> protocol commands over the provided pipe.
>
> Yeah, that sounds fun.
>
> From what I've heard of paramiko, that may not be any worse,  
> though. ;-P
> -- 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial

--
name. Francesc Esplugas i Martí
voice. +34 678.681.603





More information about the Mercurial mailing list