{"id":481,"date":"2017-01-26T02:53:47","date_gmt":"2017-01-26T10:53:47","guid":{"rendered":"http:\/\/blog.mozilla.org\/tomcat\/?p=481"},"modified":"2017-01-26T02:54:53","modified_gmt":"2017-01-26T10:54:53","slug":"sheriffing-mozilla-checkin-needed","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/tomcat\/2017\/01\/26\/sheriffing-mozilla-checkin-needed\/","title":{"rendered":"Sheriffing @ Mozilla &#8211; checkin-needed"},"content":{"rendered":"<div class=\"\">Hi,<\/div>\n<div class=\"\"><\/div>\n<div class=\"\">Working as Sheriff @ Mozilla is much more than just monitoring our trees and doing things like backouts. In 2017 i wanted to start to blog more about what we do and here is:<\/div>\n<div class=\"\"><\/div>\n<div id=\"magicdomid4\" class=\"\"><span class=\"b u\"><b><u>Part 1 &#8211; Checkin-needed<\/u><\/b><\/span><\/div>\n<div id=\"magicdomid5\" class=\"\"><\/div>\n<div id=\"magicdomid6\" class=\"\"><span class=\"\">A lot of checkins land everyday on the Mozilla <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">r<\/span><span class=\"\">epositories. Some are great new features and improvements and some are bugfixes of existing bugs etc.<\/span><\/div>\n<div class=\"\"><\/div>\n<div id=\"magicdomid7\" class=\"\"><span class=\"\">While a lot of checkins are done by the developer<\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">s<\/span> <span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">the<\/span><span class=\"\">mse<\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">lves<\/span><span class=\"\">, also <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">s<\/span><span class=\"\">heriffs are involved in this.<\/span><\/div>\n<div id=\"magicdomid8\" class=\"\"><\/div>\n<div id=\"magicdomid9\" class=\"\"><span class=\"\">We not only monitor the Mozilla <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">r<\/span><span class=\"\">epositor<\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">ies<\/span><span class=\"\"> (aka the tree) we also do checkins for people who don&#8217;t<\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\"> have<\/span><span class=\"\"> the appropriate level <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">of <\/span><span class=\"\">permission to check<\/span> <span class=\"\">in changes<\/span> <span class=\"\">(<\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">for<\/span><span class=\"\"> example new <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">c<\/span><span class=\"\">ommunity <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">m<\/span><span class=\"\">embers).<\/span><\/div>\n<div id=\"magicdomid10\" class=\"\"><\/div>\n<div id=\"magicdomid11\" class=\"\"><span class=\"\">In the past checkin-needed was used by developers to reduce load on our build<\/span> <span class=\"\">systems with fewer pushes but with a more robust build system this isn&#8217;t relevant anymore.\u00a0<\/span><\/div>\n<div class=\"\"><\/div>\n<div id=\"magicdomid12\" class=\"\"><span class=\"\">So checkin-needed is more and more important for developers without access-levels to do commits and<\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">,<\/span><span class=\"\"> as mentioned<\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">,<\/span><span class=\"\"> new community members who <\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">for<\/span><span class=\"\"> example finished their first patch.<\/span><\/div>\n<div id=\"magicdomid13\" class=\"\"><\/div>\n<div id=\"magicdomid14\" class=\"\"><span class=\"\">To request checkin-needed people use this keyword in <\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">B<\/span><span class=\"\">ugzilla or use the [checkin-needed-beta] or [checkin-needed-aurora] whiteboard entry for the patches in a bug.<\/span><\/div>\n<div id=\"magicdomid15\" class=\"\"><\/div>\n<div id=\"magicdomid16\" class=\"\"><span class=\"\">For me personal is checkin-needed a very important task because you sometime check<\/span> <span class=\"\">in a patch from someone who just started to contribute to Mozilla. So you are one of the people that are the first contacts to the new contribut<\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">o<\/span><span class=\"\">r and you help <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">them <\/span><span class=\"\">getting the patch landed. That<\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">&#8216;<\/span><span class=\"\">s also a good opportunity to say &#8220;thanks for contributing to <\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">M<\/span><span class=\"\">ozilla&#8221; to the new community member, this is great motivation and recognition!\u00a0<\/span><\/div>\n<div id=\"magicdomid17\" class=\"\"><\/div>\n<div id=\"magicdomid18\" class=\"\"><span class=\"b\"><b>How we work :<\/b><\/span><\/div>\n<div id=\"magicdomid19\" class=\"\"><span class=\"\">\u00a0\u00a0\u00a0\u00a0<\/span><\/div>\n<div id=\"magicdomid20\" class=\"\"><span class=\"\">We have a wiki page with a <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">b<\/span><span class=\"\">ug <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">q<\/span><span class=\"\">uery and some basic information for the Sheriff on Duty <a href=\"https:\/\/wiki.mozilla.org\/Sheriffing\/How:To:Landing_checkin-needed_patches\">[1]<\/a>. We use this query to get a overview what <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">b<\/span><span class=\"\">ugs need checkins.<\/span><\/div>\n<div id=\"magicdomid21\" class=\"\"><\/div>\n<div id=\"magicdomid22\" class=\"\"><span class=\"\">For <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">b<\/span><span class=\"\">ugs with a patch attached that is not <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">on <\/span><span class=\"\">mozreview we check the checkin-neeed request for:<\/span><\/div>\n<div id=\"magicdomid23\" class=\"\"><span class=\"\">\u00a0\u00a0\u00a0 -&gt; Has proper review before doing anything else<\/span><\/div>\n<div id=\"magicdomid24\" class=\"\"><span class=\"\">\u00a0\u00a0\u00a0 -&gt; Has a successful try run to avoid any bustage on checkin<\/span><\/div>\n<div id=\"magicdomid25\" class=\"\"><\/div>\n<div id=\"magicdomid26\" class=\"\"><span class=\"\">and land the patch on mozilla-inbound.<\/span><\/div>\n<div id=\"magicdomid27\" class=\"\"><\/div>\n<div id=\"magicdomid28\" class=\"\"><span class=\"\">For <\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">b<\/span><span class=\"\">ugs with patches in mozreview we use the autoland tool to do the checkins.\u00a0<\/span><\/div>\n<div id=\"magicdomid29\" class=\"\"><span class=\"\">However we still check if the bug has review and check the try run.<\/span><\/div>\n<div id=\"magicdomid30\" class=\"\"><\/div>\n<div id=\"magicdomid31\" class=\"\"><span class=\"\">This is the prefer<\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">r<\/span><span class=\"\">ed way of doing checkin-neededs since autoland is a<\/span><span class=\"author-a-z87zhz70zz85z9az69zz89zz65zz66zyz87zz122zvjz74z\">n<\/span><span class=\"\"> automated system.<\/span><\/div>\n<div id=\"magicdomid32\" class=\"\"><\/div>\n<div id=\"magicdomid33\" class=\"\"><\/div>\n<div id=\"magicdomid34\" class=\"\"><span class=\"b\"><b>How can you help\u00a0<\/b><\/span><\/div>\n<div id=\"magicdomid35\" class=\"\"><\/div>\n<div id=\"magicdomid36\" class=\"\">\n<ul class=\"list-indent1\">\n<li><span class=\"b\"><b>-&gt;\u00a0 Use Mozreview &#8211; Autoland<\/b><\/span><span class=\"\"> &#8211; it helps us to do more checkins in less time due to the automated tasks. Please make sure that there are no open issues in Mozreview when you request checkin-needed<\/span><span class=\"author-a-vcz89zz84zz86z4z82z0z72zz76zz69zz84zz84z3hz87z\">. In fact, you can land them yourself with autoland. In the future, checkin-needed will only be allowed on security bugs.<\/span><\/li>\n<\/ul>\n<\/div>\n<div id=\"magicdomid37\" class=\"\"><\/div>\n<div id=\"magicdomid38\" class=\"\">\n<ul class=\"list-indent1\">\n<li><span class=\"author-a-vcz89zz84zz86z4z82z0z72zz76zz69zz84zz84z3hz87z\">-&gt; Make sure that you have a passing try run. It is a waste of the sheriffs time to come look at a checkin-needed and it has failures in the try run.<\/span><\/li>\n<\/ul>\n<\/div>\n<div id=\"magicdomid39\" class=\"\">\n<ul class=\"list-indent1\">\n<li><span class=\"\">-&gt; When you have multiple patches that need to land and the patches need to land in a specific order &#8211; please make a comment in the bug with the correct order.<\/span><\/li>\n<\/ul>\n<\/div>\n<div id=\"magicdomid40\" class=\"\">\n<ul class=\"list-indent1\">\n<li><span class=\"\">-&gt; When there are dependenc<\/span><span class=\"author-a-z74zz73zhz68z1z90zz68z4fz66zz77zz74zz75zz80zif\">ie<\/span><span class=\"\">s with other bugs &#8211; please state this in the bug.\u00a0\u00a0<\/span><\/li>\n<\/ul>\n<\/div>\n<div id=\"magicdomid41\" class=\"\"><\/div>\n<div id=\"magicdomid42\" class=\"\"><span class=\"\">We try to do checkin-needed checks and checkins several times a day depending on sheriff workload etc so we cannot guarantee a turnaround time but trying to do our best.<\/span><\/div>\n<div id=\"magicdomid43\" class=\"\"><\/div>\n<div id=\"magicdomid44\" class=\"\"><span class=\"\">When you have feedback\/suggestions or idea how to do this task better let us know anytime!<\/span><\/div>\n<div class=\"\"><\/div>\n<div class=\"\">Also as every part of the Mozilla Project we also depend on Community Members like you! So if you are interested to be become a Community Sheriff let me know!<\/div>\n<div class=\"\"><\/div>\n<div class=\"\">Cheers,<\/div>\n<div class=\"\">&#8211; Tomcat<\/div>\n<div class=\"\"><\/div>\n<div class=\"\">[1] <a href=\"https:\/\/wiki.mozilla.org\/Sheriffing\/How:To:Landing_checkin-needed_patches\">https:\/\/wiki.mozilla.org\/Sheriffing\/How:To:Landing_checkin-needed_patches<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hi, Working as Sheriff @ Mozilla is much more than just monitoring our trees and doing things like backouts. In 2017 i wanted to start to blog more about what we do and here is: Part 1 &#8211; Checkin-needed A lot of checkins land everyday on the Mozilla repositories. Some are great new features and [&hellip;]<\/p>\n","protected":false},"author":82,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[281231],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/tomcat\/wp-json\/wp\/v2\/posts\/481"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/tomcat\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/tomcat\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/tomcat\/wp-json\/wp\/v2\/users\/82"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/tomcat\/wp-json\/wp\/v2\/comments?post=481"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/tomcat\/wp-json\/wp\/v2\/posts\/481\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/tomcat\/wp-json\/wp\/v2\/media?parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/tomcat\/wp-json\/wp\/v2\/categories?post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/tomcat\/wp-json\/wp\/v2\/tags?post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}