Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: nndebbugs
Date: Sun, 26 Sep 2010 02:17:22 +0200	[thread overview]
Message-ID: <m3pqw1cq99.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87k4m99z0x.fsf@windlord.stanford.edu>

Russ Allbery <rra@stanford.edu> writes:

> 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.

If the messages have References and stuff, it should work as a normal
mail group.  If not, it'll still gather threads based on Subject...  so
it shouldn't be more confusing than a mailing list from 1992.  :-)

> 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.

Right.  I don't think Emacs has SOAP support at all.  Could you have
your perl script dump out the XML structure, and perhaps Gnus could just
send that over "as is" to the server?

On the other hand, scraping the HTML to find the bug numbers is really
easy.  All the links are like

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50

so it just has to get the HTML, look for "bug=[0-9]+", and there you
have it...  

> If you do this as an "article" per bug, you'd only have to fetch when
> someone actually read that article.

Gnus backends don't really support "deferred" fetching of stuff like
that...

I think one-group-per-component makes sense.  I mean, the important
thing is that you can read all new comments on all the bugs you're
interested in, isn't it?  If you have to take an extra step to inspect
each bug, it's kinda ... boring...

However, I've done some benchmarking, and if there's 100 bugs in your
set, then entering the "full" group will take 45 seconds on the Emacs
tracker.  That's way too slow to be useful.

Does the SOAP interface by any chance return more metadata -- like, for
instance, how many replies there have been to each bug, or the last time
it was updated, or anything else that can be used by nndebbugs to say
"no, I don't need to download that one, since I've already done so once
already".

Alternatively again, nndebbugs could return a list of groups -- one per
bug entry.  Then updating any single one would be fast.  But there would
be a whole lot of groups, and that's not nice, either...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2010-09-26  0:17 UTC|newest]

Thread overview: 182+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-25 19:58 Any juicy outstanding Gnus bugs? Lars Magne Ingebrigtsen
2010-09-25 20:10 ` Julien Danjou
2010-09-25 20:27   ` Lars Magne Ingebrigtsen
2010-09-25 20:40     ` Julien Danjou
2010-09-25 20:44       ` Lars Magne Ingebrigtsen
2010-09-25 20:48         ` Sven Joachim
2010-09-25 21:26           ` Lars Magne Ingebrigtsen
2010-09-25 21:46             ` Frank Schmitt
2010-09-25 22:12               ` Lars Magne Ingebrigtsen
2010-09-25 22:20                 ` Any juicy outstanding Gnus bugs Steinar Bang
2010-09-25 22:58                   ` Lars Magne Ingebrigtsen
2010-09-25 22:53                 ` Any juicy outstanding Gnus bugs? Russ Allbery
2010-09-25 23:00                   ` Lars Magne Ingebrigtsen
2010-09-25 23:12                     ` Russ Allbery
2010-09-25 23:13                     ` Lars Magne Ingebrigtsen
2010-09-25 23:29                       ` nndebbugs (was: Re: Any juicy outstanding Gnus bugs?) Lars Magne Ingebrigtsen
2010-09-25 23:36                         ` nndebbugs Russ Allbery
2010-09-26  0:17                           ` Lars Magne Ingebrigtsen [this message]
2010-09-26  0:31                             ` nndebbugs Lars Magne Ingebrigtsen
2010-09-26  0:33                             ` nndebbugs Russ Allbery
2010-09-26  0:41                               ` nndebbugs Lars Magne Ingebrigtsen
2010-09-26  1:04                                 ` nndebbugs Lars Magne Ingebrigtsen
2010-09-27  6:25                                   ` nndebbugs Reiner Steib
2010-09-26  9:01                                 ` nndebbugs Michael Albinus
2010-09-26  7:55                           ` nndebbugs Steinar Bang
2010-09-26  8:39                             ` nndebbugs Russ Allbery
2010-09-26 12:11                               ` nndebbugs Lars Magne Ingebrigtsen
2010-09-27 14:56           ` Any juicy outstanding Gnus bugs? Tom Tromey
2010-09-25 20:42 ` Frank Schmitt
2010-09-25 21:29   ` Lars Magne Ingebrigtsen
2010-09-25 21:14 ` Julien Danjou
2010-09-25 21:17   ` Julien Danjou
2010-09-25 21:26     ` Lars Magne Ingebrigtsen
2010-09-26  2:08 ` Nils Ackermann
2010-09-26  2:16   ` Lars Magne Ingebrigtsen
2010-09-26  2:38     ` Nils Ackermann
2010-09-26 12:56       ` Lars Magne Ingebrigtsen
2010-09-26 18:28         ` Nils Ackermann
2010-09-26 18:50           ` Lars Magne Ingebrigtsen
2010-09-27 16:38             ` Nils Ackermann
2010-09-27 18:39               ` Lars Magne Ingebrigtsen
2010-09-28  4:24                 ` Nils Ackermann
2010-09-29 14:33                   ` Lars Magne Ingebrigtsen
2010-09-26  8:32 ` Sivaram Neelakantan
2010-09-26 11:59   ` Lars Magne Ingebrigtsen
2010-09-26 10:16 ` Tassilo Horn
2010-09-26 12:06   ` Lars Magne Ingebrigtsen
2010-09-26 17:06     ` Tassilo Horn
2010-09-26 13:56 ` Richard Riley
2010-09-26 14:10   ` Lars Magne Ingebrigtsen
2010-09-26 15:43     ` Steinar Bang
2010-09-26 15:54       ` Lars Magne Ingebrigtsen
2010-09-26 17:10 ` Julien Danjou
2010-09-26 17:14   ` Lars Magne Ingebrigtsen
2010-09-26 21:24     ` James Cloos
2010-09-26 21:31       ` Lars Magne Ingebrigtsen
2010-09-27 19:13       ` Lars Magne Ingebrigtsen
2010-09-26 17:23   ` Charles Philip Chan
2010-09-26 22:23   ` Andreas Schwab
2010-09-26 18:41 ` Steinar Bang
2010-09-26 18:55   ` Lars Magne Ingebrigtsen
2010-09-27 14:30     ` Andrew Cohen
2010-09-27 18:40       ` Lars Magne Ingebrigtsen
2010-09-27 18:45         ` Andrew Cohen
2010-10-07 22:06           ` Andrew Cohen
2010-10-07 22:36             ` Lars Magne Ingebrigtsen
2010-10-10 13:23               ` Andrew Cohen
2010-10-10 13:36                 ` Lars Magne Ingebrigtsen
2010-10-10 15:26                 ` Andreas Schwab
2010-10-08  9:41             ` Steinar Bang
2010-09-26 18:57   ` Andrew Cohen
2010-09-26 20:46   ` Ted Zlatanov
2010-09-27  7:35     ` Steinar Bang
2010-09-27 18:15       ` Ted Zlatanov
2010-09-27 18:37         ` Lars Magne Ingebrigtsen
2010-09-27 18:48           ` Ted Zlatanov
2010-09-27 19:02             ` Lars Magne Ingebrigtsen
2010-09-26 19:04 ` Gnus loads too much when entering group before letting the agent fetch (was: Any juicy outstanding Gnus bugs?) Tassilo Horn
2010-09-26 19:07   ` Gnus loads too much when entering group before letting the agent fetch Lars Magne Ingebrigtsen
2010-09-26 19:29     ` Tassilo Horn
2010-09-26 19:38       ` Lars Magne Ingebrigtsen
2010-09-26 20:26         ` Tassilo Horn
2010-09-26 20:43           ` Tassilo Horn
2010-09-26 21:04             ` Lars Magne Ingebrigtsen
2010-09-26 19:56 ` gnus-group-jump-to-group completion bug Dan Christensen
2010-09-26 20:39   ` Lars Magne Ingebrigtsen
2010-09-26 23:04     ` Dan Christensen
2010-09-27 17:37       ` Lars Magne Ingebrigtsen
2010-09-27 18:25         ` Dan Christensen
2010-09-27 18:39           ` Julien Danjou
2010-09-27 18:42             ` Lars Magne Ingebrigtsen
2010-09-26 19:58 ` gnus-summary-insert-new-articles in an nnimap group doesn't work Dan Christensen
2010-09-26 21:01   ` Lars Magne Ingebrigtsen
2010-09-26 23:10     ` Dan Christensen
2010-09-27 17:36       ` Lars Magne Ingebrigtsen
2010-09-27 18:37         ` Dan Christensen
2010-09-27 18:59           ` Lars Magne Ingebrigtsen
2010-09-27 19:08             ` Dan Christensen
2010-09-27 19:49               ` Lars Magne Ingebrigtsen
2010-09-28  1:19                 ` Dan Christensen
2010-09-26 20:04 ` Any juicy outstanding Gnus bugs? Robert Pluim
2010-09-26 20:13   ` Julien Danjou
2010-09-26 20:27     ` Robert Pluim
2010-09-26 20:34       ` Dan Christensen
2010-09-26 20:37       ` Lars Magne Ingebrigtsen
2010-09-26 20:43         ` Dan Christensen
2010-09-26 20:41       ` Julien Danjou
2010-09-26 21:09         ` Robert Pluim
2010-09-26 21:14           ` Lars Magne Ingebrigtsen
2010-09-26 21:23             ` Robert Pluim
2010-09-26 20:10 ` nnmairix not working again Dan Christensen
2010-09-27 18:35   ` Lars Magne Ingebrigtsen
2010-09-27 18:58     ` David Engster
2010-09-27 20:27       ` Dan Christensen
2010-09-26 20:43 ` Any juicy outstanding Gnus bugs? Ted Zlatanov
2010-09-26 20:46   ` Lars Magne Ingebrigtsen
2010-09-26 21:16     ` Richard Riley
2010-09-27  7:40       ` Steinar Bang
2010-09-27 18:41       ` Lars Magne Ingebrigtsen
2010-09-27 18:45         ` Steinar Bang
2010-09-27 19:04           ` Lars Magne Ingebrigtsen
2010-09-28 19:11     ` nnimap splitting (was: Any juicy outstanding Gnus bugs?) Ted Zlatanov
2010-09-29 15:24       ` nnimap splitting Lars Magne Ingebrigtsen
2010-09-29 18:31         ` Ted Zlatanov
2010-09-29 19:06           ` Lars Magne Ingebrigtsen
2010-09-29 19:56             ` Ted Zlatanov
2010-09-29 21:28               ` Andreas Schwab
2010-09-29 21:36               ` Lars Magne Ingebrigtsen
2010-09-29 18:44     ` Any juicy outstanding Gnus bugs? Ted Zlatanov
2010-09-29 19:09       ` Lars Magne Ingebrigtsen
2010-09-29 20:01         ` Ted Zlatanov
2010-09-29 21:34           ` Andreas Schwab
2010-09-30 15:02             ` Ted Zlatanov
2010-09-30 16:48               ` Lars Magne Ingebrigtsen
2010-09-29 21:53           ` Lars Magne Ingebrigtsen
2010-09-30 15:13             ` Ted Zlatanov
2010-09-30 16:52               ` Lars Magne Ingebrigtsen
2010-09-30 17:34                 ` Ted Zlatanov
2010-09-30 17:38                   ` Lars Magne Ingebrigtsen
2010-09-30 17:56                     ` Ted Zlatanov
2010-09-30 18:54                       ` Lars Magne Ingebrigtsen
2010-09-30 19:09                   ` Dan Christensen
2010-09-30 19:13                     ` Ted Zlatanov
2010-09-30 19:42                       ` Lars Magne Ingebrigtsen
2010-09-30 20:01                       ` Ted Zlatanov
2010-09-30 20:10                         ` Lars Magne Ingebrigtsen
2010-09-30 21:34                           ` Ted Zlatanov
2010-10-01 19:12                             ` Lars Magne Ingebrigtsen
2010-10-01 19:45                               ` Ted Zlatanov
2010-10-01 20:25                                 ` Lars Magne Ingebrigtsen
2010-10-01 20:52                                   ` Ted Zlatanov
2010-10-02 18:47                   ` Gijs Hillenius
2010-10-03 11:46                     ` Gijs Hillenius
2010-10-03 12:29                     ` Ted Zlatanov
2010-10-01  0:30               ` nnimap issues: split error and initially missing unread articles (was: Any juicy outstanding Gnus bugs?) Ted Zlatanov
2010-10-01 16:52                 ` nnimap issues: split error and initially missing unread articles Lars Magne Ingebrigtsen
2010-10-01 17:19                   ` Ted Zlatanov
2010-10-01 18:57                     ` Lars Magne Ingebrigtsen
2010-10-01 19:47                       ` Ted Zlatanov
2010-10-01 19:55                       ` Ted Zlatanov
2010-10-01 20:12                         ` Lars Magne Ingebrigtsen
2010-10-01 20:58                           ` Ted Zlatanov
2010-10-01 19:59                       ` Ted Zlatanov
2010-10-01 20:13                         ` Lars Magne Ingebrigtsen
2010-10-01 20:58                           ` Ted Zlatanov
2010-10-01 21:12                             ` Lars Magne Ingebrigtsen
2010-10-08 17:37                               ` Ted Zlatanov
2010-09-27  5:55 ` Any juicy outstanding Gnus bugs? Richard Riley
2010-09-27 18:40   ` Lars Magne Ingebrigtsen
2010-09-28  7:17     ` Gijs Hillenius
2010-09-29 14:37       ` Lars Magne Ingebrigtsen
2010-10-01  7:43     ` Richard Riley
2010-10-01 16:39       ` Lars Magne Ingebrigtsen
2010-10-02 11:39         ` Richard Riley
2010-09-28 14:10 ` Richard Riley
2010-09-29 14:38   ` Lars Magne Ingebrigtsen
2010-09-30 16:49     ` Richard Riley
2010-09-30 16:54       ` Lars Magne Ingebrigtsen
2010-10-02 16:35 ` Richard Riley
2010-10-02 17:22   ` Lars Magne Ingebrigtsen
2010-10-03  6:49     ` Richard Riley
2010-10-03 12:34       ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3pqw1cq99.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).