Re: [Codestriker-user] Updating the set of comment state metrics
Brought to you by:
sits
|
From: Mark K. <Mar...@mo...> - 2006-06-14 17:10:33
|
I'm interested in what you added, Vlad. I'd also like the fix you did, David :). I have a request from a user to add Major, Minor, and Trivial states to comments a la Fagan Process. David Sitsky wrote: > Hi Vlad, > > Yes, this was a bug. With 1.9.1, new topics would be able to use your > new comment_state_metrics definitions, but not existings ones. > > I have just committed the fix into CVS. It was a minor change in > Comment.pm, which I'll email to you. In general, with changing > comment_state_metrics, there is no need to re-run install.pl, it should > all just work automatically. > > Cheers, > David > > Vysotsky, Vladimir wrote: >> After using Codesrtiker for a while, I've decided to edit >> codestriker.conf and add >> one new entry in $comment_state_metrics. The UI picked the change right >> away, but wouldn't let me change the value of the new new metric for any >> comment. >> The Topic Information page showed zeroes for all categories of the new >> metric. >> >> Running install.pl didn't help. After some poking around in the the code I >> was able to fix the problem by running the following statement in MySQL: >> >> insert into commentstatemetric >> select distinct id, <new metric name>, <new metric default value> from >> commentstatemetric; >> >> Is there a better way to update the set of comment state metrics once >> the database has been initialized? (I'm using 1.9.1) Would it make sense >> to put this logic in install.pl? >> >> -- Vlad > > > > _______________________________________________ > Codestriker-user mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codestriker-user -- Mark Keisler Motorola Open Source Technologies 480-732-2495 |