From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71789 Path: news.gmane.org!not-for-mail From: Russ Allbery Newsgroups: gmane.emacs.gnus.general Subject: Re: nndebbugs Date: Sat, 25 Sep 2010 16:36:14 -0700 Organization: The Eyrie Message-ID: <87k4m99z0x.fsf@windlord.stanford.edu> References: <87r5ghwpnr.fsf@keller.adm.naquadah.org> <87lj6pwo9n.fsf@keller.adm.naquadah.org> <87zkv5y2g4.fsf@turtle.gmx.de> <878w2p7azn.fsf@mid.gehheimdienst.de> <87r5ghbfl4.fsf@windlord.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285457821 2488 80.91.229.12 (25 Sep 2010 23:37:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 23:37:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20162@lists.math.uh.edu Sun Sep 26 01:37:00 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OzeId-0004Hf-GP for ding-account@gmane.org; Sun, 26 Sep 2010 01:36:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OzeIZ-0001mI-DR; Sat, 25 Sep 2010 18:36:55 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OzeIX-0001m7-Tz for ding@lists.math.uh.edu; Sat, 25 Sep 2010 18:36:53 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OzeIT-0005zJ-NN for ding@lists.math.uh.edu; Sat, 25 Sep 2010 18:36:53 -0500 Original-Received: from smtp3.stanford.edu ([171.67.219.83] helo=smtp.stanford.edu) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OzeIS-0003cI-00 for ; Sun, 26 Sep 2010 01:36:49 +0200 Original-Received: from smtp.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 5BA3A1A0D49 for ; Sat, 25 Sep 2010 16:36:17 -0700 (PDT) Original-Received: from windlord.stanford.edu (windlord.Stanford.EDU [171.67.225.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.stanford.edu (Postfix) with ESMTPS id 15A931A0CF3 for ; Sat, 25 Sep 2010 16:36:15 -0700 (PDT) Original-Received: by windlord.stanford.edu (Postfix, from userid 1000) id C6F162F48E; Sat, 25 Sep 2010 16:36:14 -0700 (PDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 26 Sep 2010 01:29:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71789 Archived-At: Lars Magne Ingebrigtsen writes: > I think the most interesting interface would be if you gave it an URL > like: > http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=gnus > And then it creates a group based on all the bugs on that page. Hm, I wonder if there's any way to generate an "article" for each bug, which if you open it is treated like a digest of the bug discussion. Otherwise, I think the threading between bugs and inside bugs is going to make matters rather confusing. I don't know what the Emacs SOAP implementation looks like, but way faster than parsing the HTML output there to get a list of bugs would be the elisp equivalent of: #!/usr/bin/perl use SOAP::Lite; our $URL = 'http://debbugs.gnu.org/cgi/soap.cgi'; our $NAMESPACE = 'Debbugs/SOAP/1'; my $soap = SOAP::Lite->uri ($NAMESPACE)->proxy ($URL); $soap->transport->env_proxy; my $bugs = $soap->get_bugs (package => 'gnus')->result; print join ("\n", @$bugs); That SOAP call returns an array of all the bug numbers assigned to that package. You can also filter on status, of course. I just tested the above Perl code and it does the right thing with the GNU debbugs. > This means downloading the mbox file for each bug report, so for > projects with many outstanding bugs, it would be slow to hit `M-g'. If you do this as an "article" per bug, you'd only have to fetch when someone actually read that article. -- Russ Allbery (rra@stanford.edu)