Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Simon Marchi via Gdb <gdb@sourceware.org>
To: Overseers mailing list <overseers@sourceware.org>,
	Jeff Law <jeffreyalaw@gmail.com>
Cc: Richard Biener <richard.guenther@gmail.com>,
	Joseph Myers <josmyers@redhat.com>,
	gcc@gcc.gnu.org, libc-alpha@sourceware.org,
	Jason Merrill <jason@redhat.com>,
	gdb@sourceware.org, Mark Wielaard <mark@klomp.org>,
	binutils@sourceware.org, Tom Tromey <tom@tromey.com>
Subject: Re: Updated Sourceware infrastructure plans
Date: Thu, 2 May 2024 10:26:10 -0400	[thread overview]
Message-ID: <50f7a906-bc7e-4197-88d2-b6c8201cc743@simark.ca> (raw)
In-Reply-To: <CAFiYyc0JB6hJZe3okQgboSVAWnsAvQaS0ZxXkcrCwujx4sGS9g@mail.gmail.com>

On 5/2/24 2:47 AM, Richard Biener via Overseers wrote:> We'd only know for sure if we try.  But then I'm almost 100% sure that
> having to click in a GUI is slower than 'nrOK^X' in the text-mode mail UA
> I am using for "quick" patch review.  It might be comparable to the
> review parts I do in the gmail UI or when I have to download attachments
> and cut&paste parts into the reply.  It might be also more convenient
> for "queued" for review patches which just end up in New state in either
> inbox.

Speaking of my Gerrit experience.  I don't think that it will ever be
quite as fast and responsive as whatever terminal application you're
using (because web app vs highly optimized native app).  But the time
saved in patch management, tracking down stuff, diffing patch versions,
ease of downloading patches locally to try them you, CI integration,
more than make up for it in terms of productivity, in my case.

The particular case you describe is just one click in Gerrit.  The
current version of Gerrit has a "Code review +2" button on the top
right, which is equivalent to an "OK" without further comments:

https://i.imgur.com/UEz5xmM.png

So, pretty quick too.

If you want to add a general comment on the patch (a comment not bound
to a specific line), typing `a` anywhere within a patch review brings
you to the place where you can do that, and you can do `shift + enter`
to post.  In general, I think that Gerrit has a pretty good set of
keyboard shortcuts to do most common operations:

https://i.imgur.com/RrREsTt.png

Not sure that you mean with the gmail UI and cut & paste part.  I don't
think you'd ever need to do something like that with Gerrit or similar
review system.  To put a comment on a line, you click on that line and
type in the box.

> But then would using gitlab or any similar service enforce the use of
> pull requests / forks for each change done or can I just continue to
> post patches and push them from the command-line for changes I
> can approve myself?

Like Ian said, with Gerrit, you can configure a repo such that you're
still able to git push directly.  If a patch review exists with the same
Change-Id (noted as a git trailer in each commit) as a commit that gets
directly pushed, that patch review gets automatically closed (marked as
"Merged").  So you, as a maintainer with the proper rights, could for
instance download a patch review I uploaded, fix some nits and git push
directly.  Gerrit will mark my patch review as Merged and the final
version of the patch review will reflect whatever you pushed.

Let's say you spot a typo in the code and want to push a trivial patch,
you don't need to create a patch review on Gerrit, you just push
directly (if the repo is configured to allow it).  On the other hand,
creating a patch review on Gerrit is not a big overhead, it's basically
one "git push" to a magic remote.  It prints you the URL, you can click
on it, and you're there.

Simon

  parent reply	other threads:[~2024-05-02 14:28 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-17 23:27 Mark Wielaard
2024-04-18  6:04 ` Thomas Koenig via Gdb
2024-04-18  8:14   ` FX Coudert via Gdb
2024-04-18  9:01     ` Christophe Lyon via Gdb
2024-04-18 11:38     ` Janne Blomqvist via Gdb
2024-04-18 12:01       ` Generated files in libgfortran for Fortran intrinsic procedures (was: Updated Sourceware infrastructure plans) Tobias Burnus
2024-04-18 12:32         ` Martin Uecker via Gdb
2024-04-19  9:35   ` Updated Sourceware infrastructure plans Jonathan Wakely via Gdb
2024-04-18 15:56 ` Joseph Myers via Gdb
2024-04-18 17:37   ` Frank Ch. Eigler via Gdb
2024-04-18 17:54     ` Joseph Myers via Gdb
2024-04-18 18:29     ` Matt Rice via Gdb
2024-04-22 15:39     ` Tom Tromey
2024-04-23  2:55       ` Jason Merrill via Gdb
2024-04-23  3:12         ` Simon Marchi via Gdb
2024-04-23  3:24         ` Tom Tromey
2024-04-23  3:51           ` Jason Merrill via Gdb
2024-04-23  8:56             ` Mark Wielaard
2024-04-23  9:39               ` Richard Earnshaw (lists) via Gdb
2024-04-23 15:08             ` Tom Tromey
2024-04-23 15:25               ` Simon Marchi via Gdb
2024-04-24  8:49                 ` Aktemur, Tankut Baris via Gdb
2024-04-23  4:06           ` Ian Lance Taylor
2024-04-23  9:30           ` Richard Earnshaw (lists) via Gdb
2024-04-23 13:51             ` Ian Lance Taylor via Gdb
2024-05-01 19:15           ` Jeff Law via Gdb
2024-05-01 19:38             ` Jonathan Wakely via Gdb
2024-05-01 20:20               ` Mark Wielaard
2024-05-01 20:53                 ` Tom Tromey
2024-05-01 21:04                   ` Simon Marchi via Gdb
2024-05-02 15:35                     ` Pedro Alves
2024-05-02 23:05                       ` Fangrui Song
     [not found]                       ` <DS7PR12MB57651DA3A5C22B2847C13580CB182@DS7PR12MB5765.namprd12.prod.outlook.com>
2024-05-07 16:17                         ` Joseph Myers via Gdb
2024-05-10 10:43                           ` Ben Boeckel via Gdb
2024-05-01 20:04             ` Jason Merrill via Gdb
2024-05-01 21:26               ` Mark Wielaard
2024-05-01 22:01                 ` Sergio Durigan Junior via Gdb
2024-05-02 12:54                 ` Claudio Bantaloukas via Gdb
2024-05-02 15:33                 ` Pedro Alves
2024-05-03  2:59                   ` Ian Lance Taylor
2024-05-04 19:56                 ` Ben Boeckel via Gdb
2024-05-05  5:22                   ` Benson Muite via Gdb
2024-05-06 13:58                     ` Ben Boeckel via Gdb
2024-05-07 16:26                   ` Joseph Myers via Gdb
2024-05-01 21:38               ` Jeff Law via Gdb
2024-05-02  6:47                 ` Richard Biener via Gdb
2024-05-02 11:29                   ` Ian Lance Taylor via Gdb
2024-05-02 14:26                   ` Simon Marchi via Gdb [this message]
2024-05-02 11:45                 ` Mark Wielaard
2024-05-01 22:56               ` Tom Tromey
2024-04-23 10:34         ` Florian Weimer via Gdb
2024-04-22 10:01   ` Mark Wielaard
2024-04-22 13:23     ` Joseph Myers via Gdb
2024-04-19  9:33 ` Jonathan Wakely via Gdb
2024-04-22 10:24   ` Mark Wielaard
2024-04-22 11:40     ` Jonathan Wakely via Gdb
2024-04-23  0:48   ` Frank Ch. Eigler via Gdb

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

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

  git send-email \
    --in-reply-to=50f7a906-bc7e-4197-88d2-b6c8201cc743@simark.ca \
    --to=gdb@sourceware.org \
    --cc=binutils@sourceware.org \
    --cc=gcc@gcc.gnu.org \
    --cc=jason@redhat.com \
    --cc=jeffreyalaw@gmail.com \
    --cc=josmyers@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=mark@klomp.org \
    --cc=overseers@sourceware.org \
    --cc=richard.guenther@gmail.com \
    --cc=simark@simark.ca \
    --cc=tom@tromey.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox