Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: "Evgeny M. Zubok" <evgeny.zubok@tochka.ru>
Cc: emacs-devel@gnu.org,  ding@gnus.org
Subject: Re: debbugs.el
Date: Fri, 25 Feb 2011 11:55:59 +0100	[thread overview]
Message-ID: <87zkpkmlhc.fsf@gmx.de> (raw)
In-Reply-To: <877hcpknff.fsf@tochka.ru> (Evgeny M. Zubok's message of "Fri, 25 Feb 2011 02:44:36 +0300")

"Evgeny M. Zubok" <evgeny.zubok@tochka.ru> writes:

Hi Evgeny,

>> That was my motivation writing debbugs.el. I've also started an nnir
>> integration, but I failed badly due to missing gnus knowledge.
>
> There is debian-el package in Debian repository. It is also the suitable
> place to push debbugs.el into. debian-el has a number of useful
> features: you can file a bug with (debian-bug), fill the tags in the
> mail body, compose control messages for control@bugs.debian.org
> (debian-bts-control), download mbox with log of selected bug number,
> view this mbox in Gnus as a tree (debian-bug-get-bug-as-email), reply to
> someone.

debian-el is intended for Debian GNU/Linux based distributions. Only a
minority(?) of Emacs users use it.

>> OTOH, the debbugs SOAP interface is poor, there are only very basic
>> information one could retrieve, and there is no "activiation" function
>> (changing whatever for a bug). So it might be better, we first make a
>> prototype implementation integrating it with nnir etc, before adding it
>> to Emacs core. For this purpose, it might be sufficient to bring it to
>> elpa (or gnus) for a while.
>
> I made an attempt to create Emacs interface to Debbugs/SOAP year
> ago. I've wrote a simple SOAP client library in Emacs Lisp. By using
> this library my debbugs-mode requested for a bug list (filtered by
> different parameters: package, severity, tags, etc.) along with the
> status information for every bug. Bug reports are grouped by severity,
> sorted by bug number and displayed in outline-mode (folding/unfolding
> out of a box).
>
> One year old screenshot:
>
> http://s006.radikal.ru/i214/1001/d1/08ef5f85246e.png

That includes both frontend and backend. For better exploitation,
debbugs.el is intended to offer backend functionality only, it does not
care about any UI.

> I didn't use the SOAP to request the bug logs because Debbugs/SOAP won't
> send the attachments.

Indeed. However, an empty "attachment" attribute is returned; it might
be just a question of implementing it server side.

> When I hit RET against the bug entry, the maintainer's mbox for
> selected bug is downloaded. mbox can be opened either in Gnus or in
> RMAIL. I used the latter to be neutral to the users of different mail
> programs: Gnus, Wunderlust, etc. Any message from the log can be
> replied with your favourite mail program (Gnus in my case).

This is useful when the frontend is something related to email
display/reply. It might also have a better performance than the SOAP
based retrieval (I haven't checked). Maybe both alternatives for message
retrieval shall be offered by the backend.

> My work can be viewed as early technical preview; it has many dirty
> hacks (hardcoded XML namespaces in SOAP client library is the most
> simple example), bugs. The code is ugly, I was in hurry to make the mode
> work. That's because it's not published yet. :)

That's how I also started mid of 2009. Last year, I switched to
soap-client.el (recently added to Emacs' trunk). My code is much less
ugly now.

I've also written a frontend similar to what you have done, but it is
based on widgets instead of outline mode. Like yours, it is unfinished.

> I want to start hacking again and hope to finish it some day. :)

Let's do it together. We could merge the backend functionality into
debbugs.el, and continue to work on the different frontends. As I have
said already, I would also be interested in an nnir integration.

And I believe also, that the debbugs SOAP interface should be
improved. From my todo list:

;; * SOAP interface extensions (wishlist).
;;   - Server-side sorting.
;;   - Regexp and/or wildcards search.
;;   - Fulltext search.

Best regards, Michael.



  reply	other threads:[~2011-02-25 10:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8762sa9770.fsf@gmx.de>
     [not found] ` <87pqqibr30.fsf@stupidchicken.com>
     [not found]   ` <87mxllambw.fsf@marauder.physik.uni-ulm.de>
2011-02-24 11:33     ` debbugs.el Michael Albinus
2011-02-24 23:44       ` debbugs.el Evgeny M. Zubok
2011-02-25 10:55         ` Michael Albinus [this message]
2011-02-25 16:51           ` debbugs.el Evgeny M. Zubok
2011-03-01 10:15             ` debbugs.el Michael Albinus
2011-03-02 15:56               ` debbugs.el Evgeny M. Zubok
2011-02-25  3:37       ` debbugs.el Lars Ingebrigtsen
2011-02-25  8:17         ` debbugs.el Eli Zaretskii
2011-02-25  8:33           ` debbugs.el Michael Albinus
2011-02-25  8:54             ` debbugs.el Eli Zaretskii
2011-02-25  9:29               ` debbugs.el Miles Bader
2011-02-25  9:55                 ` debbugs.el Eli Zaretskii
2011-02-25 15:43                   ` debbugs.el Stefan Monnier
2011-02-25 15:52                     ` debbugs.el Eli Zaretskii
2011-02-25  9:59           ` debbugs.el Lars 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=87zkpkmlhc.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=evgeny.zubok@tochka.ru \
    /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).