[Teammetrics-discuss] Linking Metrics Together

Vipin Nair swvist at gmail.com
Tue May 22 10:09:50 UTC 2012


Hi Sukhbir,

> I personally feel that modifying the database is an overkill for this.
> For such situations (at least in Team Metrics), I have always used a
> config file. In the Team Metrics code, see
> `etc/teammetrics/commitinfo.conf'. This config files contains the
> different teams under their appropriate 'type'. Similarly, there is
> 'listinfo.conf'.

Ok, I understand.

> So, I prefer the Python code if you ask me. We just load the config
> file and get our job done.

Can we confirm this so that I can proceed with coding part?

> A sample config file for this can look like:
>
>    [teammetrics]
>    list = teammetrics-discuss
>    repository = teammetrics
>
>    [soc-coordination]
>    list = soc-coordination
>

Ah, this looks better!

> What I suggest is that you do this: say the data for teammetrics
> mailing list is requested ... you fetch the teammetrics section from
> the config file, read the 'list' value and fetch
> 'teammetrics-discuss'.

I got the idea. This is very good :) I am fine with this.


> I guess this is what you were aiming to do, right? As far as
> populating this config file is concerned, I can help you with that.

:)


-- 
Regards,
Vipin Nair
National Institute of Technology, Calicut
http://swvist.github.com



More information about the Teammetrics-discuss mailing list