From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12.migadu.com with LMTPS id HQYcLWVJhGR1EgEATFOONw (envelope-from ) for ; Sat, 10 Jun 2023 11:59:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0KNVLGVJhGQFDwEA9RJhRA (envelope-from ) for ; Sat, 10 Jun 2023 11:59:01 +0200 Received: from mail1.fsfe.org (mail1.fsfe.org [217.69.89.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3E5C0FD1B for ; Sat, 10 Jun 2023 11:59:01 +0200 (CEST) From: jlicht@fsfe.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1686391140; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UpVGS19EJ37J7132P3G32685wNJYj8OXcTJvYymnTew=; b=t1vrUM/jHPoj/eDPMeqPl0k4kK9WXp27hTsvg2vxnWtvh+Kn9X22x6KWzdGUB5J+gJV4k2 BAkJFpWY5tH226kPmTd7MvuZPQKw0YDN1JtDp4cByilLEN08ImGL0QgKOnIDZ5lFYCDpj7 RCgK7LkMuNfsBTlArvjwxBk5RyKSCSA= To: piem@inbox.kyleam.com Cc: Jelle Licht Subject: [PATCH v3 1/5] piem: Add :gnu-package keyword to piem-inboxes Date: Sat, 10 Jun 2023 11:58:54 +0200 Message-Id: <20230610095858.26982-2-jlicht@fsfe.org> In-Reply-To: <20230610095858.26982-1-jlicht@fsfe.org> References: <20230608165926.12586-1-jlicht@fsfe.org> <20230610095858.26982-1-jlicht@fsfe.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1686391141; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=UpVGS19EJ37J7132P3G32685wNJYj8OXcTJvYymnTew=; b=aeMVHyvcw/deALV1FmAAhabT57gVDwtigLpnecvDR0n6TyZmcgDcL6raCzVbdXkCwYnfGw +haQlOJDaN2P5aNl2PrSRPZIZUU/sv2k8+kMZppl2HEYg7Yh69bbBamSoGtBfxBY9TkcrN RvZvxLkKorZ6tnrd4t8uBSWFts2Pv3aYB7ARqtbCKirNvrxDDinpsPeL+t4WDMXy9ZJCb1 S1QBcMAN3bOAkmvTVe+m/zwWJS9jZD0TqQsE1yYFB+3be/JRCLVol/AArr4VXCV79+xJpL 1KSL6TqhZ1qfPUKlehdjANV+ierztQ48YjN/BAW6K+jhFTnobodnLTlwFG6L6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021100501 header.b="t1vrUM/j"; dmarc=pass (policy=none) header.from=fsfe.org; spf=pass (aspmx1.migadu.com: domain of jlicht@fsfe.org designates 217.69.89.151 as permitted sender) smtp.mailfrom=jlicht@fsfe.org ARC-Seal: i=1; s=key1; d=kyleam.com; t=1686391141; a=rsa-sha256; cv=none; b=M7SRHsO/ZmOa/BdENpBbrVzd+YdlrTtwvq/ydykYY36zke/wtok1Ge+Mtieu49Q5telXLA 0vlBRo6BPVo+oeU6vWYuHK3c1FjA7nnD4a7ggGIxI3wcDrl/FsysfbfGm1669K9NOyCbKS iQbeLhObjrPhNczsfKyEGJY3DZAZ2fM7V9eemmBC4IY72NZa9+7H7aiMgxKlJNozukRHty phmGwy9Z61+vChCuwaro+13XuwZLx6uemfcFGI5Cy2NzgNwPONxW4kEW2i46QGTd0YDf2X IVMogXl8yUwvL/mTDB/eHR8ydLyLK7sPusn8jebxXG0Q7UnfNqyPGnjO/rpKdQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.18 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021100501 header.b="t1vrUM/j"; dmarc=pass (policy=none) header.from=fsfe.org; spf=pass (aspmx1.migadu.com: domain of jlicht@fsfe.org designates 217.69.89.151 as permitted sender) smtp.mailfrom=jlicht@fsfe.org X-Migadu-Queue-Id: 3E5C0FD1B X-Spam-Score: -6.18 X-TUID: bhJNDuA/4XLC From: Jelle Licht With the `:gnu-package` keyword, users can configure a string to match against the X-GNU-PR-PACKAGE email header for the GNU Bug Tracker. --- Documentation/piem.texi | 6 ++++++ piem.el | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/piem.texi b/Documentation/piem.texi index 26962a4..99185d3 100644 --- a/Documentation/piem.texi +++ b/Documentation/piem.texi @@ -168,6 +168,12 @@ repository (e.g., if the inbox receives patches for multiple projects, or if you use a few dedicated Git worktrees for different types of patches), set @code{:coderepo} to a list of locations. +@cindex issue tracking +@cindex Debbugs, issue tracking system +When using the Debbugs instance at @uref{https://bugs.gnu.org} to +retrieve messages, an inbox can mapped to each message by setting +@code{:gnu-package} for an inbox. + @findex piem-merged-inboxes @vindex piem-get-inboxes-from-config If you mirror some inboxes locally (e.g., for fast local access or for diff --git a/piem.el b/piem.el index 568e91b..cf78d9b 100644 --- a/piem.el +++ b/piem.el @@ -83,6 +83,8 @@ list that supports the following properties: A URL hosting HTTPS archives. :maildir A Maildir directory to inject messages into. + :gnu-package + A GNU Bug Tracker label to match with for the inbox. Here's an example for the public-inbox project itself: @@ -393,7 +395,9 @@ files." (rx string-start "publicinbox." (group (one-or-more not-newline)) "." (group - (or "address" "coderepo" "listid" "maildir" "url")) + (or "address" "coderepo" + "listid" "maildir" + "url" "gnu-package")) string-end) key) (let* ((inbox-name (match-string 1 key)) -- 2.40.1