From: Steffen P. <ste...@gm...> - 2005-03-20 19:21:49
|
Hi, I have added a new comman line parameter named -tags. It takes a regular expression as its argument that specifies the tags to include in the loc charts. Here a two examples: -tags '.*' matches all tags -tags '^v\d_.*' matches all tags that start with a 'v' followed by a number and an underscore This page has a complete description of Sun's regexp syntax: http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html . If the -tags parameter is omitted no tags will be displayed. Steffen -- Steffen Pingel - ste...@gm... - http://steffenpingel.de |
From: Richard C. <ri...@cy...> - 2005-03-20 22:11:06
|
Hi Steffen, Am 20.03.2005 um 20:21 schrieb Steffen Pingel: > I have added a new comman line parameter named -tags. It takes a > regular > expression as its argument that specifies the tags to include in the > loc > charts. Here a two examples: Great! I just tried it and it works like a charm. > -tags '.*' matches all tags Maybe there should be an easier way to use this? -tags all or just -tags without a regex? > If the -tags parameter is omitted no tags will be displayed. Yeah, this is a good default. Cheers, Richard |
From: Steffen P. <ste...@gm...> - 2005-03-20 23:09:22
|
Hi, > Maybe there should be an easier way to use this? [...] > -tags > > without a regex? Yes, I agree, that would be the best way to go. Unfortunatelly the command line parser does not yet support optional arguments. Steffen -- Steffen Pingel - ste...@gm... - http://steffenpingel.de |
From: Jukka U. <juk...@dn...> - 2005-03-20 22:47:48
|
Steffen Pingel kirjoitti: > Hi, > > I have added a new comman line parameter named -tags. It takes a regular > expression as its argument that specifies the tags to include in the loc > charts. Here a two examples: > > -tags '.*' matches all tags > -tags '^v\d_.*' matches all tags that start with a 'v' followed > by a number and an underscore > > This page has a complete description of Sun's regexp syntax: > http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html . > > If the -tags parameter is omitted no tags will be displayed. > > Steffen > Hi, Cool, but where is the code? I just browsed sourcefor statcvs cvs- repository, but i didn't see anything new? - Jukka - |
From: Richard C. <ri...@cy...> - 2005-03-20 22:53:36
|
Am 20.03.2005 um 23:51 schrieb Jukka Uusisalo: > Steffen Pingel kirjoitti: >> Hi, >> I have added a new comman line parameter named -tags. It takes a >> regular expression as its argument that specifies the tags to include >> in the loc charts. Here a two examples: >> -tags '.*' matches all tags >> -tags '^v\d_.*' matches all tags that start with a 'v' followed >> by a number and an underscore >> This page has a complete description of Sun's regexp syntax: >> http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html >> . >> If the -tags parameter is omitted no tags will be displayed. >> Steffen > > Hi, > > Cool, but where is the code? I just browsed sourcefor statcvs cvs- > repository, but i didn't see anything new? SourceForge's anonymous CVS often lags a few hours behind the actual repository. Quite annoying. Richard > > - Jukka - > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Statcvs-users mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/statcvs-users > |
From: Steffen P. <ste...@gm...> - 2005-03-20 23:04:15
Attachments:
statcvs.diff
|
Hi, > Cool, but where is the code? I just browsed sourcefor statcvs cvs- > repository, but i didn't see anything new? I guess it will take a few hours until the changes become visible in viewcvs and the anonymous cvs. The last time I checked, SourceForge ran the synchronization every five hours. I have attached a patch that contains the changes. Steffen -- Steffen Pingel - ste...@gm... - http://steffenpingel.de |
From: Jukka U. <juk...@dn...> - 2005-03-21 20:30:10
Attachments:
ant-task.diff
|
Richard Cyganiak wrote: > Hi Steffen, > > Am 20.03.2005 um 20:21 schrieb Steffen Pingel: > >> I have added a new comman line parameter named -tags. It takes a regular >> expression as its argument that specifies the tags to include in the loc >> charts. Here a two examples: > > > Great! I just tried it and it works like a charm. > Hi, I also tried that in my build server and windows box and it works fine. Here is also attached diff for support tags attribute in statcvs ant task too. >> -tags '.*' matches all tags > > > Maybe there should be an easier way to use this? > > -tags all > > or just > > -tags > > without a regex? > These are good ways both but i can live with '.*'. But how about show tags also file count graph and loc by module graphs? - Jukka - >> If the -tags parameter is omitted no tags will be displayed. > > > Yeah, this is a good default. > > Cheers, > Richard > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Statcvs-users mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/statcvs-users > > |
From: Richard C. <ri...@cy...> - 2005-03-23 21:35:46
|
Hi Jukka, Am 21.03.2005 um 21:34 schrieb Jukka Uusisalo: > Here is also attached diff for support > tags attribute in statcvs ant task too. Thanks! Committed to CVS. > But how about show tags also file count graph and loc by module graphs? I await your patch ;-) By the way, I have a dumb question: How do I apply such a diff output automatically to a file? Something with the patch command I believe, but I couldn't get it to work. Richard > Index: StatCvsTask.java > =================================================================== > RCS file: > /cvsroot/statcvs/statcvs/src/net/sf/statcvs/ant/StatCvsTask.java,v > retrieving revision 1.11 > diff -r1.11 StatCvsTask.java > 52a53 >> private String tags; > 117a119,121 >> if (tags != null) { >> ConfigurationOptions.setSymbolicNamesPattern(this.tags); >> } > 200a205,212 >> /** >> * Specifies regular expression to include tag to lines >> * of code graph. >> * @param tags regular expression to included tags names. >> */ >> public void setTags(String tags) { >> this.tags = tags; >> } |
From: Jukka U. <juk...@dn...> - 2005-03-24 14:16:55
|
Richard Cyganiak wrote: > Hi Jukka, > > Am 21.03.2005 um 21:34 schrieb Jukka Uusisalo: > >> Here is also attached diff for support >> tags attribute in statcvs ant task too. > > > Thanks! Committed to CVS. > >> But how about show tags also file count graph and loc by module graphs? > > > I await your patch ;-) > Let's see, what can i do. :) > By the way, I have a dumb question: How do I apply such a diff output > automatically to a file? Something with the patch command I believe, but > I couldn't get it to work. > I have also a dumb answer :) I just use eclipse and apply patch functionality but i am sure there is better way to do that. Maybe you can add guide how-to-contribute-statcvs to statcvs web site, so we can contribute way what is the most easiest for you. - Jukka - > Richard > > > >> Index: StatCvsTask.java >> =================================================================== >> RCS file: >> /cvsroot/statcvs/statcvs/src/net/sf/statcvs/ant/StatCvsTask.java,v >> retrieving revision 1.11 >> diff -r1.11 StatCvsTask.java >> 52a53 >> >>> private String tags; >> >> 117a119,121 >> >>> if (tags != null) { >>> ConfigurationOptions.setSymbolicNamesPattern(this.tags); >>> } >> >> 200a205,212 >> >>> /** >>> * Specifies regular expression to include tag to lines >>> * of code graph. >>> * @param tags regular expression to included tags names. >>> */ >>> public void setTags(String tags) { >>> this.tags = tags; >>> } > > > > > ------------------------------------------------------- > This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 > Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows > Embedded(r) & Windows Mobile(tm) platforms, applications & content. > Register > by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click > _______________________________________________ > Statcvs-users mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/statcvs-users > > |
From: Brian G. P. <br...@br...> - 2005-03-24 14:34:59
|
On Wednesday 23 March 2005 03:35 pm, Richard Cyganiak wrote: > By the way, I have a dumb question: How do I apply such a diff output > automatically to a file? Something with the patch command I believe, > but I couldn't get it to work. if your diff file is named 'tagspatch.diff' you would do: patch < tagspatch.diff to apply the patch. Generally, this works best when the diff is against only a small number of files, and if the diff is a 'unitified' diff. diff -u3 origfile changedfile >> filename.patch The -u3 parameter to diff is very important, because it creates a 'unified' diff with several lines of context. This allows the patch program to find where to insert the changed lines, even if the file has changed slightly since the patch was generated. Regards, - Brian |
From: Brian G. P. <br...@br...> - 2005-03-28 13:44:29
|
On Sunday 20 March 2005 01:21 pm, Steffen Pingel wrote: > I have added a new comman line parameter named -tags. It takes a regular > expression as its argument that specifies the tags to include in the loc > charts. Here a two examples: Thanks for the much needed feature! Here are some examples from two of the open source projects that I am associated with: http://www.braverock.com/gpg/statcvs/loc.html http://www.explorerfunds.com/dev/xrmsstats/authors.html I think this makes StatCVS even more useful for tracking the history of a project. Thanks again for the great software! StatCVS really helps me as both a developer and a manager to keep track of what's going on in a project. Regards, - Brian |