Bug#508812: Reusing python-btsutils for bts-link

Olivier Berger olivier.berger at it-sudparis.eu
Fri Dec 19 16:19:13 UTC 2008


Hi.

Some more comments :

Le mercredi 17 décembre 2008 à 14:10 +0100, Stefano Zacchiroli a écrit :

> What about attachments? I'd love to have an easy way to access what
> has been posted to bug reports as attachment, as in a lot of cases
> they represent a patch or something else useful to access.
> 

At least some meta-information about attachments may be useful. I'm
thinking about doing things like statistical analysis of threads in some
of the comments, easily collecting patches, etc.

The precise contents may not be that useful to store in memory unless
for very specific needs such as parsing of some headers as you explained
bellow.

However, there, I would expect to handle more or less these attachments
like mailing-lists messages or emails, so I hope there are already
python libs available (or mailman or other tools' code which could be
reused).

> Similarly, why you just have a fulltext? It is a fulltext of what? The
> whole buglog? That should be better accessed with some (possibly
> pre-existing in the python stdlib) mailbox-like abstraction.
> 

Sure.

In terms of ontologies, for instance, if you have a look at
http://www.ifi.uzh.ch/ddis/evo/ which includes BOM as a model for bugs,
I think they recently evolved the model so that comments are subclasses
of SIOC ontology which relates for online forum, lists and communities.

That's the kind of OO modeling that could be adopted here too : mixing
bug-specific code and mbox / mailing-lists archives specific code.

> Also, but possibly as a more long term goal, it would be really nice
> to provide some (heuristic and optional) parsing of each message in
> the bug log, especially the first one. At least for some widespread
> classes of bug report tools (reportbug and reportbug-ng for example)
> we can easily split the text, the meta-headers, the additional info,
> ...

/me agrees.

Best regards,
-- 
Olivier BERGER <olivier.berger at it-sudparis.eu>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 1024D/6B829EEC
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)




More information about the pkg-python-debian-discuss mailing list