Re: [Server-devel] [Sugar-devel] [IAEP] copy files to/from server
As I mentioned before, I am currently working on the multi-selection support for Journal (which is a prerequisite for the "cloud journal" and explains why I haven't been very active on this thread). Anyway, I am listening to other's technical and non-technical ideas, but _my_ approach is first to provide extra storage capacity on the XS in the most transparent way to the end users. Therefore, In the non-technical front, I believe we should stick to the Journal integration idea, displaying this resource exactly how we display removable devices. In the technical front, I haven't checked all the solutions mentioned but I would definitely go with something that _already_ provides support for regular file system interaction. With something like that (and please someone let me know if I am wrong), the integration part will be a lot easier, like i.e (as Walter commented) we could use his/mine/jasg "documents folder" patch. Saludos, tch On Mon, May 23, 2011 at 4:16 PM, Christoph Derndorfer wrote: > On Mon, May 23, 2011 at 2:24 PM, Martin Langhoff > wrote: >> >> On Mon, May 23, 2011 at 1:41 AM, Sridhar Dhanapalan >> wrote: >> > Interesting. Does WebDAV work as a normal mount, like CIFS or NFS? >> >> From the PoV of the user, yes, it looks like a mountpoint. >> Technically, you can mount it at the linux kernel level, at the gnome >> IO libraries level, or from Sugar, with a pure python implmentation. >> >> > What would be the best way to get this working on Sugar? >> >> You don't have a lot of time it seems. I'd implement it on top of >> gnome VFS of in pure Python. In both cases, I'd make it look like >> another disk from the Journal (as an initial implementation at least). >> >> I'd say talk with Martin Abente, he's looking into this problem space. > > Could we maybe split this thread and keep technical discussions focused on > XS-devel and Sugar-devel lists? I think this could also also help in getting > some non-technical and/or end-user feedback and suggestion from people on > IAEP who aren't into all the technical details (something which I think tch > was also interested in). > Thanks, > Christoph > > -- > Christoph Derndorfer > co-editor, olpcnews > url: www.olpcnews.com > e-mail: christ...@olpcnews.com > ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [Sugar-devel] [IAEP] copy files to/from server
On Mon, May 23, 2011 at 2:24 PM, Martin Langhoff wrote: > On Mon, May 23, 2011 at 1:41 AM, Sridhar Dhanapalan > wrote: > > Interesting. Does WebDAV work as a normal mount, like CIFS or NFS? > > From the PoV of the user, yes, it looks like a mountpoint. > Technically, you can mount it at the linux kernel level, at the gnome > IO libraries level, or from Sugar, with a pure python implmentation. > > > What would be the best way to get this working on Sugar? > > You don't have a lot of time it seems. I'd implement it on top of > gnome VFS of in pure Python. In both cases, I'd make it look like > another disk from the Journal (as an initial implementation at least). > > I'd say talk with Martin Abente, he's looking into this problem space. Could we maybe split this thread and keep technical discussions focused on XS-devel and Sugar-devel lists? I think this could also also help in getting some non-technical and/or end-user feedback and suggestion from people on IAEP who aren't into all the technical details (something which I think tch was also interested in). Thanks, Christoph -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: christ...@olpcnews.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [Sugar-devel] [IAEP] copy files to/from server
On Mon, May 23, 2011 at 1:41 AM, Sridhar Dhanapalan wrote: > Interesting. Does WebDAV work as a normal mount, like CIFS or NFS? >From the PoV of the user, yes, it looks like a mountpoint. Technically, you can mount it at the linux kernel level, at the gnome IO libraries level, or from Sugar, with a pure python implmentation. > What would be the best way to get this working on Sugar? You don't have a lot of time it seems. I'd implement it on top of gnome VFS of in pure Python. In both cases, I'd make it look like another disk from the Journal (as an initial implementation at least). I'd say talk with Martin Abente, he's looking into this problem space. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [Sugar-devel] [IAEP] copy files to/from server
On 19 May 2011 04:15, Martin Langhoff wrote: > For file management, I very strongly recommend using WebDAV. It is a > bit less efficient than "real" network file system protocols, but the > benefits are many: > - more flexibilty > - closer to you and me in the stack - you can easily find WebDAV > toolkits in HLLs that allow you to expose your data as files and > directories over WebDAV, as well as client implementations > - it deals reasonably gracefully with intermittent connectivity > (SMB/CIFS, NFS, etc get you nasty system freezes if the server > disappears) > - wide range of (fairly well behaved) client and server implementations > - a good test suite for the server side > - On the XS side... Moodle has a WebDAV implementation and Apache > has one too. Interesting. Does WebDAV work as a normal mount, like CIFS or NFS? What would be the best way to get this working on Sugar? Thanks, Sridhar ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [Sugar-devel] [IAEP] copy files to/from server
On 18 May 2011 16:49, Sascha Silbe wrote: > Excerpts from Martin Langhoff's message of Tue May 17 18:34:09 +0200 2011: > >> Unfortuntely, there's no easy way to do it with CIFS or NFS -- it >> would be an interesting addition to Sugar (possibly to the Journal) >> but it's a big project. > > NFS mounts do turn up as storage devices in the Journal (at least on > Debian Squeeze). They will be treated exactly the same as other storage > devices, i.e. USB sticks and SD cards. I would expect CIFS mounts to > behave the same way. Don't forget to tweak the mount options to avoid > processes from going zombie-like on connection loss. How much network traffic would this generate, and how well does it perform? I find that Sugar is slow with network or physically connected volumes because it tries to index everything and then write metadata on the remote end. The metadata can be annoying as it pollutes the volume. Sridhar ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [Sugar-devel] [IAEP] copy files to/from server
On Tue, May 17, 2011 at 5:15 PM, Martin Abente wrote: > I still didn't make up my mind about which technical approach should I > take in order to get this working, but I guess people already started > sharing some ideas. And I would appreciate more ideas and discussion > before I get to that point. ok - some notes from me on this topic For file management, I very strongly recommend using WebDAV. It is a bit less efficient than "real" network file system protocols, but the benefits are many: - more flexibilty - closer to you and me in the stack - you can easily find WebDAV toolkits in HLLs that allow you to expose your data as files and directories over WebDAV, as well as client implementations - it deals reasonably gracefully with intermittent connectivity (SMB/CIFS, NFS, etc get you nasty system freezes if the server disappears) - wide range of (fairly well behaved) client and server implementations - a good test suite for the server side - On the XS side... Moodle has a WebDAV implementation and Apache has one too. >From the department of optimizations to keep in mind early (but implement late...) -- if ds-backup is working correctly, you'll have most of the content already on the XS. Might be a nice optimisation to skip transferring it -- if you have a msg exchange *before* the WebDAV (or other) file transfer. > The very basic requirement is: each children must have its private > "cloud volume", where they can drop their files in the same way they > interact with physical external storage devices. Why would I drop the file there? In my understanding, what you want to do with it is *publish* it. > On top of that we can do a lot of things that might be very useful for > teachers daily in the classrooms. Yeah - *publish it to my classroom group* -- via Moodle. I've worked for ~10 years with teachers and that's what they want to do 99.9% of the time -- publish it to the group. If we do that nicely, we're golden. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel