public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [STATS] Auto-update patchwork for committed patches
@ 2023-05-17 15:30 Siddhesh Poyarekar
  2023-05-17 17:14 ` Samuel Thibault
  0 siblings, 1 reply; 4+ messages in thread
From: Siddhesh Poyarekar @ 2023-05-17 15:30 UTC (permalink / raw)
  To: GNU C Library

Hello,

We have been using patchwork for status tracking for a couple of years 
now (it's been a great run since the previous one didn't last too long) 
and we're at a point where we use it enough to want to maintain its 
state more closely.

To make sure that the backlog remains sane enough to be useful, I've 
been running a cron job that reviews new commits to the master branch 
daily and closes matching patchwork patches as COMMITTED.  This works 
only when the diff of a commit is exactly the same as that in patchwork; 
the script ignores commits that don't have a matching diff in patchwork.

I get an email every day from the job, telling me which commits had 
matching patches on patchwork and which didn't.  Going forward, I'm 
going to publish approximately weekly (until I can get another cron job 
that parses these emails and does this automatically) statistics of how 
many (and which) commits did not have a matching patch on patchwork.

The intent is to try and drive behaviour towards pushing patches exactly 
as they were posted upstream.  It's understandable that there may be 
some trivial nits that get fixed before pushing, but the ideal behaviour 
there should be to post a [committed] patch to the list so that there's 
always a matching patch on list (and on patchwork) for every commit. 
This has a number of advantages:

1. Verifiable claim that every commit in the repository has a record on 
the mailing list (including conversations following the patch) and 
patchwork, thus improving auditability and transparency.
2. A pre-commit CI run, through patchwork for every such commit
3. It enables further automation, such as marking previous versions of 
patches with the same subject line as superseded (which makes subject 
lines important or maybe the use of something like b4, but that's a 
different topic for later)

If you find a commit that that's incorrectly marked as MISSING, please 
let me know and we can dig out the root cause for it.

Thanks,
Sid

The stats for the last week-ish
===============================

In the last 10 days, there have been 34 commits to glibc and 22 had 
matching patches on patchwork.  This makes it a success rate of 64.7%. 
Here are the commits that were missing from patchwork:

4571fb8fe64644c79d91a8f76c148a05b7088ea8 Update hurd/intr-msg.c to be 
more portable: MISSING
3f433cb895dee51dee57cb487bc33b1425fa7ef6 Update 
sysdeps/mach/hurd/ioctl.c to make it more portable: MISSING
a26238d3ca21fda6d7d41b4d56541fcf4546fbe7 Enable new device_open_new RPC 
in libmachuser.: MISSING
bf88b47ecb54888a789c02fa81aa4ab81ec2f3a5 Revert "riscv: Resolve symbols 
directly for symbols with STO_RISCV_VARIANT_CC.": MISSING
ab5aa2ee3d3f978e474803cbbc5fe805ad30e293 dlopen: skip debugger 
notification for DSO loaded from sprof (bug 30258): MISSING
d6c72f976c61d3c1465699f2bcad77e62bafe61d hurd: rule out some mach 
headers when generating errno.h: MISSING
3ca9f43d1007956251130ee5a59abb63bff8a6b6 Stop checking if MiG supports 
retcode.: MISSING
088136aa02de6fa13061ef6f754071a5652fdabd i386: Use pthread_barrier for 
synchronization on tst-bz21269: MISSING
114f1b7881e63e2b4e5d0e9a9e4fb142b9cd886c hurd: Fix computing user stack 
pointer: MISSING
e333759f7752593a69a8f9920a247ed3878fafef hurd: Fix sc_i386_thread_state 
layout: MISSING
ce96593c882b393461084048533120e9c1e9d328 hurd: Align signal stack 
pointer after allocating stackframe: MISSING
ff0f87632a74a369a2b992f4436ae406065a4012 hurd: Fix aligning signal stack 
pointer: MISSING

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

* Re: [STATS] Auto-update patchwork for committed patches
  2023-05-17 15:30 [STATS] Auto-update patchwork for committed patches Siddhesh Poyarekar
@ 2023-05-17 17:14 ` Samuel Thibault
  2023-05-17 18:02   ` Siddhesh Poyarekar
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Thibault @ 2023-05-17 17:14 UTC (permalink / raw)
  To: Siddhesh Poyarekar; +Cc: GNU C Library

Siddhesh Poyarekar, le mer. 17 mai 2023 11:30:37 -0400, a ecrit:
> 4571fb8fe64644c79d91a8f76c148a05b7088ea8 Update hurd/intr-msg.c to be more
> portable: MISSING
> 3f433cb895dee51dee57cb487bc33b1425fa7ef6 Update sysdeps/mach/hurd/ioctl.c to
> make it more portable: MISSING
> a26238d3ca21fda6d7d41b4d56541fcf4546fbe7 Enable new device_open_new RPC in
> libmachuser.: MISSING
> 3ca9f43d1007956251130ee5a59abb63bff8a6b6 Stop checking if MiG supports
> retcode.: MISSING
> 114f1b7881e63e2b4e5d0e9a9e4fb142b9cd886c hurd: Fix computing user stack
> pointer: MISSING
> e333759f7752593a69a8f9920a247ed3878fafef hurd: Fix sc_i386_thread_state
> layout: MISSING
> ce96593c882b393461084048533120e9c1e9d328 hurd: Align signal stack pointer
> after allocating stackframe: MISSING
> ff0f87632a74a369a2b992f4436ae406065a4012 hurd: Fix aligning signal stack
> pointer: MISSING

I don't remember changing anything in those?

For instance 

> 4571fb8fe64644c79d91a8f76c148a05b7088ea8 Update hurd/intr-msg.c to be more
> portable: MISSING
reached the mailing list on
https://sourceware.org/pipermail/libc-alpha/2023-May/147836.html

or perhaps since I had already marked the patch as commited and
archived, your script didn't find it?

> d6c72f976c61d3c1465699f2bcad77e62bafe61d hurd: rule out some mach headers
> when generating errno.h: MISSING

I probably forgot to send the mail for this one, now done.

Samuel

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

* Re: [STATS] Auto-update patchwork for committed patches
  2023-05-17 17:14 ` Samuel Thibault
@ 2023-05-17 18:02   ` Siddhesh Poyarekar
  0 siblings, 0 replies; 4+ messages in thread
From: Siddhesh Poyarekar @ 2023-05-17 18:02 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: GNU C Library

On 2023-05-17 13:14, Samuel Thibault wrote:
> Siddhesh Poyarekar, le mer. 17 mai 2023 11:30:37 -0400, a ecrit:
>> 4571fb8fe64644c79d91a8f76c148a05b7088ea8 Update hurd/intr-msg.c to be more
>> portable: MISSING
>> 3f433cb895dee51dee57cb487bc33b1425fa7ef6 Update sysdeps/mach/hurd/ioctl.c to
>> make it more portable: MISSING
>> a26238d3ca21fda6d7d41b4d56541fcf4546fbe7 Enable new device_open_new RPC in
>> libmachuser.: MISSING
>> 3ca9f43d1007956251130ee5a59abb63bff8a6b6 Stop checking if MiG supports
>> retcode.: MISSING
>> 114f1b7881e63e2b4e5d0e9a9e4fb142b9cd886c hurd: Fix computing user stack
>> pointer: MISSING
>> e333759f7752593a69a8f9920a247ed3878fafef hurd: Fix sc_i386_thread_state
>> layout: MISSING
>> ce96593c882b393461084048533120e9c1e9d328 hurd: Align signal stack pointer
>> after allocating stackframe: MISSING
>> ff0f87632a74a369a2b992f4436ae406065a4012 hurd: Fix aligning signal stack
>> pointer: MISSING
> 
> I don't remember changing anything in those?
> 
> For instance
> 
>> 4571fb8fe64644c79d91a8f76c148a05b7088ea8 Update hurd/intr-msg.c to be more
>> portable: MISSING
> reached the mailing list on
> https://sourceware.org/pipermail/libc-alpha/2023-May/147836.html
> 
> or perhaps since I had already marked the patch as commited and
> archived, your script didn't find it?

Ah! not because you marked it committed, but because you archived it :) 
Please don't bother archiving it; archival is only for unresolved 
patches that become stale.

Thanks for letting me know though; it's great that our success rate is 
actually much higher then :)

>> d6c72f976c61d3c1465699f2bcad77e62bafe61d hurd: rule out some mach headers
>> when generating errno.h: MISSING
> 
> I probably forgot to send the mail for this one, now done.

Great, the script won't mark this anymore since it's already 
fast-forwarded to current master, but thanks for doing it anyway :)

Thanks,
Sid

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

* [STATS] Auto-update patchwork for committed patches
@ 2023-06-06 14:05 Siddhesh Poyarekar
  0 siblings, 0 replies; 4+ messages in thread
From: Siddhesh Poyarekar @ 2023-06-06 14:05 UTC (permalink / raw)
  To: GNU C Library

In the last 20 days, there have been 98 commits to glibc and 86 had 
matching patches on patchwork.  This makes it a success rate of 87.8%. 
Here are the commits that were missing from patchwork:

8812b9900e5fba3b696f1b34bd6014211327190f stdlib: Use long long int in 
stdlib/tst-llabs: MISSING
9ec31e57278ffc4e680ef03e75ce5b6b02e5edcf hurd: Use __hurd_fail () 
instead of assigning errno: MISSING
9cc27336c9b6fc7b59d1adbf36f0a044a0b89a59 Fix build for 
hurd/thread-self.c for i386.: MISSING
0b25c28e028b63c95108c442d8112811107e4c13 Fix misspellings in 
sysdeps/powerpc -- BZ 25337: MISSING
ec9a66cd01a73c185bb42cdc032f88b472598feb mach: Fix accessing 
mach_i386.h: MISSING
a363f7075125fa654342c69331e6c075518ec28c wchar: Define va_list for POSIX 
(BZ #30035): MISSING
a118dc312946ca5347f8f6e8e9221444677bc029 io: Re-flow and sort multiline 
Makefile definitions: MISSING
9ffdcf5b79acacffc35506812ca8d99ea1dde618 hurd: Fix setting up signal 
thread stack alignment: MISSING
a1950a07583f63f220f30ba7d99ceb619b80ecce riscv: Add the clone3 wrapper: 
MISSING
1512599694d0ead4394c0950525fdab09332faf5 io: Re-flow and sort multiline 
Makefile definitions: MISSING
7f0d9e61f40c669fca3cfd1e342fa8236c7220b7 Fix all the remaining 
misspellings -- BZ 25337: MISSING
d4963a844dc72c4ac14da3395cf511f3d191d689 linux: Fail as unsupported if 
personality call is filtered: MISSING

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

end of thread, other threads:[~2023-06-06 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 15:30 [STATS] Auto-update patchwork for committed patches Siddhesh Poyarekar
2023-05-17 17:14 ` Samuel Thibault
2023-05-17 18:02   ` Siddhesh Poyarekar
2023-06-06 14:05 Siddhesh Poyarekar

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