On Sun, Jun 1, 2014 at 12:27 PM, Christophe Bal <
proj...@gmail.com> wrote:
>
> Hello.
>
> The only thing missing in SageMahCloud is an easy way to download a list of folders and of files. Having dropbox or Google Drive is a transitiona slutions from my point of view.
I was just thinking things through, and download a list of
folders/files is probably easier to implement than Dropbox/etc.
integration. The best idea I have so far for how to implement it is:
- add a new API message from the client to the backend that is
something like "download_paths" that specifies a project_id, list of
paths (which can be files or folders), and the archive type (zip,
tar.gz, tar.bz2),
- the local_hub (running in the project) receives this message and
creates the archive in /scratch, so it doesn't get snapshotted.
- once the archive is created, it sends a response message with a
temporary link to the archive.
- when the link expires, the archive is deleted.
- the local_hub also stores in a file the url to the archive, in case
the local hub is killed before the archive is removed.
- Also, I would add a way to select a set of paths in a directory
using checkboxes. When the file tree browser (which should be off
to the left) is implemented, then you'll be able to select a set of
paths in any subdirectory.
A UNIX-savvy user could simulate the above by typing something like
this in the terminal (assuming we want to archive the tmp folder of
the project):
$ cd /scratch
/scratch$ tar -jcvf tmp.tar.bz2 $HOME/tmp
then in the browser, visit
https://cloud.sagemath.com/[project_id]/raw/.sagemathcloud/root/scratch/tmp.tar.bz2
and finally
/scratch$ rm tmp.tar.bz2
---
-- William
>
>
> Christophe BAL.
>
>
> Le jeudi 29 mai 2014 19:00:16 UTC+2, William Stein a écrit :
>>
>> Hi,
>>
>> Codeanywhere is a little bit like SageMathCloud, and they claim that "Google Drive Integration" is "one of the most asked-for features". with SageMathCloud, nobody has ever asked for that, though support for Dropbox is similar and has been requested. I'm curious if/how much this is something _you_ care about...
>>
>> William
>>
>> ---------- Forwarded message ----------
>> From: Codeanywhere Team <
no-r...@codeanywhere.net>
>> Date: Thu, May 29, 2014 at 4:29 AM
>> Subject: Codeanywhere and Google Drive, together at last
>> To:
wst...@gmail.com
>>
>>
>> Codeanywhere and Google Drive,
>> together at last.
>>
>>
>> Dear Users,
>> It has been one of the most asked-for features, and it has been a long time coming we must admit - but finally you can connect to your GDrive account from Codeanywhere!
>>
>> Gooogle Drive is seamlessly integrated into Codeanywhere just as FTPs and Dropbox has been up until now. Which means you can transfer your files between all Codeanywhere resources.
>>
>> So if you have a Google account login to Codeanywhere and connect it now!
>>
>>
>>
>> Thanks for signing up, and we hope you enjoy our service.
>> Follow us on Facebook and Twitter
>> Copyright (c) 2014 Codeanywhere, Inc. All rights reserved.
>> You are receiving this email because an account was created on Codeanywhere with this email address. If you are the owner of this email address and did not create the account, just ignore this message and the account will remain inactive.
>> If you don't wish to receive more emails by Codeanywhere, please take a few seconds to unsubscribe.
>>
>>
>>
>> --
>> William Stein
>> Professor of Mathematics
>> University of Washington
>>
http://wstein.org
>
> --
> You received this message because you are subscribed to the Google Groups "sage-cloud" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-cloud+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-cloud/dbabd511-0ce7-4fd0-8589-42249787286b%40googlegroups.com.