<div dir="ltr">HI,<div><br></div><div>Yes, I am trying to explore Dulwich now (which is a pure Python implementation of GIT). There is no need to add git dependency added to QGIS or that user needs to have git in their computer (if Dulwich works nicely).</div><div><br></div><div>And as Ale said, we would like to have 2 designs implemented here:<br><ul><li>Repository handler. This should be independent to the protocol of the repository. In the case of filesystem, it would be just to copy the repository to the plugin working directory and extract the collections inside. I made handlers classes quite general and will be refactoring time to time if it's needed (now I am still working on git protocol though).<br></li><li>Resources handler. This part of the system should handle how the resources in the collection being imported into QGIS.</li></ul><div>The focus on this GSoC phase is to fetch and import the collections (not the sharing part). With this goal, it would be easier for users if we implement in a way that they don't need to make a list of the resources in the collections. That's why I am still looking for a solution other than listing all the resources and fetch them one by one using HTTP request to the git host.</div></div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 28, 2016 at 11:09 AM, Alessandro Pasotti <span dir="ltr"><<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@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"><div class="gmail_extra"><div class="gmail_quote"><span class="">2016-06-27 21:45 GMT+02:00 Régis Haubourg <span dir="ltr"><<a href="mailto:regis.haubourg@gmail.com" target="_blank">regis.haubourg@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi, <br>
I tend to think that git / github workflow could be too high technician for most users that have not developer's culture. This is how I see it for processing script sharing today.. but processing is mostly concerning devs when styling is a lot wider. <br>
 Why not combine both? Gist or equivalent for static files and git for the main repo where or and collaborative work is required? <br>
Cheers Regis </p></blockquote><div><br></div></span><div>The designed architecture of the resource sharing system is protocol independent: handlers for different repository protocols can be easily added.<br><br></div><div>The idea is to have at least:<br></div><div>- filesystem (symbol repository is on filesystem, for example a network share), this is the simplest case: a copy command is all we need to fetch resources and update them<br></div>- git<br><div><br></div><div>So, git is just one of the possible handlers for remote repositories and the idea is that the average user will never know that git is used under the hood, it should be completely transparent.<br></div><br><div>If the general design will be respected during the implementation, it will be really easy to expand the system to handle different remotes and different shared resources.<br><br></div><div>The idea comes from the flexibility of python pip: it can fetch and install resources (python packages in this case) from many different URIs, git included.<br></div><div><br></div><div>Cheers<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div> <br></div></font></span></div><span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br><div data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</font></span></div></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><p><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-------------------</span></b></p><b>Akbar Gumbira </b></div><div><b style="font-size:12.8px"><a href="http://www.akbargumbira.com" target="_blank">www.akbargumbira.com</a></b></div></div></div></div></div>
</div>