<p dir="ltr">My company is using submodules for the better or worse. It's not a perfect solution but it can work when using a version of git recent enough and some tooling. </p>
<p dir="ltr">The magic command to update everything to the current commit pointed by each submodule : git submodules update --init --recursive<br>
To get the latest version you can do: git submodules --init --recursive --remote<br>
This by default will get the latest version of master, but a change in the .gitmodules file can make it point to release branches.</p>
<p dir="ltr">If you want a stable version from days ago, you can have a bot updating the submodules everyday and pushing the submodules update, then use that commit. <br>
With a bot like this, manual submodule bumps should be rare and people non familiar with git will soon forget about those. </p>
<p dir="ltr">For a linear history, you can have GitHub doing a rebase when merging the changes instead of a merge. I would recommend to do that to keep the history clean and have less "fixup" or "wip" commits in the history. </p>
<p dir="ltr">For the people who want to keep SVN, I've tried the compatibility layer from GitHub and it worked well enough for me in the past. But I would recommend to write a cheat sheet to help people migrate to Git long-term.<br>
Recent versions of git are not as hard to use as the old versions of git and it doesn't have to be more complicated than SVN. </p>
<p dir="ltr">/Florent </p>
<div class="gmail_quote">On May 31, 2016 22:43, "Aaron Ballman via cfe-dev" <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, May 31, 2016 at 4:27 PM, Renato Golin <<a href="mailto:renato.golin@linaro.org">renato.golin@linaro.org</a>> wrote:<br>
> On 31 May 2016 at 21:24, Aaron Ballman <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> wrote:<br>
>> Are we sure that github's svn integration works with common tools on<br>
>> Windows, like TortoiseSVN?<br>
><br>
> That's a good question. Can you try them out and report back?<br>
<br>
>From my very simple testing, yes. However, since I don't use github<br>
for much, it's hard to feel comfortable with my level of testing. I'm<br>
sure for read-only access, this will be sufficient. For read/write<br>
access, I am less confident, so if others have had more experience<br>
with this on Windows, I would appreciate hearing about it.<br>
<br>
~Aaron<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>