workflows.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: workflows@vger.kernel.org
Subject: Re: Monitoring the status of your own patches on patchwork?
Date: Mon, 13 Dec 2021 11:37:57 -0700	[thread overview]
Message-ID: <CAPnjgZ1THJQSUj2Mmq2P6EtJXZQV=th0vnN2cLZ=BZe_sck+SA@mail.gmail.com> (raw)
In-Reply-To: <87mtl7ufl3.fsf@toke.dk>

Hi,

On Sat, 11 Dec 2021 at 12:06, Toke Høiland-Jørgensen <toke@redhat.com> wrote:
>
> Hi everyone!
>
> I was wondering if anyone had any nifty tricks or utilities to help
> monitor the status of your own patch submissions on a patchwork
> instance? Things like getting a notification when a patch changes status
> or when one of the automated checks on that particular patchwork
> instance fails for a patch you submitted?
>
> I can just filter the patchwork web interface to my name, of course, but
> I would like something that can be automated so I can make the stuff I
> care about show up in my inbox :)

I'll just mention 'patman status' here, which collects tags from
patchwork so you can send them with the next version. It also shows
you code-review snippets on the cmdline which I find much faster to
process, particularly for large patches. See below, although it's a
bit hard to read without the colours that patman uses.

I would like something that can track all the series and tell me what
is outstanding. At the moment I keep a manual list but often forget
things.

$ patman status
  1 efi: Rename UCLASS_EFI and IF_TYPE_EFI
  + Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
  2 efi: Add EFI uclass for media
  + Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
  3 efi: Add a media/block driver for EFI block device
  + Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
  4 efi: Locate all block devices in the app
  5 efi: serial: Support arrow keys
[...]
3 new responses available in patchwork (use -d to write them to a new branch)

$ patman status -C
  1 efi: Rename UCLASS_EFI and IF_TYPE_EFI
  + Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Review: Heinrich Schuchardt <xypron.glpk@gmx.de>
    > File: include/dm/uclass-id.h
    > Line: 48 / 48: enum uclass_id {
    >    UCLASS_DMA, /* Direct Memory Access */
    >    UCLASS_DSA, /* Distributed (Ethernet) Switch Architecture */
    >    UCLASS_ECDSA, /* Elliptic curve cryptographic device */
    > - UCLASS_EFI, /* EFI managed devices */
    > + UCLASS_EFI_LOADER, /* Devices managed by EFI_LOADER */
    "managed by EFI_LOADER" does not catch it. I will change this to
    "devices created by UEFI applications and drivers" when merging.

  2 efi: Add EFI uclass for media
  + Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Review: Heinrich Schuchardt <xypron.glpk@gmx.de>
    > At present UCLASS_EFI is used to represent an EFI filesystem among other
    %s/UCLASS_EFI/UCLASS_EFI_LOADER/

    > pretty vague. The only driver that uses this uclass is in fact not a real
    > U-Boot driver, since its operations do not include a struct udevice.
    >
    > Rather than mess with this, create a new UCLASS_EFI_MEDIA uclass to handle
    > EFI media such as disks. Make this the uclass to use for EFI media so that
    The new uclass is for devices provided by an UEFI implementation loading
    U-Boot as an EFI application.

    > it can be used with 'part list', for example.
    >
    > The existing implementation using UCLASS_EFI remains as is, for
    %s/UCLASS_EFI/UCLASS_EFI_LOADER/
    The existing uclass is for devices created by UEFI applications loaded
    by U-Boot.

    > File: include/dm/uclass-id.h
    > Line: 49 / 49: enum uclass_id {
    > +++ b/include/dm/uclass-id.h
    >    UCLASS_DSA, /* Distributed (Ethernet) Switch Architecture */
    >    UCLASS_ECDSA, /* Elliptic curve cryptographic device */
    >    UCLASS_EFI_LOADER, /* Devices managed by EFI_LOADER */
    > + UCLASS_EFI_MEDIA, /* EFI media (e.g. a disk) */
    %s/EFI media (e.g. a disk)/devices provided by UEFI firmware */
    With those changes:

  3 efi: Add a media/block driver for EFI block device
  + Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Regards,
Simon

  parent reply	other threads:[~2021-12-13 18:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-11 19:06 Toke Høiland-Jørgensen
2021-12-13 15:08 ` Jakub Kicinski
2021-12-13 15:48   ` Toke Høiland-Jørgensen
2021-12-13 16:06     ` Jakub Kicinski
2021-12-13 18:39       ` Toke Høiland-Jørgensen
2021-12-13 22:56         ` Kees Cook
2021-12-13 18:37 ` Simon Glass [this message]
2021-12-13 21:43   ` Toke Høiland-Jørgensen
2021-12-13 23:51     ` Simon Glass
2021-12-14  2:12   ` Randy Dunlap
2021-12-14 16:31     ` Simon Glass

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='CAPnjgZ1THJQSUj2Mmq2P6EtJXZQV=th0vnN2cLZ=BZe_sck+SA@mail.gmail.com' \
    --to=sjg@chromium.org \
    --cc=toke@redhat.com \
    --cc=workflows@vger.kernel.org \
    /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