From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Development suggestions from an ENSIME developer Date: Fri, 22 Jul 2016 10:56:50 -0400 Message-ID: References: <87wpke3kdj.fsf@russet.org.uk> <83h9biyek4.fsf@gnu.org> <877fce3flr.fsf@russet.org.uk> <83d1m6xint.fsf@gnu.org> <83twfhwxeq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469199595 12515 80.91.229.3 (22 Jul 2016 14:59:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2016 14:59:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 16:59:47 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bQbvX-0002VN-0u for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2016 16:59:47 +0200 Original-Received: from localhost ([::1]:47824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQbvW-0000XC-6U for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2016 10:59:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQbt5-0007JT-52 for emacs-devel@gnu.org; Fri, 22 Jul 2016 10:57:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQbt0-00043E-4I for emacs-devel@gnu.org; Fri, 22 Jul 2016 10:57:14 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQbsz-00042y-TP for emacs-devel@gnu.org; Fri, 22 Jul 2016 10:57:10 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bQbsv-0000RG-Gy for emacs-devel@gnu.org; Fri, 22 Jul 2016 16:57:05 +0200 Original-Received: from 69-165-156-121.dsl.teksavvy.com ([69.165.156.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2016 16:57:05 +0200 Original-Received: from monnier by 69-165-156-121.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2016 16:57:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 64 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-165-156-121.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:ny23aWUVTwdvbdMrQwlPM73yEP8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206033 Archived-At: > For me, most of the work is between 1 and 2. The decision whether the > patch looks good is often times not an easy one, it requires reading > more code than is directly affected by the patch, consult the > documentation, sometimes reading past discussions and bug reports, > sometimes trying the patched version. That's the most time-consuming > part of patch review, and it isn't going to go away, nor (it seems) > will it be helped by the proposed changes in any way. It's no silver bullet, no. But the question was not "will it do the work for me" but just "is it going to be better or worse". I think it's going to be marginally better. E.g. for step "1b", you get to look at the patch in the format you like rather than in the format the submitter chose. > For me, the annoying part is not the failure to apply the patch. It's > the last touches I need to apply to the patch to make it up to our > standards. In many cases, I hesitate to ask the submitter to do that, > either because there were already several iterations of the comments > and reviews, and I don't want to drive them off, or because explaining > what should be changed and how will take more time and effort than > just doing it and telling the submitter "look what I did and try to > follow in the future". I don't expect these aspects to be helped in > any way, by any system. Indeed, it will probably be just about the same in this respect. > These are non-issues for me. They seldom happen, and when they do, > it's easy to handle them. Mostly agreed, except for "a diff w.r.t the previous version of that same merge request": I haven't needed it often, but the few times I did, I found it excruciating to extract that info from emails. >> - hopefully/ideally the tool could have already checked copyright.list >> for you. > Is there any system that does? I doubt that. Out of the box of course not. But if it's got enough hooks, we should be able to add it ourselves. >> - "3b" can just mark the request as "reviewed by ", so you can give >> "half-commit" rights to some users. >> - it sometimes makes it easier for 3rd parties (or for the reviewer) to >> update the merge request directly (instead of adding comments). > Does the above really make sense in a project where most patches get > reviewed by a single person? If we want to improve our commit-logs, I think we need to reduce the number of people who have full commit rights. So while we probably wouldn't be able to make any use of "half-commit" rights right now, it could be very useful at some later time. >> Of course, there's also the effect on the side of the patch-submitters, >> where the precise flow is often made easier for them because there's no >> doubt about where to send the patch, in which format, etc... > I envision more complaints from submitters about the complexity of the > process... A few old timers might be annoyed, but I'd expect most other submitters would welcome the change. Stefan