From patchwork Fri May 23 19:52:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 3030 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C257827BC49; Fri, 23 May 2025 20:54:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ADACF27BC4A for ; Fri, 23 May 2025 20:54:38 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uIYSz-0007tB-C4; Fri, 23 May 2025 15:54:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uIYSx-0007t0-0X for guix-patches@gnu.org; Fri, 23 May 2025 15:54:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uIYSw-00048o-Nh for guix-patches@gnu.org; Fri, 23 May 2025 15:54:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=RkIkMugLqwZzxkL/131Ip6OG3nt29z1d4PcLQo6G+OY=; b=RnvYax41TtZZO71cBvt8Yvw2tPkODeR6Vg4yTli/PTs9Cv3uFjMQsQBk3DQ/Rp+CVdsSXcHQgAzcVxqBYvTrtwfgbgRBUuoSQOkqp0rCtiVO1T4t3YEaaZ0zaT+nIRI4VluhpN5sTCIe9ZKhsY80WJNJ7OepzxKsZKSc8rJXYPhOxdQ8lC1wmx7T9Jy+A435pEU/VHj9PHKkQSywvrqga2xkLsIU9YSzCNOx8Cz8dFIlnd9M9POfyCd2LnxvlIihBWaWcpTwKIs7uSlkep4gzJDcvs1qgv9w6uNrJnnX//l/bpq4rAZSdgws1swn2sLow0qBnAo6MhZOSxr4C6PQ9w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uIYSw-0000l6-An for guix-patches@gnu.org; Fri, 23 May 2025 15:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78568] [PATCH 0/5] Synchronize team definitions with Codeberg Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 May 2025 19:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78568 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78568@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17480300192842 (code B ref -1); Fri, 23 May 2025 19:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 May 2025 19:53:39 +0000 Received: from localhost ([127.0.0.1]:51019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIYSY-0000jl-Sa for submit@debbugs.gnu.org; Fri, 23 May 2025 15:53:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54178) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIYSV-0000jI-HS for submit@debbugs.gnu.org; Fri, 23 May 2025 15:53:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uIYSM-0007rU-JH for guix-patches@gnu.org; Fri, 23 May 2025 15:53:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uIYSK-00046u-Om; Fri, 23 May 2025 15:53:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=RkIkMugLqwZzxkL/131Ip6OG3nt29z1d4PcLQo6G+OY=; b=BArRZIF/DDR8Gl y04ybsYpjx1/sy2Sr9+yhgLdxRvGxagUMaj2pLtf3EdWPYIcosUmjREr9kMTk+ugUzFQ1ZurThG3Q 9oODbY5RPvgdpfzGCV2+g2HmLJxiNeKaREB/hvdFR3n17CmfhJkoJf3HI82yUmnoqezqa+n87xOh6 5mhktzeaE1WBiMOkyPa8wLGdGdt42maSUcktH4kz29p0qV1q7va97o6B1Fs0/EsIxpGaaVDCYViFi Y/61oguDiR1HXxHKgvumAgX3jyI4725CNtdntq3pg8dj2leuOQ9fI/1zmB0dzRTmeZkrXdLtL5qJ8 WXd3pN1rTGMf++kT1blw==; From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Fri, 23 May 2025 21:52:39 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello Guix, As a followup to , this patch series adds a ‘sync-codeberg-teams’ command that pushes team definitions to Codeberg (name, description, and members). Currently it creates teams with read-only repository access such that being a team member does not equate to being a committer (as is currently the case). Synchronization works by deleting the team from Codeberg if it already exists, and recreating it. This is brute force but it appears to work well (nothing is lost and list of deletions/creations does not show up in the activity log; there’s also no rate limit apparently.) You can see the result here (you need to be logged in): https://codeberg.org/org/guix/teams That’s 42 teams. Coincidence? Feedback welcome! Ludo’. PS: ‘define-forgejo-request’ & co. could be used as the basis of a separate Guile library of Forgejo bindings. Ludovic Courtès (5): teams: Add ‘codeowners’ command in help message. teams: Use suitable team identifiers for Codeberg. teams: Add missing team descriptions. teams: Add Codeberg accounts to records. teams: Add ‘sync-codeberg-teams’ action. etc/teams.scm | 367 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 331 insertions(+), 36 deletions(-) base-commit: 8dff81313876a54519ce17e9fda64d4310e2dd5c