<div dir="ltr">Hello,<br><br><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I have hard time to get through the git way of doing things right now.<br>
<br>
So, I forked oi-userland, added components or changes to it and did a pull request.<br>
Ok, I understand that I should have done one component at a time.<br></blockquote><div><br></div><div>Whenever there is a dependency of said component at build time yes: PR the dependency first.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
It seems that the git way of doing this is to create one branch per component which I haven't done.<br>
<br>
Now I have all my commits in oi/hipster and how can I reach the situation where I can pull request one component only ?<br></blockquote><div><br></div><div>In your case it is easy because there is no dependency between commits.<br></div><div>I would say the easiest is to create a new branch (git checkout -b libconfig) and git cherry-pick the commits related to libconfig.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Is branching per component the best way to make pull request ?<br></blockquote><div><br></div><div>In general features and fixes should live in separate branches yes and one for each component: exception is made in case dependencies or lack thereof allow several fixes in one PR.<br></div><div>If you think how the build server works it makes sense.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Best regards.<br>
Ben<br>
<br>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br>
<a href="http://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">http://openindiana.org/mailman/listinfo/oi-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div>
</div></div></div>