public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* [Bug Infrastructure/30997] New: Automate patchwork committed marking
@ 2023-10-24  9:49 mark at klomp dot org
  2023-10-24 10:20 ` [Bug Infrastructure/30997] " siddhesh at sourceware dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mark at klomp dot org @ 2023-10-24  9:49 UTC (permalink / raw)
  To: overseers

https://sourceware.org/bugzilla/show_bug.cgi?id=30997

            Bug ID: 30997
           Summary: Automate patchwork committed marking
           Product: sourceware
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Infrastructure
          Assignee: overseers at sourceware dot org
          Reporter: mark at klomp dot org
  Target Milestone: ---

Currently individuals run scripts by hand to close patches (mark them as
committed). This could be automated by running these scripts from a git hook or
from builder when a patch is committed.

https://patchwork.readthedocs.io/en/latest/deployment/installation/#optional-configure-your-vcs-to-automatically-update-patches

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug Infrastructure/30997] Automate patchwork committed marking
  2023-10-24  9:49 [Bug Infrastructure/30997] New: Automate patchwork committed marking mark at klomp dot org
@ 2023-10-24 10:20 ` siddhesh at sourceware dot org
  2023-10-24 12:30 ` carlos at redhat dot com
  2024-03-24 22:02 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: siddhesh at sourceware dot org @ 2023-10-24 10:20 UTC (permalink / raw)
  To: overseers

https://sourceware.org/bugzilla/show_bug.cgi?id=30997

Siddhesh Poyarekar <siddhesh at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |siddhesh at sourceware dot org

--- Comment #1 from Siddhesh Poyarekar <siddhesh at sourceware dot org> ---
FWIW, I run it as a cron job from my sourceware shell account.  I suppose it
could be trivially done for all projects that use patchwork from a single such
account.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug Infrastructure/30997] Automate patchwork committed marking
  2023-10-24  9:49 [Bug Infrastructure/30997] New: Automate patchwork committed marking mark at klomp dot org
  2023-10-24 10:20 ` [Bug Infrastructure/30997] " siddhesh at sourceware dot org
@ 2023-10-24 12:30 ` carlos at redhat dot com
  2024-03-24 22:02 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: carlos at redhat dot com @ 2023-10-24 12:30 UTC (permalink / raw)
  To: overseers

https://sourceware.org/bugzilla/show_bug.cgi?id=30997

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com

--- Comment #2 from Carlos O'Donell <carlos at redhat dot com> ---
I strongly recommend against it being a git hook since the hook involves
potentially complex code running on the git server, and the process need only
reach *eventual consistency* over time to support review of the patches in the
queue. Just like with an MR/PR workflow someone might commit a similar fix
ahead of you, and we'll never be able to keep the queue 100% automatically
clear.

My suggestion would be to write a bot that is run in a cron job as part of
patchwork.sourceware.org process automation, and that the bot account should
have maintainer status on all the projects and close the patches as committed.

As an evolving solution I would just have Siddhesh turn this on for all the
projects. I suggest a patchwork bot account to be used so it can be identified
more easily e.g. autoclose-bot.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug Infrastructure/30997] Automate patchwork committed marking
  2023-10-24  9:49 [Bug Infrastructure/30997] New: Automate patchwork committed marking mark at klomp dot org
  2023-10-24 10:20 ` [Bug Infrastructure/30997] " siddhesh at sourceware dot org
  2023-10-24 12:30 ` carlos at redhat dot com
@ 2024-03-24 22:02 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2024-03-24 22:02 UTC (permalink / raw)
  To: overseers

https://sourceware.org/bugzilla/show_bug.cgi?id=30997

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=30042

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-24 22:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24  9:49 [Bug Infrastructure/30997] New: Automate patchwork committed marking mark at klomp dot org
2023-10-24 10:20 ` [Bug Infrastructure/30997] " siddhesh at sourceware dot org
2023-10-24 12:30 ` carlos at redhat dot com
2024-03-24 22:02 ` mark at klomp dot org

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