<div dir="auto">If <a href="http://itowns.github.io">itowns.github.io</a> contains manually-maintained files, then if we want good documentation we will care about clone performance.<div dir="auto"><br></div><div dir="auto">But yes, that's what I meant (only one commit in gh-pages)</div></div><div class="gmail_extra"><br><div class="gmail_quote">Le 3 juil. 2017 7:41 PM, "Augustin Trancart" <<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@oslandia.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You mean to never have more than one commit in gh-pages? It is a solution too, yes.<br>
<br>
We thought about pushing all our docs directly to <a href="http://itowns.github.io" rel="noreferrer" target="_blank">itowns.github.io</a>, removing the<br>
need of gh-pages branch. We don't really care if this repo is slow to clone (as<br>
few people will ever do it), and we'll keep the doc history that way. WDYT?<br>
<div class="quoted-text"><br>
Augustin Trancart - Oslandia<br>
<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@oslandia.com</a><br>
<br>
</div><div class="quoted-text">On 03/07/2017 19:35, Thomas Broyer wrote:<br>
> Instead of removing gh-pages altogether (unless there's a good reason to do so),<br>
> couldn't we change the auto-deploy script to force-push?<br>
><br>
> Otherwise sounds good (the old files I recalled of were in<br>
> resources/ <a href="https://github.com/iTowns/itowns2/commit/95bf265e33923c0a8e45b06558160e76f414e00d" rel="noreferrer" target="_blank">https://github.com/iTowns/<wbr>itowns2/commit/<wbr>95bf265e33923c0a8e45b06558160e<wbr>76f414e00d</a>)<br>
><br>
> Le 3 juil. 2017 7:13 PM, "Augustin Trancart" <<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@oslandia.<wbr>com</a><br>
</div>> <mailto:<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@<wbr>oslandia.com</a>>> a écrit :<br>
<div class="quoted-text">><br>
>     To be more precise: a prerequisite for this is to manage to upload our docs to<br>
</div>>     <a href="http://itowns.github.io" rel="noreferrer" target="_blank">itowns.github.io</a> <<a href="http://itowns.github.io" rel="noreferrer" target="_blank">http://itowns.github.io</a>>. Pepp and I are currently working<br>
<div class="quoted-text">>     on this.<br>
><br>
>     Augustin Trancart - Oslandia<br>
</div>>     <a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@oslandia.com</a> <mailto:<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@<wbr>oslandia.com</a>><br>
<div class="quoted-text">><br>
>     On 03/07/2017 19:06, Augustin Trancart wrote:<br>
>     > Ok so, I intent to drastically reduce the size of the repo by removing<br>
>     from its<br>
>     > history the branches:<br>
</div>>     > - gh-pages (only when deploy to <a href="http://itowns.github.io" rel="noreferrer" target="_blank">itowns.github.io</a> <<a href="http://itowns.github.io" rel="noreferrer" target="_blank">http://itowns.github.io</a>><br>
<div class="quoted-text">>     will work)<br>
>     > - gh-master<br>
>     ><br>
>     > and the files:<br>
>     > - dist/* (will be partly done by removal of gh-pages)<br>
>     > - build/*<br>
>     > - data/*<br>
>     > - resources/*<br>
>     > - doc/*<br>
>     > - src/Core/Commander/Providers/<wbr>Potree/workers.js (and actually maybe Potree/<br>
>     > directly)<br>
>     > - src/ThirdParty<br>
>     > - examples/gpx/ULTRA2009.gpx<br>
>     > - API_Doc/ (should be done by removal of gh-pages)<br>
>     ><br>
>     > This implies a force-push on *all* the branches. Therefore, it is advised that<br>
>     > you *clone the repo back once it's done*. You'll probably need to resubmit<br>
>     your<br>
>     > PR. I can help for the rebase if necessary.<br>
>     ><br>
>     > I'll keep a copy of the repo just in case :-)<br>
>     ><br>
>     > Schedule: TOMORROW!<br>
>     ><br>
>     > If you see something wrong in this, please raise your hand !<br>
>     ><br>
>     > Augustin Trancart - Oslandia<br>
</div>>     > <a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@oslandia.com</a> <mailto:<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@<wbr>oslandia.com</a>><br>
<div class="quoted-text">>     ><br>
>     > PS: FYI, when aggressively testing locally, I reduce the repo size from<br>
>     103Mb to<br>
>     > 3.9MB.<br>
>     ><br>
>     > On 29/06/2017 15:56, Augustin Trancart wrote:<br>
>     >> Ok, so I continued my investigation, and apart from this video, the size<br>
>     of the<br>
>     >> repo is also big because of the dist folder we commit to gh-pages at each<br>
>     >> merge... I'm pretty sure that does count more than the video itself (which<br>
>     >> shouldn't take more than it's compressed raw size, as it has not been changed<br>
>     >> since its appearance). And I don't really know how to workaround that.<br>
>     >><br>
>     >> So I'm not sure it is worthy to rewrite the entire history for gaining<br>
>     just 20mb<br>
>     >> (max) of our 110mb repo any more. Maybe we should just live with it, as<br>
>     only the<br>
>     >> first clone is slow.<br>
>     >><br>
>     >> Suggestions?<br>
>     >><br>
>     >> Augustin Trancart - Oslandia<br>
</div>>     >> <a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@oslandia.com</a> <mailto:<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@<wbr>oslandia.com</a>><br>
<div class="quoted-text">>     >><br>
>     >> On 29/06/2017 14:26, Thomas Broyer wrote:<br>
>     >>><br>
>     >>><br>
>     >>> 2017-06-29 13:51 GMT+02:00 Augustin Trancart<br>
>     <<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@oslandia.<wbr>com</a> <mailto:<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@<wbr>oslandia.com</a>><br>
</div>>     >>> <mailto:<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@<wbr>oslandia.com</a><br>
<div class="quoted-text">>     <mailto:<a href="mailto:augustin.trancart@oslandia.com">augustin.trancart@<wbr>oslandia.com</a>>>>:<br>
>     >>><br>
>     >>>     I basically trust maintainer not to merge big files,<br>
>     >>><br>
>     >>><br>
>     >>> Oh, you mean like for that video file? :troll:<br>
>     >>><br>
>     >>><br>
>     >>>     but yes, if we can automate it, it's even better.<br>
>     >>><br>
>     >>><br>
>     >>> Note that apparently aabc913 didn't went through a pull request, so we<br>
>     couldn't<br>
>     >>> have prevented it anyway (Travis could have failed, and then a<br>
>     push-force would<br>
>     >>> have been needed anyway)<br>
>     >>><br>
>     >>> Cordialement,<br>
>     >>> --<br>
>     >>> Thomas Broyer<br>
>     >>> Atol Conseils et Développements<br>
>     >>><br>
>     >><br>
>     >><br>
>     >><br>
>     >> ______________________________<wbr>_________________<br>
>     >> iTowns-dev mailing list<br>
</div>>     >> <a href="mailto:iTowns-dev@lists.osgeo.org">iTowns-dev@lists.osgeo.org</a> <mailto:<a href="mailto:iTowns-dev@lists.osgeo.org">iTowns-dev@lists.<wbr>osgeo.org</a>><br>
>     >> <a href="https://lists.osgeo.org/mailman/listinfo/itowns-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/itowns-dev</a><br>
<div class="quoted-text">>     <<a href="https://lists.osgeo.org/mailman/listinfo/itowns-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/itowns-dev</a>><br>
>     >><br>
>     ><br>
>     ><br>
>     ><br>
>     > ______________________________<wbr>_________________<br>
>     > iTowns-dev mailing list<br>
</div>>     > <a href="mailto:iTowns-dev@lists.osgeo.org">iTowns-dev@lists.osgeo.org</a> <mailto:<a href="mailto:iTowns-dev@lists.osgeo.org">iTowns-dev@lists.<wbr>osgeo.org</a>><br>
>     > <a href="https://lists.osgeo.org/mailman/listinfo/itowns-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/itowns-dev</a><br>
<div class="quoted-text">>     <<a href="https://lists.osgeo.org/mailman/listinfo/itowns-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/itowns-dev</a>><br>
>     ><br>
><br>
><br>
>     ______________________________<wbr>_________________<br>
>     iTowns-dev mailing list<br>
</div><div class="elided-text">>     <a href="mailto:iTowns-dev@lists.osgeo.org">iTowns-dev@lists.osgeo.org</a> <mailto:<a href="mailto:iTowns-dev@lists.osgeo.org">iTowns-dev@lists.<wbr>osgeo.org</a>><br>
>     <a href="https://lists.osgeo.org/mailman/listinfo/itowns-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/itowns-dev</a><br>
>     <<a href="https://lists.osgeo.org/mailman/listinfo/itowns-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/itowns-dev</a>><br>
><br>
><br>
<br>
</div></blockquote></div><br></div>