Re: [Codestriker-user] Can you please add two columns on the topic?
Brought to you by:
sits
From: Gary Y. <gar...@ya...> - 2009-05-07 21:19:28
|
David, In Codestriker.pm, I added lines below to @metrics_schema. { name=>"Topic ID", description=>"Topic ID", scope=>"topic", enabled=>1, filter=>"count" }, In codestriker.conf: $metric_config = "Topic ID"; Restarted apache server: /usr/sbin/apachectl -k restart However, the "Topic ID" colomn does not show in the "viewing Topic" browswer after I created a new title. What I want is the "Topic ID" colomn shows in the "View Top" and it is auto generated whenever a topic is created. Please let me know how to achieve it. Thanks, Gary --- On Wed, 5/6/09, David Sitsky <dav...@gm...> wrote: > From: David Sitsky <dav...@gm...> > Subject: Re: Can you please add two columns on the topic? > To: "Gary Yang" <gar...@ya...> > Cc: cod...@li... > Date: Wednesday, May 6, 2009, 3:12 PM > Hi Gary, > > You should be able to accomplish this using topic > metrics. Have a > look inside codestriker.conf at the bottom, and the > metrics > definitions in Codestriker.pm. > > Cheers, > David > > On Thu, May 7, 2009 at 5:20 AM, Gary Yang <gar...@ya...> > wrote: > > > > Hi David, > > > > Can you please add two columns on the topic? One is > Title ID, another is Approved by? > > > > Here is the reason. > > I am going to develop a pre-check in trigger. The user > needs to enter the Codestriker title ID and the person’s > name who approved this topic when he/she submit the code. > The check-in fails if the title ID is not provided in the > check-in description, or the title is not approved. Please > let me know if you can add those two columns. > > > > Thanks, > > > > > > Gary > > > > > > > > > > > |