<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
About this Git as Journal backend project...<br>
I have come to the conclusion that it's a terrible idea.<br>
<br>
Don't get me wrong, I'm the first to recognize git's contribution
for the world.<br>
In fact I even have a small <a
href="http://pe.sugarlabs.org/ir/Git%20para%20Sugar">git front
project</a>.<br>
<br>
However, as a general datastore, git is terribly innefficient
especially when dealing with larger or binary files. You can read a
detailed account of it's problems in the following article I found
really interesting: <br>
<a
href="http://bitquabit.com/post/unorthodocs-abandon-your-dvcs-and-return-to-sanity"><br>
Unorthodocs: Abandon your DVCS and Return to Sanity</a><br>
<br>
It we do insist in adding some sort of version control, then I
suggest we look into VCS extensions for large files, and some way
that will allow the user to actually erase a file.<br>
<br>
In the Git world, git-annex does this but it's in my humble opinion
<br>
A better option for this would be <a
href="http://bitquabit.com/post/unorthodocs-abandon-your-dvcs-and-return-to-sanity/">Mercurial's
Largefiles extension.</a><br>
Mercurial also has native compatibility with Git, so I tend to think
it could be the best of both world.<br>
<br>
The tricky part here of course is the UI so I would love to see some
mockups of what it's expected to look like.<br>
<br>
Regards<br>
Sebastian<br>
<a
href="http://bitquabit.com/post/unorthodocs-abandon-your-dvcs-and-return-to-sanity/"></a><br>
<div class="moz-cite-prefix">El 20/03/15 a las 07:54, Gonzalo Odiard
escibió:<br>
</div>
<blockquote
cite="mid:CAJ+iPVSYmzQZ1C_rMgzSkqBENnrYYp-6QQaL7a3DCNY8-NaPjQ@mail.gmail.com"
type="cite">
<div dir="ltr">You can find useful a experiment done by Martin
Abente a time ago "FakeCloud: a silly and quick attempt to
define a generic structure for web-service-basedJournal storage"
<div><br>
</div>
<div>
<div style="font-size:12.8000001907349px">sugar branch: <a
moz-do-not-send="true"
href="https://github.com/tchx84/sugar/tree/fakecloud"
target="_blank">https://github.com/tchx84/sugar/tree/fakecloud</a></div>
<div style="font-size:12.8000001907349px">sugar-fakecloud
extension: <a moz-do-not-send="true"
href="https://github.com/tchx84/sugar-fakecloud"
target="_blank">https://github.com/tchx84/sugar-fakecloud</a></div>
</div>
<div><br>
</div>
<div>He can provide more information. (cced)</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Mar 19, 2015 at 4:33 PM,
Shaifali Agrawal <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:agrawalshaifali09@gmail.com" target="_blank">agrawalshaifali09@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><span class="">On Thu, Mar 19, 2015 at 6:29
PM, Shaifali Agrawal <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:agrawalshaifali09@gmail.com"
target="_blank">agrawalshaifali09@gmail.com</a>></span>
wrote:<br>
</span>
<div class="gmail_extra">
<div class="gmail_quote"><span class="">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">For the first part I did sturdy
research, I have wrote create, read, update,
delete functions in shell script to work as git
based backend. But for the project I will need
to code same in Python and Javascript, that can
be achieved via libraries like libgit2 js-git.
Under the hod git is a key-value store and for
generating key(sha or hash-objects) it generates
a checksum of the content of file plus a header.
So this can be achieved in Python and
Javascript.<br>
<br>
</div>
</blockquote>
</span>
<div>Links to above mentioned libraries : <a
moz-do-not-send="true"
href="https://libgit2.github.com/" target="_blank">libgit2</a>,
<a moz-do-not-send="true"
href="https://github.com/creationix/js-git"
target="_blank">js-git</a><br>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sugarlabs.org/listinfo/sugar-devel"
target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">Gonzalo Odiard<br>
<br>
<div>SugarLabs - Software for children learning <br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Sugar-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/sugar-devel">http://lists.sugarlabs.org/listinfo/sugar-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>