Article View: linux.gentoo.dev
Article #58Re: [gentoo-dev] [PATCH proj/dev2forge] codeberg: skip "Ghost" deleted/unmatched user
From: Sam James
Date: Sat, 24 Oct 2026 06:20
Date: Sat, 24 Oct 2026 06:20
50 lines
2882 bytes
2882 bytes
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Thomas Bracht Laumann Jespersen <laumann@gentoo.org> writes:
> Signed-off-by: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
Sure.
> ---
> codeberg/update-pr-submitter-db.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/codeberg/update-pr-submitter-db.py b/codeberg/update-pr-subm=
itter-db.py
> index 8befa46..554dbe1 100755
> --- a/codeberg/update-pr-submitter-db.py
> +++ b/codeberg/update-pr-submitter-db.py
> @@ -28,6 +28,9 @@ def main(proxied_maints_json=3D"proxied-maints.json"):
> print(f"PR #{pr['number']:04d}", end=3D"")
>=20=20
> pr_user =3D pr["user"]["login"]
> + # skip special Codeberg usenames
> + if pr_user =3D=3D "Ghost":
> + continue
> if pr_user not in maints.values():
> commits =3D cb.commits(pr["number"])
> if len(commits) =3D=3D 0:
>
> ---
> base-commit: c70b85baa7443735e66f266ae58aae1783c62fd8
> change-id: 20261018-codeberg-skip-ghost-user-f5041a04f7e0
>
> Best regards,
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmrcTSMbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkMg9
AQCZgt9pGbZGb5Zeduge5BxJaJRbsOWYe86wygd789B07AD8CHqSan9BI7NmFrRs
B/7tAH9mekQiwIkQKZxPkD7SNg8=
=bDvB
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID:
<NRDgK-7xRX-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodReferences:
<NPvGG-6jn1-7@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Sam James <sam@gentoo.org> Newsgroups: linux.gentoo.dev Subject: Re: [gentoo-dev] [PATCH proj/dev2forge] codeberg: skip "Ghost" deleted/unmatched user Date: Sat, 24 Oct 2026 08:20:02 +0200 Message-ID: <NRDgK-7xRX-1@gated-at.bofh.it> References: <NPvGG-6jn1-7@gated-at.bofh.it> Organization: Gentoo User-Agent: mu4e 1.14.4; emacs 32.0.50 List-ID: Gentoo Linux mail <gentoo-dev.gentoo.org> Reply-To: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Approved: robomod@news.nic.it Lines: 50 Sender: robomod@news.nic.it X-Original-Cc: Thomas Bracht Laumann Jespersen <laumann@gentoo.org> X-Original-Date: Sat, 24 Oct 2026 07:16:02 +0100 X-Original-Message-ID: <87se1vd3od.fsf@gentoo.org> X-Original-References: <20261018-codeberg-skip-ghost-user-v1-1-198126baff4d@gentoo.org>