From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EJiiDyAR9GLu8AAAbAwnHQ (envelope-from ) for ; Wed, 10 Aug 2022 22:12:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0IO7DiAR9GJhbwAAG6o9tA (envelope-from ) for ; Wed, 10 Aug 2022 22:12:16 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E4CEF19EB9 for ; Wed, 10 Aug 2022 22:12:14 +0200 (CEST) Received: from localhost ([::1]:59192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLs3p-0006oO-Fx for larch@yhetil.org; Wed, 10 Aug 2022 16:12:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLs3e-0006o9-30 for guix-patches@gnu.org; Wed, 10 Aug 2022 16:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLs3d-0003xb-Pv for guix-patches@gnu.org; Wed, 10 Aug 2022 16:12:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLs3d-0006Fp-Jm for guix-patches@gnu.org; Wed, 10 Aug 2022 16:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56987] [PATCH] etc: guix-debbugs.el: new file. Resent-From: jbranso@dismail.de Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Aug 2022 20:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56987 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Michael Albinus" Cc: 56987@debbugs.gnu.org Received: via spool by 56987-submit@debbugs.gnu.org id=B56987.166016226823977 (code B ref 56987); Wed, 10 Aug 2022 20:12:01 +0000 Received: (at 56987) by debbugs.gnu.org; 10 Aug 2022 20:11:08 +0000 Received: from localhost ([127.0.0.1]:50835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLs2l-0006Ee-Uy for submit@debbugs.gnu.org; Wed, 10 Aug 2022 16:11:08 -0400 Received: from mx1.dismail.de ([78.46.223.134]:33317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLs2i-0006E6-Uv for 56987@debbugs.gnu.org; Wed, 10 Aug 2022 16:11:06 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 1429e901; Wed, 10 Aug 2022 22:10:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:cc:in-reply-to:references; s=20190914; bh=8rA6wmNjKka/VlAbPO2vB4lOXcApyv1W++vp73YJfqM=; b=VscPWbblh2Pn CQuHaWvjEpTmhX2u0ZejaUS+SR+aCedA7+KhOIbKBYkicHoKlE5qfWENa0FUQF1/ VYnBuTgRqsVc/D6h2gU62VvMojWjZBTJOZN1bPh2FjqC6wa7hEUb2iJYGHxZvshm Rd8xVnjaXrMM+ZgMkGWzm9mtFAkmL6/PEPitDhj3F5Pa90zMOEHpIvkaGx8mo48H K3l/1PuSDgFOTwHoAoPN7OfChUdMkiIOso/2uaafoA63xGEqq8Xs+dn8/uos6aaK Mni0rZ4cwJTCaFJGDq8ygZEIPuZcHCn8OcvgXGKLupH9UaV1oZHfpo1MyB8gx2Ei 1mMjSajY/A== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 0d6140a2; Wed, 10 Aug 2022 22:10:57 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 97b824b0; Wed, 10 Aug 2022 22:10:56 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 0b1bfffe (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 10 Aug 2022 22:10:56 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 10 Aug 2022 20:10:56 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.16.0a Message-ID: <5e171ff2c6243ed0808cf15d0bbfa1e0@dismail.de> In-Reply-To: <87sfm4dp4r.fsf@gmx.de> References: <87sfm4dp4r.fsf@gmx.de> <20220805012310.5999-1-jbranso@dismail.de> 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jbranso@dismail.de X-ACL-Warn: , jbranso--- via Guix-patches From: jbranso--- via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660162335; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dd6oFa7kobyh2fqjgxLK6HkB/Cn/UUJZoLQFi56j3o8=; b=jMbOwLw0qmrf2bPPO+u6HCxvenzBBQ5gEACRl8UzNp2ph4HarRhTgFaRWkJ1Rf6BTxoVm3 MHFPcA7e5rwJn1SCVdgIuNEwtqS9EtjgIs6I6SZy4junhyvCEeo6oNibc3SB68cEC00gle SZXB9XmoYqxkF5tAl4czlHpqFbSguyw8kYgSTWeZhTCdK2oI1ileGbzaImW15lyRBg/2vE 6KO2d6R/eZjPRB9uU2VoW+0lRh0eyRYJMMkxnlGFGJI7T7sZHvi0Hv63w/gASkeMSmVzVA owOUgmC3USghiOo+8xeCW01r5mWlrXFHYcjcxAULeG7l+Afetv5/sNIVrK/K4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660162335; a=rsa-sha256; cv=none; b=G7nGdBqT2JCue60vUyBFiANfB0pRgnLPGpBZUPNcBiL+6CVM5flroAXUroCuOuOSe0J7rZ yK+cVqVCoNmtEEitD8CQkIpZYr4xIk/LrufVbhOiPK4aNBJioAWkK0cRzv1+lPOHjIWnNb 5odut1janoM9aHzo6yHqQikFr3C5z/KkgSjVzBhsiCgO3zg70dmJy27gzkTBLu7aJ4tq55 M3Hj2MIyZ2RI7VPyLsJFLbJpubvB371wAqd3wY7QhVGqMOomuS4T2pNYLUaRjJY2jBy1x3 RoYFzSmTLDxOAEadw14kkwfokm7M+D3mMQf5qnxowqJjklwEU+PAzOM4x0BR0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=VscPWbbl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=VscPWbbl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E4CEF19EB9 X-Spam-Score: -2.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: UlUAsU222w1e Sorry for top posting... The emacs debbugs developers are considering to merge this patch to debbu= gs directly. I am willing to submit copyright assignment to GNU/FSF. It looks like th= e FSF has a webpage that may make this process easier: https://sfconservancy.org/assignment/ Should I use that web page to submit my potential copyright assignment? Now that we are all on the same page:=20=20 August=2010, 2022 12:45 PM, "Michael Albinus" wr= ote: > Joshua Branson writes: >=20 >=20Hi Joshua, >=20 >=20just some comments after short reading of the patch. >=20 >>=20@example >> @kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{= RET} n y >> @end example >=20 >=20Alternatively, a user could set debbugs-gnu-default-packages to '("gu= ix" "guix-patches") > Then it won't be necessary to enter the package name(s) again and again= . I think that I have tried that in my config, and I could not get it to wo= rk. I will try again and get back to you, and update the guix documentation a= ccordingly. >=20 >>=20+;; Copyright (C) 2022 Joshua Branson >=20 >=20This would change to FSF, if bundled with the debbugs package. Will change >=20 >>=20+;; Package-Requires: ((emacs "24.3")) >=20 >=20debbugs.el says >=20 >=20;; Package-Requires: ((emacs "26.1") (soap-client "3.1.5")) >=20 >=20So I guess you might lift up the required Emacs version. Will do. >=20 >>=20+;; TODO make this by default only search open bugs AND NOT closed b= ugs. >> +(defun debbugs-guix-search () >> + (interactive) >> + (debbugs-gnu-search (read-string "Search String: ") nil nil '("guix"= "guix-patches") nil)) >=20 >=20As said the other message, it should be >=20 >=20(debbugs-gnu-search (read-string "Search String: ") '((pending . "pen= ding")) nil '("guix" > "guix-patches")) Will change >=20 >>=20+;; The debbugs database runs once a day. So after I send a bug repo= rt >> +;; and run this command, my latest bug report might not be here. No w= orries, >> +;; just wait one day, and it will be there. :) >=20 >=20To be more precise, the Hyperestraier search engine on debbugs.gnu.or= g > makes new indices after that period. New submitted bugs are in the > debbugs database shortly after sending the message. It is just > debbugs-gnu-search, which needs these indices. Will change >=20 >>=20+;; I have noticed that this function works 80% of the time. But aft= er I close bug reports, >> +;; it seems to stop working for about 1/2 hour. I'm guessing the serv= er's database >> +;; resets itself after every time that I close a bug report... >=20 >=20debbugs.el uses a cache, which flushes the value after an hour. See t= he > variable debbugs-cache-expiry. Maybe, we could mark a bug as done in the cache when one closes the bug v= ia debbugs. That may be a little above my paygrade though. >=20 >=20There is the command debbugs-gnu-rescan, bound to key "g", which resc= ans > an existing tabulated list. With a prefix argument ("C-u g"), the cache > is ignored, and the data are retrieved directly from debbugs.gnu.el. >=20 >=20However, please be cautious with invalidating the cache. Every action= on > the debbugs.gnu.org server causes a workload there, and we don't want t= o > overuse it. >=20 >=20Best regards, Michael. I will resubmit this with the goal of merging directly into debbugs.el. And I am off tomorrow, so I should have some time to do so!