From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1E9C21580E0 for ; Sun, 01 Jun 2025 08:27:01 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 04CE6343198 for ; Sun, 01 Jun 2025 08:27:01 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6D8131104A5; Sun, 01 Jun 2025 08:26:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 8C48611027C for ; Sun, 01 Jun 2025 08:26:16 +0000 (UTC) Received: from localhost (unknown [IPv6:2600:3c00::f03c:92ff:fe12:74e1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: radhermit) by smtp.gentoo.org (Postfix) with ESMTPSA id 4C837343022 for ; Sun, 01 Jun 2025 08:26:16 +0000 (UTC) Date: Sun, 1 Jun 2025 02:26:14 -0600 From: Tim Harder To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] verifying commits via server-side git pre-receive hook Message-ID: Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <3936b0a2-eb06-49af-8d94-37794ec5b391@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.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; format=flowed Content-Disposition: inline In-Reply-To: <3936b0a2-eb06-49af-8d94-37794ec5b391@gentoo.org> X-Archives-Salt: 6e875ca3-785f-4856-8a62-024d1d038157 X-Archives-Hash: 38845975a06578ea492437554450fbdc On 2025-05-30 Fri 09:23, Luca Barbato wrote: >It would be very nice to have it run over the PRs we are already >receiving on github... This requires different functionality than what is done for pre-receive hook support more in line with what the pkgcruft github action[1] already provides. Of course, if it was integrated with pkgcruft-git it could be more efficient to support features such as scan diffing, i.e. only showing new results introduced by a PR, which the action already provides using cache files. On the other hand, the core functionality of pkgcraft and pkgcruft are probably efficient enough to run directly on github CI for that task in a reasonable amount of time if limited to the target packages assuming the reports snapshot required for diffing is requested from an external pkgcruft-git service. In either case, before adding to the ever-growing mountain of potential work, I'd prefer to see if the base git hook functionality is useful in any fashion or what else it needs to become so. Thanks, Tim [1]: https://github.com/pkgcraft/pkgcruft-action