Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Mon, May 11, 2009 at 2:18 PM, Hamilton Chua wrote: > Good news. I had a chance to test it today and it looks like the > Moodle UI is picking up on the back ups now. > > I'll be doing a couple of tests over the course of the next few days. > I'll be sure to let you know if we encounter problems. Excellent. Thanks for reporting back. I have an additional patch that solves a problem with users with single quotes in their nicknames (the name you pick on your XO). cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
Martin, Good news. I had a chance to test it today and it looks like the Moodle UI is picking up on the back ups now. I'll be doing a couple of tests over the course of the next few days. I'll be sure to let you know if we encounter problems. Thanks you so much for quickly updating the moodle backup ui. Best, Hamilton On Thu, May 7, 2009 at 8:11 AM, Hamilton Chua wrote: > Martin, > > > Thanks, sorry I don't have a lot of activities to backup yet on my test > SoaS. > > I'll give this a go today and report back the results here. > > Best, > > Hamilton > > > > On Wed, 2009-05-06 at 19:23 +0200, Martin Langhoff wrote: >> On Tue, May 5, 2009 at 4:52 PM, Martin Langhoff >> wrote: >> > Let's keep this on the list. Is that from a recent SoaS? The datastore >> > storage format has changed then, and we need to add support to Moodle >> > for it. >> > >> > More work! :-p >> >> Done - not tested much -- the zipfile you've given me didn't have much data. >> http://dev.laptop.org/git/users/martin/moodle.git/commit/?h=mdl19-xs&id=5f522dbef1878284d15ae2ef0872c8dd5caa1953 >> >> So I need your help in reporting whether it works well for your SoaS >> clients. I assume you're already using my moodle branch, so a mere git >> pull will get you the right code... ;-) >> >> Note: It won't list "metadata-only" entries. If there's no 'data' >> file, it's not listed. >> >> cheers, >> >> >> m > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Thu, May 7, 2009 at 08:33, Martin Langhoff wrote: > On Wed, May 6, 2009 at 7:47 PM, Frederick Grose wrote: >> (metadata is data). > > Snarky but true comment: if/when that's the case, put the data in the > data part. For example, the new Browse does store valuable data > (unlike before) and does put it in the data. So the entries for > Browse.xo (of the 0.84 series) are displayed. > >> The spurious generation of Journal entries is a problem that the Glucose >> developers are working on (and might benefit by having some of those Journal >> logs). > > As it gets fixed, more data files will appear, and the XS will display > them. The presence of the data file is a good indication that the > problem is solved for that particular app ;-) > > Sugar devs and UI designers (Eben?) -- is this a reasonable approach? > If not, why not? I would say that data is the part of the activity state that should be treated as an opaque blob by everybody who cannot interpret the file format specified in the mime-type property. Metadata is a structure of pairs of keyed values, some keys are standard and present in all entries, and can be interpreted by everybody. I don't think we can say that metadata or data are good or bad, both are different aspects of the activity state and should be treated equally because it's at the author's discretion to use one or another. Regards, Tomeu > cheers, > > > > m > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Wed, May 6, 2009 at 7:47 PM, Frederick Grose wrote: > (metadata is data). Snarky but true comment: if/when that's the case, put the data in the data part. For example, the new Browse does store valuable data (unlike before) and does put it in the data. So the entries for Browse.xo (of the 0.84 series) are displayed. > The spurious generation of Journal entries is a problem that the Glucose > developers are working on (and might benefit by having some of those Journal > logs). As it gets fixed, more data files will appear, and the XS will display them. The presence of the data file is a good indication that the problem is solved for that particular app ;-) Sugar devs and UI designers (Eben?) -- is this a reasonable approach? If not, why not? cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
Martin, Thanks, sorry I don't have a lot of activities to backup yet on my test SoaS. I'll give this a go today and report back the results here. Best, Hamilton On Wed, 2009-05-06 at 19:23 +0200, Martin Langhoff wrote: > On Tue, May 5, 2009 at 4:52 PM, Martin Langhoff > wrote: > > Let's keep this on the list. Is that from a recent SoaS? The datastore > > storage format has changed then, and we need to add support to Moodle > > for it. > > > > More work! :-p > > Done - not tested much -- the zipfile you've given me didn't have much data. > http://dev.laptop.org/git/users/martin/moodle.git/commit/?h=mdl19-xs&id=5f522dbef1878284d15ae2ef0872c8dd5caa1953 > > So I need your help in reporting whether it works well for your SoaS > clients. I assume you're already using my moodle branch, so a mere git > pull will get you the right code... ;-) > > Note: It won't list "metadata-only" entries. If there's no 'data' > file, it's not listed. > > cheers, > > > m signature.asc Description: This is a digitally signed message part ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Wed, May 6, 2009 at 1:23 PM, Martin Langhoff wrote: > On Tue, May 5, 2009 at 4:52 PM, Martin Langhoff > ... > > Note: It won't list "metadata-only" entries. If there's no 'data' > file, it's not listed. > Consider the use case where the Journal is used as an log for user activity. Faithful reproduction of that record would be valuable (metadata is data). The spurious generation of Journal entries is a problem that the Glucose developers are working on (and might benefit by having some of those Journal logs). Thanks for your great contributions! --Fred ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Server-devel] backup : problem opening /library/users/XXXX/datastore-xxxxx/store
On Tue, May 5, 2009 at 4:52 PM, Martin Langhoff wrote: > Let's keep this on the list. Is that from a recent SoaS? The datastore > storage format has changed then, and we need to add support to Moodle > for it. > > More work! :-p Done - not tested much -- the zipfile you've given me didn't have much data. http://dev.laptop.org/git/users/martin/moodle.git/commit/?h=mdl19-xs&id=5f522dbef1878284d15ae2ef0872c8dd5caa1953 So I need your help in reporting whether it works well for your SoaS clients. I assume you're already using my moodle branch, so a mere git pull will get you the right code... ;-) Note: It won't list "metadata-only" entries. If there's no 'data' file, it's not listed. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel