<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Always use distfiles if possible.<br>
</div></blockquote><div><br></div><div>Alrighty then, since this seems to be the sole response on the matter, I'll go the distfiles route.</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- </div><div>Jason Liu<br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 14, 2020 at 10:37 PM Joshua Root <<a href="mailto:jmr@macports.org">jmr@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2020-7-15 11:53 , Jason Liu wrote:<br>
> I have a question regarding how best to fetch the source code for my<br>
> Blender port. Blender's source code is split up into four pieces, which<br>
> are of course structured as submodules in GitHub. I know that I could<br>
> use the 'git submodule update --init' technique to obtain the submodules<br>
> during the fetch phase, as has been discussed previously:<br>
> <br>
> <a href="https://trac.macports.org/ticket/50708" rel="noreferrer" target="_blank">https://trac.macports.org/ticket/50708</a><br>
> <br>
> However, Blender does something which many other projects on GitHub<br>
> don't: the four parts of the source code are always tagged with an<br>
> identical release version number, and are always pushed up to GitHub<br>
> simultaneously when a new release gets tagged. This makes it relatively<br>
> easy to have my portfile fetch the four tarballs as distfiles. And since<br>
> MacPorts supports multiple distfiles, this also seems like a viable option.<br>
> <br>
> The reason why I ask is that if I fetch the tarballs of the four parts,<br>
> the amount of data downloaded totals around 53 MB. If I use 'git<br>
> submodule', the amount of data downloaded totals around 959 MB. Yes,<br>
> disk storage and network bandwidth are cheap these days, but that's<br>
> still a pretty big difference.<br>
> <br>
> So... which method should I use?<br>
<br>
Always use distfiles if possible.<br>
<br>
- Josh<br>
</blockquote></div>