satellit_ | dfarning: burning CD to do install... | 00:25 |
---|---|---|
satellit_ | install to USB comes up on grub rescue..? | 01:04 |
=== dfarning is now known as dfarning_afk | ||
=== dfarning_afk is now known as dfarning | ||
=== alsroot_ is now known as alsroot | ||
=== manusheel_afk is now known as manusheel | ||
=== manu__ is now known as kandarpk | ||
=== satellit_ is now known as satellit_afk | ||
manusheel | kandarpk: http://activities.sugarlabs.org/en-US/sugar/addon/4222 | 17:45 |
kandarpk | alsroot: around ? | 17:59 |
alsroot | kandarpk: yup | 18:02 |
kandarpk | alsroot: I wished to know how could we generate hash of a file | 18:05 |
kandarpk | that is stored in the journal | 18:05 |
manusheel | alsroot: Kandarp is working on SL #2093. | 18:06 |
manusheel | alsroot: Walter provided a pointer on this issue - to compare hash of the files. | 18:06 |
alsroot | kandarpk: datastore launches md5sum command | 18:07 |
kandarpk | alsroot: can we manually use it on some files ? | 18:08 |
alsroot | kandarpk: why not, but since TA files should not be huge, you can use hashlib python library http://docs.python.org/library/hashlib.html to not exec shell process from TA | 18:09 |
alsroot | kandarpk: if they could be big, then you can do the same as ds does, launch md5sum command (didn't try to find better method) | 18:10 |
alsroot | s/didn't try/I didn't try/ | 18:11 |
kandarpk | alsroot: OK, thanks. | 18:11 |
kandarpk | will try them | 18:11 |
kandarpk | alsroot: how could we launch md5sum from inside sugar ? | 18:14 |
alsroot | kandarpk: use subprocess module http://docs.python.org/library/subprocess.html | 18:17 |
kandarpk | alsroot: and hashlib is accepting string to generate the hash, how could we provide file as input ? | 18:19 |
alsroot | kandarpk: just read the whole file | 18:19 |
kandarpk | alsroot: ok. | 18:20 |
kandarpk | thanks. | 18:20 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!