<div dir="ltr">Charles, Marc&#39;s advice reminded me that I left out an important step- creating a branch off of the karaf branch. His advice to squash commits into blocks before rebasing master can save you quite a bit of time, so I&#39;d go with that approach over all others we&#39;ve discussed. Best of luck!<div><br></div><div>Rachel<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 21, 2016 at 4:36 AM, Marc Savy <span dir="ltr">&lt;<a href="mailto:marc.savy@redhat.com" target="_blank">marc.savy@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It&#39;s right there in the archive -<br>
<br>
<a href="http://lists.jboss.org/pipermail/apiman-dev/2016-March/000090.html" rel="noreferrer" target="_blank">http://lists.jboss.org/pipermail/apiman-dev/2016-March/000090.html</a><br>
<br>
`git rebase --interactive` is the same as `git rebase -i`<br>
<div class="HOEnZb"><div class="h5"><br>
On 16/03/2016 08:52, Charles Moulliard wrote:<br>
&gt; No advices from @Rachel or @Marc ?<br>
&gt;<br>
&gt;<br>
&gt; On 08/03/16 14:30, Charles Moulliard wrote:<br>
&gt;&gt; Perhaps the option &quot;git rebase --interactive&quot; is better ?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m also thinking that the rebase should be done from the commits of<br>
&gt;&gt; karaf branch to master. If this is the case, then the cmds to be used are<br>
&gt;&gt;<br>
&gt;&gt; git checkout master<br>
&gt;&gt; git rebase --interactive karaf // squash of the commits can be done<br>
&gt;&gt; within the editor<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 08/03/16 12:44, Eric Wittmann wrote:<br>
&gt;&gt;&gt; @Marc or @Rachel - any advice to charles on the best way to merge and<br>
&gt;&gt;&gt; squash?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Eric<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 3/8/2016 3:21 AM, Charles Moulliard wrote:<br>
&gt;&gt;&gt;&gt; On 01/03/16 13:36, Eric Wittmann wrote:<br>
&gt;&gt;&gt;&gt;&gt; Hi Charles.  Here are some things we would need before we can merge<br>
&gt;&gt;&gt;&gt;&gt; the karaf branch:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; 1) rebase the karaf branch to master<br>
&gt;&gt;&gt;&gt;&gt; 2) squash the commits to a single commit<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;   &gt;&gt; Can you confirm my scenario to rebase and squash ?<br>
&gt;&gt;&gt;&gt; git checkout karaf<br>
&gt;&gt;&gt;&gt; git rebase master<br>
&gt;&gt;&gt;&gt; --&gt; Fix merge issues and commit them ?<br>
&gt;&gt;&gt;&gt; git checkout master<br>
&gt;&gt;&gt;&gt; git merge --squash<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; 3) thorough code review<br>
&gt;&gt;&gt;&gt;&gt; 4) testing<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; #1 - I think this is pretty straightforward.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; #2 - Normally I wouldn&#39;t mind a small number of commits for a<br>
&gt;&gt;&gt;&gt;&gt; contribution like the karaf support, but you&#39;ve got 221 commits in the<br>
&gt;&gt;&gt;&gt;&gt; karaf branch, representing 117 files changed or added. That&#39;s a very<br>
&gt;&gt;&gt;&gt;&gt; large impact on the project&#39;s commit history and will make future<br>
&gt;&gt;&gt;&gt;&gt; diffs more difficult than is warranted.  So that&#39;s the reason to<br>
&gt;&gt;&gt;&gt;&gt; squash the commits down to one (or at most a handful).<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; #3 - I&#39;ll need to run through the code with the rest of the apiman dev<br>
&gt;&gt;&gt;&gt;&gt; team so we&#39;re all familiar with the changes.  We need some extra<br>
&gt;&gt;&gt;&gt;&gt; eyeballs on the code to make sure we don&#39;t (for example) duplicate a<br>
&gt;&gt;&gt;&gt;&gt; lot of functionality.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; #4 - Obviously we&#39;ll need to do some testing to make sure everything<br>
&gt;&gt;&gt;&gt;&gt; is working as expected.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Unfortunately we&#39;ve got a bunch of high priority tasks at the moment,<br>
&gt;&gt;&gt;&gt;&gt; so it may be a little while before we can get to #3 and #4. I&#39;m happy<br>
&gt;&gt;&gt;&gt;&gt; to accomplish #1 and #2 at some point in the future, although if you&#39;d<br>
&gt;&gt;&gt;&gt;&gt; like to give it a try that would be fine too.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; -Eric<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On 3/1/2016 4:13 AM, Charles Moulliard wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Can we consider to merge Karaf branch with Master - trunk ? What<br>
&gt;&gt;&gt;&gt;&gt;&gt; are the<br>
&gt;&gt;&gt;&gt;&gt;&gt; steps that we have to take care in order to prepare the merge ?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Charles<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; Apiman-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:Apiman-dev@lists.jboss.org">Apiman-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/apiman-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/apiman-dev</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Apiman-dev mailing list<br>
&gt; <a href="mailto:Apiman-dev@lists.jboss.org">Apiman-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/apiman-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/apiman-dev</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Apiman-dev mailing list<br>
<a href="mailto:Apiman-dev@lists.jboss.org">Apiman-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/apiman-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/apiman-dev</a><br>
</div></div></blockquote></div><br></div></div></div>