[SoaS] Location of Turtle Blocks snapshots within directory structure?
Ibiam Chihurumnaya
ibiam at sugarlabs.org
Wed May 26 11:30:31 EDT 2021
On Tue, 2021-05-25 at 18:56 -0700, bodosugar wrote:
> Thank you. That'd be exactly what I need. I can easily find the uid
> (object
> identifier) for the journal entry I want--i.e., the one created by
> Turtle
> Block's "Save snapshot" option.
>
> Would you please point me to whatever info/doc is available on those
> cmd
> line utilities you mentioned? I just need to read an object (e.g.,
> given its
> uid) out of the datastore and write it to regular file(s). Plus the
> reverse
> operation: given such file(s), create a new object in the datastore.
You can look at the datastore module of the sugar-toolkit-gtk3 API, it
contains what you'll need
to interact with the datastore.
>
> It seems conceptually simple. Of all the metadata I see for a TB
> snapshot,
> all attrs could remain unchanged after recreating the object--except
> for the
> uid. But I'm having trouble writing the code because I've no
> experience with
> asynchronous D-Bus calls, so any existent code would be a huge help.
>
> About running a persistent image: that would only solve some
> problems. I
> still wouldn't be able to recover from various crashes or to take my
> work
> over to other computers/VMs. This solution I'm pursuing, albeit
> messy, is
> powerful enough to do the job.
>
> Cheers,
> --Ken Irusta
>
>
> Walter Bender-2 wrote
> > The object in the datastore is what you need. There are cmd line
> > utilities for grabbing objects from the Sugar datastore. A bit
> > awkward. Any reason you don't want to run a persistent image?
>
>
>
>
>
> --
> Sent from:
> http://sugarlabs.1511649.n2.nabble.com/Sugar-on-a-Stick-development-f3721053.html
> _______________________________________________
> SoaS mailing list
> SoaS at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/soas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/soas/attachments/20210526/501ba5a8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: This is a digitally signed message part
URL: <http://lists.sugarlabs.org/archive/soas/attachments/20210526/501ba5a8/attachment.sig>
More information about the SoaS
mailing list