From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E33C11F91E3 for ; Sun, 7 Jun 2026 17:57:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780855021; cv=none; b=hid4PrnbdthWpvBYQbaEYeu+x3i53EEJ2j/fjzLqjxIdfGf3d7U5ByFgjB6J032PnoUc9IIy9edv5I6+Uu3UL4iEvNNl63zBPy0CYW+UmEOZGXEu3a2AcbMWpO9qQv771E2N0zYguLNk9FFRW7y7KFXKVkw4z7Hvaz3bRa+Xtcc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780855021; c=relaxed/simple; bh=Xe07v6ng5JB0tmb+CVG/wro87x5cejNiBTpe5r84luc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jJJekAsAadN/6I5IIE9UjwiyaZm+q2171gQpxTdTcRb9u23iOLbrOWTH/D3i00Rh2E8uPzgXnv1INp9rYPqwkYyuVEbyN1ui7PyifQJgvmEBV6EhQoyXJ6j4Pvh/nTlaDWj1aI/GE9hu3XZQBh6LjeeYgAV6+MHS0Dsi9UDiShc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MaT5RYUU; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MaT5RYUU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D21081F00898; Sun, 7 Jun 2026 17:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780855020; bh=eaJzPG7BhypdGMIGsiQCDpVnLpyHkpTrhJafPcPbZmA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=MaT5RYUUb38qjt13TDK8+jBtd+CRI1xxJf+qv6ogXCs7foqYvFfm7JAqtX7smqacz G7f+6KXUAw9lV+hzrWkCrJp07Bq/pTS/pqp3sdebjoz/OIJSHiuQvmIW8SbjMsUAv0 Sw6po7/vM2BGuL+j8kg2p1C5jQ2RXplCBRqBnNyH90nIbRjpTbqjALSXMOWvwbv+BG h88SyBT44rV6CTuvuTRqtP1XJdBvBbRa+JXRkLnc9q5NVILOIijN2nFlDnhQ0+8KEJ MqyQ3opwzPI1VW6rw9sXzuk9toSIzHjTk7XZYAWvXBibcClak906NeeN3IggjmP12l EelGMmQDeO5nA== Date: Sun, 7 Jun 2026 19:56:56 +0200 From: Mauro Carvalho Chehab To: Matthieu Baerts Cc: Derek Barbosa , Roman Gushchin , Konstantin Ryabitsev , Jason Gunthorpe , Steven Rostedt , users@kernel.org, Linux Media Mailing List Subject: Re: Linking Patchwork with Sashiko? Message-ID: <20260607195656.02788791@foz.lan> In-Reply-To: <20260604085201.177ad537@foz.lan> References: <20260530103004.6fe2ffa7@foz.lan> <7E971C76-0568-43EF-9EE7-C8DB78C45CA1@linux.dev> <20260530200017.0fe7f685@foz.lan> <20260530204945.22ac92c6@foz.lan> <20260530205351.19847fc8@foz.lan> <7ia4tsrkn1k4.fsf@castle.c.googlers.com> <20260602223936.27def657@foz.lan> <20260604085201.177ad537@foz.lan> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 4 Jun 2026 08:52:01 +0200 Mauro Carvalho Chehab wrote: > On Wed, 3 Jun 2026 09:50:06 +1000 > Matthieu Baerts wrote: > > > Hi Mauro, Derek, Roman, > > > > On 03/06/2026 06:39, Mauro Carvalho Chehab wrote: > > > On Tue, 02 Jun 2026 20:13:15 +0000 > > > Roman Gushchin wrote: > > >> Derek Barbosa writes: > > >>> On Sat, May 30, 2026 at 08:53:51PM +0200, Mauro Carvalho Chehab wrote: > > > > (...) > > > > >>> - pw_tools is a workaround solution to get/set status on patchwork via bot-mail > > >>> parsing. pw tokens also have broad permission scope. > > >>> > > >>> which that leaves us with two "methods" of integration: > > >>> > > >>> 1. The Sashiko daemon calls the pw_tools script directly to update the status. > > >>> 2. Sashiko sends a single-per-patch-email with parseable "status" to a mailing > > >>> list, where some running daemon will pickup the mail. > > >> > > >> This feels a bit hacky. > > > > > > The alternative that would be acceptable, at least on media, is if > > > one would add support on patchwork to have a separate permission just > > > for checks update. > > > > Indeed. It looks like there is an old feature request about that: > > > > https://github.com/getpatchwork/patchwork/issues/14 > > > > Linked to Mauro's email from Dec 2015 :) > > If it is OK to have a global CI permission, I think this patch > would do the trick (currently untested): Added both global and per-project permissions to add CI checks: https://github.com/getpatchwork/patchwork/pull/653 Tested on a docker container created on the top of current upstream, with the database imported from linuxtv.org and migrated to the new permissions model. Regards, Mauro Thanks, Mauro