From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS15169 74.125.0.0/16 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_PASS,URIBL_RED shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 681601F859 for ; Sun, 28 Aug 2016 18:24:09 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id q128so6703492wma.1 for ; Sun, 28 Aug 2016 11:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=7ZG10oXWw+Hl31lwIIB6RNoNEiDw2E3n1jqF5tcjyuE=; b=A1SSYZEJji4AAm09pBVWyTqx34xRtSbhEd3h7ikVXQNC7TyZZsPUIW/b2V9vi+hSfG khPdvL4Oua4EiaK0OSoUGzTPVU8xDzwRoO1DwLEnhEAxXQE3pzkDFE9Kpnb59p1/6aWe EbBjSSJQe2DTy3yv8gEGbUvCZw1vmgKWR4JjwCr9MOnbf7Ph+pd4aJrfYI+YePoTpmI7 42CDgv7NJlfpMrlTTYh/46+YagumS6tf2KymUwfBQGLlDOUQvsifVEMtIE/6f4sjrwXy zSQuFr2VL7BkPtZ2ssPZKCg+9daJ14qoVgOqigbRu9xxxmf+uuZlVJhOqifzbWRDCgR1 mVkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=7ZG10oXWw+Hl31lwIIB6RNoNEiDw2E3n1jqF5tcjyuE=; b=lW9OJ71O/iEuE1m/nrJ7XaLL1iNBD30cDCzTCAfrWsecxbLSdkmRfHNr9bkBlqVYl6 VEJD5fFRPtTDVc/ioIUNjUrRWKdRuLyEx+AnzQ4jf/KrnN9va6KYCe/+Lw1NxDOe4NXu IoRFl2RrbpyLLc/s5nD4zm1/VKv2Aq5S8ZkzjXmKwugAx6vJmjjy+ZMYUBVZC4/W+S6u MxowJgbz759yQJaH5E70dI50NMU3rPJ8LpSHEQs7SmE9QM/N25FMy17fN+9odyie2+ap c1z8SWp6KncRYfoa3EUEvUEIYlbTAbYuZ4BH9hrCWJl8mF1vgxA+u4HC9km/yLGhiu2D ELTw== X-Gm-Message-State: AE9vXwNrMOyYP4CzYFcLgOMvJKG6j6gEEBuC6qkFsGOlqUngmP+t1Zd50Y+x8U+LDh03cw== X-Received: by 10.28.129.137 with SMTP id c131mr6715729wmd.79.1472408647813; Sun, 28 Aug 2016 11:24:07 -0700 (PDT) Received: from [192.168.1.26] (adby156.neoplus.adsl.tpnet.pl. [79.184.24.156]) by smtp.googlemail.com with ESMTPSA id us9sm30465041wjb.43.2016.08.28.11.24.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Aug 2016 11:24:06 -0700 (PDT) Subject: Re: Working with public-inbox.org [Was: [PATCH] rev-parse: respect core.hooksPath in --git-path] To: Johannes Schindelin References: <20160818204902.GA1670@starla> <20160819223547.GB16646@dcvr> <02c1c636-b0b4-8730-68a6-18f017ed3410@gmail.com> Cc: Eric Wong , Stefan Beller , meta@public-inbox.org, git@vger.kernel.org From: =?UTF-8?Q?Jakub_Nar=c4=99bski?= Message-ID: <60e7feda-5376-e1f2-1797-9e6dedf3c0b0@gmail.com> Date: Sun, 28 Aug 2016 20:23:58 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: Hello Johannes, W dniu 25.08.2016 o 15:21, Johannes Schindelin pisze: > On Mon, 22 Aug 2016, Jakub Narębski wrote: >> W dniu 22.08.2016 o 15:18, Johannes Schindelin pisze: >> >>> So unfortunately this thread has devolved. Which is sad. Because all I >>> wanted is to have a change in Git's submission process that would not >>> exclude *so many* developers. That is really all I care about. Not about >>> tools. Not about open vs proprietary, or standards. >>> >>> I just want developers who are already familiar with Git, and come up with >>> an improvement to Git itself, to be able to contribute it without having >>> to pull out their hair in despair. >> >> What is lacking in using submitGit tool for those that have problems >> with sending patches via email? > > Where do I start? And where do I stop? Here is a *very* brief list of > issues from the top of my head (and the history of my web browser): Let me reorder those issues and group them into specific categories. > - You cannot open a PR on GitHub and include the PR's cover letter as > cover letter: https://github.com/rtyley/submitgit/issues/9 > > - you have to register with yet another service to send mails on your > behalf. Would be nicer if the mails could be sent from a submitGit > address (moderated, of course) and did not need a separate registration > step with some scary permission granting. > > - submitGit requires you to go to a separate website to interact with the > submitGit web app. Would be so much nicer if it were a bot operating on > PRs. Those are issues about lack of integration (or need for better integration) with GitHub pull requests. I don't know if tighter integration would be possible (without going the route of web browser plugin, like ZenHub) with current API. Note that many integrations require you to go and use their separate site, like e.g. HuBoard. Also, for some people registering on GitHub is "yet another service"... ;-) > - You cannot Cc: people explicitly: > https://github.com/rtyley/submitgit/issues/31 > > - submitGit does not include any interdiff These are, I think, mainly related to lack of support for series *iteration*, for sending new version of patch series / of pull request. I don't know how well GitHub pull requests deal with iteration and refinement, and what is available as API to apps such as submitGit. > > - it is really hard to get back from mails to the corresponding commits > > - comments sent as replies have no connection to the PR *nor* the commits > they refer to (making submitGit basically a pimped up git-send-email, > nothing more). I guess that turning submitGit into two-way bridge between email and PR's would be quite difficult, if at all possible. For one, it would have to parse emails to turn response as email into comment on diff in PR. For second, I'm not sure if all features of email workflow are possible to represent in PR's: cover letter, comments for individual commits, commits about commit messages, commits about changes, free-form comments. But maybe they are possible; the trouble would be in translating back and forth. > - submitGit would require a substantial effort from me to learn how to > extend/fix it, to run the web app locally and run its tests. That is a > rather steep hurdle. Well, you cannot extend/fix GitHub at all yourself, isn't it? ;-P > > This is an incomplete list, of course. Right. >> Submitting changes in Git comes in three phases: >> - submit email with patches >> - review and discuss patch >> - apply patches from email > > You forgot a really crucial step. Maybe you did not go through dozens of > iterations in your patch series as I regularly do, or something, so it is > probably easy for you to forget: > > - find the commit in question, run rebase -i and patch it as suggested > > This is something that costs me quite some time to do. It is easily the > most annoying aspect of the mail list-based approach for me. I probably don't have as many topics in flight, and maybe the number of iterations is smaller, but I don't remember having troubles with that. Well, when I was most active doung Git development I were using StGit patch management interface instead of rebase -i; I think it makes things easier. Perhaps git-series could replace it, or augment it. >> Pull request via GitHub / Bitbucket / GitLab is easier than sending >> patches via email (pity that GitHub et al. do not have such submitGit-like >> automation built-in). But I think email, with threaded view, careful >> trimming of quoted contents, multi-level quotes is superior to exiting >> web-based solutions. > > They are not exiting, but I know what you meant. That was a typo: s/exiting/existing/ > The thing is: GitHub does not need such an automation. Because most > projects are pretty happy with the process centered around the web app. It might be that they don't need features not available in a web app. It might be that it is only way they know. Not all projects are happy to being on GitHub even if they are happy with using hosted git. And they were probably created after GitHub / GitLab / Bitbucket were here. Also - citation needed. > It is only projects such as Linux, Cygwin and Git itself who refuse to > allow for tools that would let the majority of potential contributors > stick with their favorite way to read and write mails (I am talking about > users of GMail and Outlook, of course). Those are projects that started before GitHub (for obvious reasons), and which created a good enough workflow based on email. It might be that they are ossified relics, or it might be that they don't want to trade advantages of email based workflow for advantages of web app based workflow. First, email clients and Usenet news readers support threading. I haven't found a good web app that supports threading well (though it might be a matter of small set of such apps examined by me). They allow marking and labeling posts to return back later. Second, email allows offline work, and handle well sporadic Internet connection. As far as I know web apps do not handle breaks in net access well, but I might be mistaken. Hopefully this problem would vanish with improving broadband... though there always would be places without constant always-on Internet connection. Third, email (or rather conventions around email) allows to provide - description of the whole series (in cover letter) - comments for each commit individually (outside of commit message) - make commit or series be a reply to discussion (useful with WIPs) For reviewer it allows to - comment on the whole series in response to cover letter - comment on individual commit - comment on the commit message - comment on the description of commit - comment on changes - start a discussion based on a commit - propose improvements as patches Are all of them possible in PR's? To reiterate what I have said elsewhere in this thread: while it is a good idea to lower barriers to contribution, especially for new classes of users (like MS Windows users, without a way to easily install and configure MTA so that git-send-email and/or git-imap-send just works, or with default email client without support for preserving whitespace and monospace fonts), it is reviewers and maintainers that are sparse resource. Best, -- Jakub Narębski