🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.gentoo.dev
2 messages
2 total messages Started by Thomas Bracht Laumann Jespersen Sun, 18 Oct 2026 09:50
[gentoo-dev] [PATCH proj/dev2forge] codeberg: skip "Ghost" deleted/unmatched user
#48
Author: Thomas Bracht Laumann Jespersen
Date: Sun, 18 Oct 2026 09:50
27 lines
2334 bytes
Signed-off-by: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
---
 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-submitter-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="proxied-maints.json"):
             print(f"PR #{pr['number']:04d}", end="")
 
             pr_user = pr["user"]["login"]
+            # skip special Codeberg usenames
+            if pr_user == "Ghost":
+                continue
             if pr_user not in maints.values():
                 commits = cb.commits(pr["number"])
                 if len(commits) == 0:

---
base-commit: c70b85baa7443735e66f266ae58aae1783c62fd8
change-id: 20261018-codeberg-skip-ghost-user-f5041a04f7e0

Best regards,
--  
Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
Re: [gentoo-dev] [PATCH proj/dev2forge] codeberg: skip "Ghost" deleted/unmatched user
#58
Author: Sam James
Date: Sat, 24 Oct 2026 06:20
50 lines
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-----
--=-=-=--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads