MetricsGrimoire / MailingListStats

Mailing List Stats is a command line based tool used to analyze mboxes
http://metricsgrimoire.github.com/MailingListStats/
GNU General Public License v2.0
38 stars 24 forks source link

Field In-Reply-To is not stored #8

Closed jgbarah closed 12 years ago

jgbarah commented 12 years ago

It seems MLStats is not storing the In-Reply-To field in the database. Any reason for that? I guess we could easily parse it, if present, which would allow for several kinds of studies, such as those related to threading.

[Thanks to Dave Neary for the idea]

gpoo commented 12 years ago

It does. In-Reply-To is stored in the column is_response_of of the table messages. Why do we use that name for the column? I guess it is an Israel-ism :-)

I have built relations with threads in order to get the social network in mailing lists, so I know it works.

According to git blame pymlstats/analyzer.py it exists since 2007-03-15 17:51:13 +0000.

iht commented 12 years ago

The name was my choice indeed :). The name is "is_response_of" in the "messages" table. It should be the second column in the messages table. See:

https://github.com/MetricsGrimoire/MailingListStats/blob/master/pymlstats/analyzer.py#L84 https://github.com/MetricsGrimoire/MailingListStats/blob/master/pymlstats/database.py#L355

If it is not being stored, that's a bug.

jgbarah commented 12 years ago

ok, now I understand why I didn't found it ;-)

Thanks!

Jesus.

On Fri, 2012-10-26 at 00:49 -0700, Germán Poo-Caamaño wrote:

It does. In-Reply-To is stored in the column in_response_of of the table messages. Why do we use that column name? I guess is an Israel-ism :-)

I have built relation with threads in order to get the social network in mailing lists.

— Reply to this email directly or view it on GitHub.

http://identi.ca/jgbarah http://twitter.com/jgbarah

jgbarah commented 12 years ago

On Fri, 2012-10-26 at 00:56 -0700, Israel Herraiz wrote:

The name was my choice indeed :). The name is "is_response_of" in the "messages" table. It should be the second column in the messages table. See:

https://github.com/MetricsGrimoire/MailingListStats/blob/master/pymlstats/analyzer.py#L84 https://github.com/MetricsGrimoire/MailingListStats/blob/master/pymlstats/database.py#L355

If it is not being stored, that's a bug.

No, it seems to be stored correctly. I just was looking for a field "in_reply_to" ;-)

Saludos,

Jesus.

http://identi.ca/jgbarah http://twitter.com/jgbarah

dneary commented 12 years ago

My mistake! Thanks Jesus, Germàn, Israel.

gpoo commented 12 years ago

I am closing this issue. If you find that the value is not stored, please feel free to reopen it.