Gnus development mailing list
 help / color / mirror / Atom feed
From: Russ Allbery <rra@stanford.edu>
To: ding@gnus.org
Subject: Re: nndebbugs
Date: Sat, 25 Sep 2010 17:33:03 -0700	[thread overview]
Message-ID: <8762xt9we8.fsf@windlord.stanford.edu> (raw)
In-Reply-To: <m3pqw1cq99.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Sun, 26 Sep 2010 02:17:22 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> 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.  :-)

Yeah, but what you get is a group that contains a discussion of every bug,
which means that you've lost the structure that associated particular
threads with particular bugs.

I don't know that it's a big deal, although I know I wouldn't want to
read, say, the bugs on debian-policy that way, since each bug often
contains multiple threads and I want to see only the threads related to
the bug that I care about when I'm working on something.

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

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
               xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <get_bugs xmlns="Debbugs/SOAP/1">
      <c-gensym3 xsi:type="xsd:string">package</c-gensym3>
      <c-gensym5 xsi:type="xsd:string">gnus</c-gensym5>
    </get_bugs>
  </soap:Body>
</soap:Envelope>

I don't know how much of that xmlns cruft is actually required as opposed
to just being default behavior.

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

Yeah, that might be easier than parsing the XML structure of the retured
SOAP array when you don't have a SOAP library available to use.

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

Didn't you just implement something sort of like that for nnimap?  :)  (I
realize that it's a bit different and you probably don't want to have to
enter something explicit to fetch the rest of the article, but it's a
similar idea.)

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

Well, it depends on what you're using the backend for.  Yeah, if you're
just keeping up with bugs, that works, but generally some mailing list is
subscribed to the bug traffic for a particular component anyway, so that's
kind of uninteresting.  I'd rather just read that traffic as a regular
mailing list, which is going to be a fair bit faster since it's coming
from my local mail server.

I see the primary use of a dedicated backend as a way to go back and work
on some previous bug, or catch up on a bunch of bug backlog that you
didn't keep in your mail for some reason, in which case I think I'd want
to work on one bug at a time.

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

It returns some stuff:

    http://wiki.debian.org/DebbugsSoapInterface

I think log_modified might be what you want.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



  parent reply	other threads:[~2010-09-26  0:33 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                           ` nndebbugs Lars Magne Ingebrigtsen
2010-09-26  0:31                             ` nndebbugs Lars Magne Ingebrigtsen
2010-09-26  0:33                             ` Russ Allbery [this message]
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=8762xt9we8.fsf@windlord.stanford.edu \
    --to=rra@stanford.edu \
    --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).