<div dir="ltr"><div>I think the big files issue is a problem with _really_ big files. Not with the files</div><div>our users will create and modify. </div><div><br></div><div>My only concern with this project is keep it really simple for our users.</div><div> </div><div>The objective of have a git backend is have a versioned </div><div>Journal, where you can store all the intermediate steps for a entry.</div><div><br></div><div>Other than that, does not have too much sense complicate the interaction with the user.</div><div><br></div><div>The other win would be have a automatic backup in the cloud,</div><div>but then we need identity, like in the plugins.</div><div><br></div><div>Gonzalo</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 20, 2015 at 10:55 AM, Sebastian Silva <span dir="ltr"><<a href="mailto:sebastian@fuentelibre.org" target="_blank">sebastian@fuentelibre.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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" target="_blank">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" target="_blank"><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/" target="_blank">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/" target="_blank"></a><br>
<div>El 20/03/15 a las 07:54, Gonzalo Odiard
escibió:<br>
</div><div><div class="h5">
<blockquote 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 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 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 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>On Thu, Mar 19, 2015 at 6:29
PM, Shaifali Agrawal <span dir="ltr"><<a href="mailto:agrawalshaifali09@gmail.com" target="_blank">agrawalshaifali09@gmail.com</a>></span>
wrote:<br>
</span>
<div class="gmail_extra">
<div class="gmail_quote"><span>
<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 href="https://libgit2.github.com/" target="_blank">libgit2</a>,
<a 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 href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a 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>
<div dir="ltr">Gonzalo Odiard<br>
<br>
<div>SugarLabs - Software for children learning <br>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Sugar-devel mailing list
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a>
</pre>
</blockquote>
<br>
</div></div></div>
</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>