<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi all,</div><div class=""><br class=""></div>from me also a big -1 due to the many reasons others have already mentioned (especially Roman).<div class=""><br class=""></div><div class="">I want to give an additional consideration: One thing I always liked at the Phabricator workflow is that it is based on diffs only. Pull requests are no git but a Github feature. That means that by adopting Github's pull request workflow you essentially adopt a proprietary feature that will only work on this specific proprietary platform. Phabricator is essentially just a convenient tool to review plain diffs (first class git citizens) and the fact that it works relatively independent of the underlying repository is something I really like.</div><div class=""><br class=""></div><div class="">My -1 holds even more since I personally find the Phabricator workflow to be very good in particular as it even got easier since arcanist works perfectly fine with git and the complete arc workflow can be used since the migration. In contrast to e.g. Bugzilla where we searched for an alternative since the current situation was bad, this is not the case for Phabricator.</div><div class=""><br class=""></div><div class="">Regarding the hurdle for new contributors: Is the Github workflow really easier or is it just the case that more people have Github accounts? As I've already said I think the current workflow is absolutely fine and really intuitive. We should however make our contribution guide more welcoming and complete (I know, there are people working on this which is awesome!).</div><div class=""><br class=""></div><div class=""> David</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 7. Nov 2019, at 10:53, Aaron Ballman via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">On Thu, Nov 7, 2019 at 3:09 AM Roman Lebedev via llvm-dev</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><</span><a href="mailto:llvm-dev@lists.llvm.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">llvm-dev@lists.llvm.org</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">> wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class="">Strong -1 personally.<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Likewise, for many of the same reasons detailed below.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">~Aaron</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">* What is the endgoal? To fully kill phab and move to github pullrequests?<br class=""> it might be best to discuss *that* first. (did i miss an RFC?)<br class="">* Separation of attention - does everyone who cares<br class=""> now has to also look at pull requests for reviews;<br class=""> or should they be exempt from general review attention?<br class="">* For me personally after using phabricator, github now seems<br class=""> extremely crude, laggy, limited. To name a few:<br class=""> * There is no way to see previous version of the patch.<br class=""> I don't think there is any way to disable force-push for PR's.<br class=""> While this is only 'slightly' limiting for the reviewer,<br class=""> this can be more limiting for the author - how do i go back<br class=""> to previous revision? I can't, i need to maintain a copy<br class=""> of every branch i pushed manually.<br class=""> * Impossible to chain reviews - a PR diff can only be made<br class=""> on top of git master branch. Any non-trivial change consists of<br class=""> separable PR's. Now either one will only be able to submit<br class=""> dependent PR after the prereqs are merged, or the diff will be<br class=""> impossible to read.<br class=""> * Does not load large diffs by default.<br class=""> That caught me by surprise several times<br class=""> when i was searching for something.<br class=""> * No diffs in mail - *super* inconvenient.<br class=""> One has to open each pr in browser (or fetch via git etc etc)<br class=""> * Github is an official US-based commercial organisation.<br class=""> It *has* to follow U.S. export law. In particular i'm thinking of<br class=""> <a href="https://techcrunch.com/2019/07/29/github-ban-sanctioned-countries/" class="">https://techcrunch.com/2019/07/29/github-ban-sanctioned-countries/</a><br class=""> <a href="https://github.com/tkashkin/GameHub/issues/289" class="">https://github.com/tkashkin/GameHub/issues/289</a><br class=""> Does phabricator already have such restrictions, blocks?<br class=""> If not, wouldn't you say adding such restrictions is not being<br class=""> more open for contributors?<br class=""> What happens when, in not so long in the future, the entirety of, say,<br class=""> china or russian federation is blocked as such?<br class=""> * Same question can be asked about internet "iron" curtains<br class=""> certain (*cough*) countries are raising. That also has already happened<br class=""> before (and *will* happen again), and i was personally affected:<br class=""> <a href="https://en.wikipedia.org/wiki/Censorship_of_GitHub#Russia" class="">https://en.wikipedia.org/wiki/Censorship_of_GitHub#Russia</a><br class=""> I don't recall that happening to phabricator yet.<br class=""> I fail to see how that is more contributor-friendly.<br class=""> * Not sure anyone cares, but while using github as main git<br class=""> repository "mirror" is perfectly fine - git is distributed, only canonical<br class=""> write-repo would be affected anything bad happen. But that isn't the case<br class=""> for reviews, issues; as it has been discussed in the "let's migrate bugzilla<br class=""> to github issues", it is far more involved.<br class=""> * What about DMCA? Not sure how this is currently handled.<br class=""> * UI feels laggy. Not much to add here, pretty subjective.<br class=""> * I'm sure i'm missing a few.<br class=""><br class="">The github does come with it's benefits, sure:<br class="">* It is *simpler* to preserve git commit author.<br class=""> Currently one has to ask the author for the "Author: <a href="mailto:e@ma.il" class="">e@ma.il</a>" line,<br class=""> and do `git commit --amend --author="<>"`.<br class="">* @mention is wide-r-reaching - whole github, not just llvm phabricator<br class="">* No more "phabricator disk full" issues<br class="">* ???<br class=""><br class="">TLDR: such migration lowers the bar for new, first time,<br class="">unestabilished contributors, but i personally feel it *significantly*<br class="">raises the bar for the existing contributors, reviewers.<br class="">We don't live in perfect world. Aspirational goals are aspirational.<br class="">They should be attempted to be reached, but they shouldn't shadow and<br class="">overweight, take over the main goal of the LLVM project.<br class=""><br class="">Personally, i don't see that benefits out-/over- weight the drawbacks.<br class=""><br class="">Roman.<br class=""><br class="">On Thu, Nov 7, 2019 at 8:32 AM Mehdi AMINI via llvm-dev<br class=""><<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">Hi all,<br class=""><br class="">Now that we're on GitHub, we can discuss about pull-requests.<br class="">I'd like to propose to enable pull-request on GitHub, as a first step as an experimental channel alongside the existing methods for contributing to LLVM.<br class="">This would allow to find workflow issues and address them, and also LLVM contributors in general to start getting familiar with pull-requests without committing to switching to pull-requests immediately. The community should evaluate after a few months what would the next steps be.<br class=""><br class="">GitHub pull-requests is the natural way to contribute to project hosted on GitHub: this feature is so core to GitHub that there is no option to disable it!<br class=""><br class="">The current proposal is to allow to integrate contributions to the LLVM project directly from pull-requests. In particular the exact setup would be the following:<br class=""><br class=""> - Contributors should use their own fork and push a branch in their fork.<br class=""> - Reviews can be performed on GitHub. The canonical tools are still the mailing-list and Phabricator: a reviewer can request the review to move to Phabricator.<br class=""> - The only option available will be to “squash and merge”. This mode of review matches the closest our current workflow (both phabricator and mailing-list): conceptually independent contributions belongs to separate review threads, and thus separate pull-requests.<br class="">This also allow the round of reviews to not force-push the original branch and accumulate commits: this keeps the contextual history of comments and allow to visualize the incremental diff across revision of the pull-request.<br class=""> - Upon “merge” of a pull-request: history is linear and a single commit lands in master after review is completed.<br class=""><br class="">As an alternative staging proposal: we could enable pull-requests only for a small subset of sub-projects in LLVM (i.e. not LLVM/clang to begin with for example) in the repo. In this case, we would propose to begin with the MLIR project (as soon as it gets integrated in the monorepo). This would be a good candidate to be the guinea pig for this process since it does not yet have a wide established community of contributors, and the current contributors are already exclusively using pull-requests.<br class=""><br class="">Here is a more complete doc on the topic: <a href="https://docs.google.com/document/d/1DSHQrfydSjoqU9zEnj3rIcds6YN59Jxc37MdiggOyaI" class="">https://docs.google.com/document/d/1DSHQrfydSjoqU9zEnj3rIcds6YN59Jxc37MdiggOyaI</a><br class=""><br class="">Cheers,<br class=""><br class="">--<br class="">Mehdi<br class=""><br class="">_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></blockquote>_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></blockquote><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">LLVM Developers mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:llvm-dev@lists.llvm.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">llvm-dev@lists.llvm.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a></div></blockquote></div><br class=""></div></body></html>