🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.dev
Article #48

[gentoo-dev] [PATCH proj/dev2forge] codeberg: skip "Ghost" deleted/unmatched user

#48
From: 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>
Technical Details
Message-ID: <NPvGG-6jn1-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
Newsgroups: linux.gentoo.dev
Subject: [gentoo-dev] [PATCH proj/dev2forge] codeberg: skip "Ghost" deleted/unmatched user
Date: Sun, 18 Oct 2026 11:50:02 +0200
Message-ID: <NPvGG-6jn1-7@gated-at.bofh.it>
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: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yXM2wqDMBCE4VeRve7SJNgDfZXihcZJXAtGsioF8
 d2btpc/w3w7KbJA6VHtlLGJSppK2FNFfminCJa+NDnjrtbYO/vUo0OOrC+ZOQ5JF14LwuFiatu
 aOtxgqNznjCDvH/0skcZzj82FlCOo+e+6diP88vXpOD6Ztu1TjAAAAA==
X-Change-ID: 20261018-codeberg-skip-ghost-user-f5041a04f7e0
X-Mailer: b4 0.16.0
Approved: robomod@news.nic.it
Lines: 27
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Thomas Bracht Laumann Jespersen <laumann@gentoo.org>
X-Original-Date: Sun, 18 Oct 2026 11:40:17 +0200
X-Original-Message-ID: <20261018-codeberg-skip-ghost-user-v1-1-198126baff4d@gentoo.org>