unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Development suggestions from an ENSIME developer
Date: Fri, 22 Jul 2016 16:58:48 +0100	[thread overview]
Message-ID: <8760rxvf47.fsf@russet.org.uk> (raw)
In-Reply-To: <jwvy44t7mus.fsf-monnier+gmane.emacs.devel@gnu.org> (Stefan Monnier's message of "Fri, 22 Jul 2016 10:56:50 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> 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.


I think neither of your mentioned "not be completely happy, and ask for
changes". Being able to do line-by-line comments is a big help. Then the
PR'er fixes, squashes. No new patch is needed, just look at the updated
state of the world.

I found when fiddling with the undo system that sometimes I didn't
understand Stefan's comments, because I wasn't sure which bit of code he
was talking about (my comprehension I am sure, rather than his
explanation).



>>> - 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.


Copyright.list, no, undoubtly not, but other systems do indeed do CLA
signatures and checking.


>>> - "3b" can just mark the request as "reviewed by <foo>", 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.

And, actually, removing full commit rights would probably *increase* the
number of commiters.

I'm still a little nervous when commit to head, because I worry about
screwing things up. Submitting a PR is much less of a nervous process. I
find this is true even for projects where I do have commit rights. Some
projects use PRs even for commiters, so everything goes through two
pairs of eyes.

Probably not going to be good for all of Emacs, but for some of it, it's
going to be good.


>>> 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.


Especially if people are familiar with it already.

Phil



  reply	other threads:[~2016-07-22 15:58 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20 13:54 Development suggestions from an ENSIME developer Lars Ingebrigtsen
2016-07-20 14:02 ` Clément Pit--Claudel
2016-07-22 22:48   ` Robert Cochran
2016-07-23  7:30     ` Eli Zaretskii
2016-07-23  9:00     ` Lars Ingebrigtsen
2016-07-23 19:52       ` Richard Stallman
2016-07-23 13:50     ` Clément Pit--Claudel
2016-07-23 20:14     ` Phillip Lord
2016-07-25 18:34       ` Robert Cochran
2016-08-03  6:05   ` John Wiegley
2016-08-06 18:42     ` Alex Dunn
2016-07-20 14:03 ` Dmitry Gutov
2016-07-20 14:08   ` Lars Ingebrigtsen
2016-07-20 14:12     ` Dmitry Gutov
2016-07-20 14:23       ` Christian Kruse
2016-07-20 14:41         ` Dmitry Gutov
2016-07-20 14:30 ` Christian Kruse
2016-07-20 14:44   ` Lars Ingebrigtsen
2016-07-20 15:02     ` Clément Pit--Claudel
2016-07-20 15:07       ` Lars Ingebrigtsen
2016-07-20 15:31         ` Clément Pit--Claudel
2016-07-20 17:00 ` Stefan Monnier
2016-07-21 18:40   ` Phillip Lord
2016-07-21 19:30     ` Eli Zaretskii
2016-07-21 20:22       ` Stefan Monnier
2016-07-21 21:26         ` Christian Kruse
2016-07-21 22:04         ` Dmitry Gutov
2016-07-21 20:23       ` Phillip Lord
2016-07-21 20:50         ` joakim
2016-07-22  6:59         ` Eli Zaretskii
2016-07-22 10:46           ` Lars Ingebrigtsen
2016-07-22 11:48             ` Lars Ingebrigtsen
2016-07-22 13:00               ` Robert Weiner
2016-07-22 13:34                 ` Eli Zaretskii
2016-07-22 14:28                   ` Robert Weiner
2016-07-22 14:45             ` Ted Zlatanov
2016-07-22 13:35           ` Stefan Monnier
2016-07-22 14:38             ` Eli Zaretskii
2016-07-22 14:56               ` Stefan Monnier
2016-07-22 15:58                 ` Phillip Lord [this message]
2016-07-22 15:47           ` Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760rxvf47.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).