{"id":254,"date":"2015-11-30T15:22:25","date_gmt":"2015-11-30T13:22:25","guid":{"rendered":"http:\/\/www.gijsk.com\/blog\/?p=254"},"modified":"2015-11-30T15:22:25","modified_gmt":"2015-11-30T13:22:25","slug":"did-it-land","status":"publish","type":"post","link":"https:\/\/www.gijsk.com\/blog\/2015\/11\/did-it-land\/","title":{"rendered":"Did it land?"},"content":{"rendered":"<p>I wrote a thing to check if your patch landed\/stuck. It&#8217;s on <a href=\"https:\/\/github.com\/gijsk\/diditland\/\">github<\/a> because that&#8217;s what people seem to do these days. That means you can use it here:<\/p>\n<p><a href=\"https:\/\/gijsk.github.io\/diditland\/\">Did it land?<\/a><\/p>\n<p>The &#8220;point&#8221; of this mini-project is to be able to easily determine whether bug X made today&#8217;s nightly, or if bug Y landed in beta 5. Sometimes non-graph changelogs, such as are most accessible on hgweb, can be misleading (ie beta 5 was tagged after you landed, but on a revision before you landed&#8230;), plus it&#8217;s boring to look up revisions manually in a bug, and then look them up on hgweb, and then try to determine if revision A is in the ancestry tree for revision B. So I automated it.<\/p>\n<p>Note that the tool doesn&#8217;t:<\/p>\n<ul>\n<li>deal cleverly with backouts. It&#8217;ll give you revision hashes from the bug, but if it notices comments that seem to indicate something got backed out, it will be cautious about saying &#8220;yes, this landed&#8221;. If you know that you bounced once but the last revision(s) is\/are definitely &#8220;enough&#8221; to have the fixes be considered &#8220;landed&#8221;, then you can just switch to looking up a revision instead of a bug, copy-paste the last hash, and try that one. With a bit of work it could probably expose the internal data about which commits landed before a nightly in the UI &#8211; the data is there!<\/li>\n<li>use hg to extract the bug metadata. It&#8217;s dumb and just asks for a bug&#8217;s comments from bugzilla. Pull requests or other help about how to do this &#8220;properly&#8221; welcome.<\/li>\n<li>deal cleverly with branching. If you select aurora\/beta, it will look for commits that landed on aurora\/beta, not for commits that landed on &#8220;earlier&#8221; trees and made their way down to aurora\/beta with the regular train. This is not super hard to fix, I think, but I haven&#8217;t gotten around to it, and I don&#8217;t think it will be a very common case.<\/li>\n<li>have a particularly nice UI. Feel free to send me pull requests to make it look better.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I wrote a thing to check if your patch landed\/stuck. It&#8217;s on github because that&#8217;s what people seem to do these days. That means you can use it here: Did it land? The &#8220;point&#8221; of this mini-project is to be &hellip; <a href=\"https:\/\/www.gijsk.com\/blog\/2015\/11\/did-it-land\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-254","post","type-post","status-publish","format-standard","hentry","category-mozilla"],"_links":{"self":[{"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/posts\/254"}],"collection":[{"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/comments?post=254"}],"version-history":[{"count":1,"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/posts\/254\/revisions"}],"predecessor-version":[{"id":255,"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/posts\/254\/revisions\/255"}],"wp:attachment":[{"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/media?parent=254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/categories?post=254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gijsk.com\/blog\/wp-json\/wp\/v2\/tags?post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}