<p dir="ltr">Hi Keith,</p>
<p dir="ltr">We are tracking ticket and not patches, actually our Jira states reflect patch lifetime.<br>
We have Gerrit for review too and engineer reflects patch review state to ticket state. Our Jira states are: In Progress, Review, Landing, Upstream Landing.<br>
So that states somehow cover all stages that you have described. We could see how many patches (ticket) and how long patch is under review, landing and landing upstream.</p>
<p dir="ltr">We are limiting all stages to catch issues. Sometime ago we seen a red Review column and changed a process little bit to do review more effectively.<br>
Landing never had issues.</p>
<p dir="ltr">But our Upstream column is always red.<br>
We actually have divided this column by swimlines(in term of Greenhopper): should be submitted to Upstream; was submitted to Upstream.<br>
They both have issues, but longest time is spent on &#39;was submitted&#39;.</p>
<p dir="ltr">We are not tracking same stages after submitting it Upstream, that is out of our scope.</p>
<p dir="ltr">Thanks,<br>
Denis</p>
<div class="gmail_quote">On Aug 5, 2013 9:27 PM, &quot;Keith Mannthey&quot; &lt;<a href="mailto:keith.mannthey@intel.com">keith.mannthey@intel.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sat, 2013-08-03 at 09:43 +0300, Denis Kondratenko wrote:<br>
&gt; In our Jira workflow we have different states like: Open, In Progress,<br>
&gt; Review, Landing and etc.<br>
&gt; It is engineer responsibility to maintain correct state.<br>
&gt; After engineer see that it has two +1, he/she transfers ticket to<br>
&gt; state Landing.<br>
&gt; Gatekeeper has search for all tickets at this state and see what is<br>
&gt; ready to land. Actually gatekeeper (or other people) could subscribe<br>
&gt; to search and receive e-mail with it results.<br>
&gt;<br>
&gt; Having different states in Jira gives us more clear vision what is the<br>
&gt; state of the project and where issues are.<br>
&gt; Using Kanban GreenHopper RapidBoard you even could get many<br>
&gt; statistical info about time that was spend in each state and other<br>
&gt; charts/stat.<br>
&gt;<br>
&gt; Limiting work in progress in each state you could easily see where you<br>
&gt; having issues in process. BTW our UpstreamLanding column is always<br>
&gt; red, that&#39;s why we always trying to find a way to improve process of<br>
&gt; upstream landing.<br>
Hello All,<br>
<br>
I spend time working to get patches (some of my own some of others)<br>
landed and these are some of my observations. I see patches as having 3<br>
general phases of life with regards to landing on Master branch.<br>
<br>
1. The patch is created and submitted. It also needs to have a LU and<br>
the patch should be linked into the LU. Patches that are not linked to<br>
their LU are quite easy to overlook. It would be really nice to have a<br>
automatic plugin that linked all new patches to the LUs they are<br>
attached to but not the old spam level of information.<br>
<br>
2. The patch is reviewed and tested. I consider this the hardest part<br>
of a patches life and it many cases more work that just making the<br>
patch.  It needs to build, pass autotest for ldiskfs and get reviewed.<br>
Comments and nacks are part of the review process and most patches will<br>
be several versions in before they are accepted, this is mostly an<br>
iterative process.<br>
<br>
3. The patch is landed. With regards to Master patches this should<br>
really happen within a few weeks of #2 being completed. Landing code<br>
that tested well a few months ago is tricky, some isolated changes might<br>
be safe but many patches will just not cleanly apply and with some the<br>
code underneath has changed are a careful evaluation is needed. If git<br>
rebase fails for the patch it can&#39;t be landed by gatekeeper.<br>
<br>
Denis,<br>
 In your UpstreamLanding column to you know which areas are the most<br>
troublesome for the patches you are tracking? Automating gatekeeper<br>
notifications will only help #3.<br>
<br>
<br>
Thanks,<br>
 Keith Mannthey<br>
 Lustre Support and Release<br>
<br>
&gt; Kanban def:<br>
&gt; <a href="http://www.infoq.com/resource/minibooks/kanban-scrum-minibook/en/pdf/KanbanAndScrumInfoQVersionFINAL.pdf" target="_blank">http://www.infoq.com/resource/minibooks/kanban-scrum-minibook/en/pdf/KanbanAndScrumInfoQVersionFINAL.pdf</a><br>

&gt; <a href="https://www.atlassian.com/software/greenhopper/overview/kanban" target="_blank">https://www.atlassian.com/software/greenhopper/overview/kanban</a><br>
&gt;<br>
&gt; Maybe having RapidBoard at Intel Jira with such info for sustaining<br>
&gt; will give to all of us more visibility and stat. But that requires<br>
&gt; Jira workflow changes and process changes.<br>
&gt;<br>
&gt;<br>
&gt; On Aug 3, 2013 1:27 AM, &quot;Christopher J. Morrone&quot; &lt;<a href="mailto:morrone2@llnl.gov">morrone2@llnl.gov</a>&gt;<br>
&gt; wrote:<br>
&gt;     Thanks Denis, those are some great leads!<br>
&gt;<br>
&gt;     I think it would be excellent to investigate one or both of<br>
&gt;     those links to get gerrit enhanced to match our workflow. I<br>
&gt;     opened ticket LU-3690 as a task to track this.<br>
&gt;<br>
&gt;     I like the sounds of the prolog-cookbook approach. But I see<br>
&gt;     what you mean, it is not clear to me that making a patch<br>
&gt;     &quot;submitable&quot; is sufficient to give us something that we can<br>
&gt;     use as search term. So that may make the perl &quot;hook for a +2<br>
&gt;     approval from a simple quorum of +1 votes&quot; a better option.<br>
&gt;<br>
&gt;     I am not sure that I understood your final comment about a<br>
&gt;     Jira &quot;Landing&quot; state.<br>
&gt;<br>
&gt;     Chris<br>
&gt;<br>
&gt;     On 08/02/2013 04:13 AM, Denis Kondratenko wrote:<br>
&gt;         Chris,<br>
&gt;<br>
&gt;         I see your point now. We are not using gerrit with a<br>
&gt;         way it was designed<br>
&gt;         for (when +2 should be there to submit; seems our<br>
&gt;         gatekeepers doing +2).<br>
&gt;         You are right it is impossible to build search for<br>
&gt;         gatekeeper from plain<br>
&gt;         gerrit without it modification.<br>
&gt;<br>
&gt;         There are still some ways to workaround that:<br>
&gt;         * <a href="http://en.wikibooks.org/wiki/Git/Gerrit_Code_Review" target="_blank">http://en.wikibooks.org/wiki/Git/Gerrit_Code_Review</a><br>
&gt;         (A hook could -<br>
&gt;         for instance - allow a project to install an automated<br>
&gt;         gatekeeper to<br>
&gt;         vote +2 &#39;submit approved&#39; when sufficient +1 votes<br>
&gt;         &#39;looks good to me&#39;<br>
&gt;         have been received)<br>
&gt;         *<br>
&gt;         <a href="http://review.whamcloud.com/Documentation/prolog-cookbook.html#_example_12_1_1_2_code_review" target="_blank">http://review.whamcloud.com/Documentation/prolog-cookbook.html#_example_12_1_1_2_code_review</a> (but<br>

&gt;         I don&#39;t know if it will get right searches..)<br>
&gt;         * in Xyratex we are using Jira state &quot;Landing&quot; to<br>
&gt;         build filter for<br>
&gt;         gatekeeper.<br>
&gt;<br>
&gt;         OK, even if we could&#39;t separate gatekeeper changes<br>
&gt;         from other, filter is<br>
&gt;         still useful to check issues with no feedback for a<br>
&gt;         long time.<br>
&gt;<br>
&gt;         Thanks,<br>
&gt;         Denis<br>
&gt;<br>
&gt;<br>
&gt;         ------------------------------------------------------------------------<br>
&gt;         For additional information including the registered<br>
&gt;         office and the treatment of Xyratex confidential<br>
&gt;         information please <a href="http://visitwww.xyratex.com" target="_blank">visitwww.xyratex.com</a><br>
&gt;         &lt;<a href="http://www.xyratex.com/" target="_blank">http://www.xyratex.com/</a>&gt;<br>
&gt;<br>
&gt;         ------------------------------------------------------------------------<br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         cdwg mailing list<br>
&gt;         <a href="mailto:cdwg@lists.opensfs.org">cdwg@lists.opensfs.org</a><br>
&gt;         <a href="http://lists.opensfs.org/listinfo.cgi/cdwg-opensfs.org" target="_blank">http://lists.opensfs.org/listinfo.cgi/cdwg-opensfs.org</a><br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     cdwg mailing list<br>
&gt;     <a href="mailto:cdwg@lists.opensfs.org">cdwg@lists.opensfs.org</a><br>
&gt;     <a href="http://lists.opensfs.org/listinfo.cgi/cdwg-opensfs.org" target="_blank">http://lists.opensfs.org/listinfo.cgi/cdwg-opensfs.org</a><br>
&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________<br>
&gt; For additional information including the registered office and the treatment of Xyratex confidential information please visit <a href="http://www.xyratex.com" target="_blank">www.xyratex.com</a><br>
&gt;<br>
&gt; ______________________________________________________________________<br>
&gt; _______________________________________________<br>
&gt; cdwg mailing list<br>
&gt; <a href="mailto:cdwg@lists.opensfs.org">cdwg@lists.opensfs.org</a><br>
&gt; <a href="http://lists.opensfs.org/listinfo.cgi/cdwg-opensfs.org" target="_blank">http://lists.opensfs.org/listinfo.cgi/cdwg-opensfs.org</a><br>
<br>
<br>
</blockquote></div>

<br>
<pre style="white-space:pre-wrap;color:rgb(34,34,34);background-color:rgb(255,255,255)"><hr>For additional information including the registered office and the treatment of Xyratex confidential information please visit <font color="#1155cc"><a href="http://www.xyratex.com/" target="_blank">www.xyratex.com</a></font>
</pre><div><hr></div>