Counting LOC matching a regexp

16 messages Options
Embed this post
Permalink
phretor

Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
Hello List,
        I am new to StatSVN and new to this list.

Before diving into the code, I was wandering how easy it would be to  
add support for a new statistic. In particular, I'd need to count LOC  
that match a given regexp.

I am going to use this feature in the context of a research project.

Basically, we are trying to give a rough estimation of the amount of  
code (modified between subsequent releases) that involve certain  
functions specified in terms of regexps.

I would call this "restricted LOC", or something like that.  
Suggestions are welcome :)

Thanks in advance for any hint. Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
Jason Kealey-2

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
If you wanted to take StatSVN and change the meaning of a LOC (to match that regexp), then I think it should be fairly easy to change the locations that do look the line counting. 

Take a look at statsvn\src\net\sf\statsvn\util\SvnDiffUtils, the parseDiff function.  

For your research project, it should be fairly easy to perform these line counts. During your testing, keep in mind that StatSVN keeps a LOC cache. 

However, if you ever want to contribute something back to StatSVN in terms of something that would be reusable for the masses, that's another story (a lot more complex). 

Thanks,
---
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations


On Sun, Mar 15, 2009 at 11:46 PM, Maggi Federico <[hidden email]> wrote:
Hello List,
       I am new to StatSVN and new to this list.

Before diving into the code, I was wandering how easy it would be to
add support for a new statistic. In particular, I'd need to count LOC
that match a given regexp.

I am going to use this feature in the context of a research project.

Basically, we are trying to give a rough estimation of the amount of
code (modified between subsequent releases) that involve certain
functions specified in terms of regexps.

I would call this "restricted LOC", or something like that.
Suggestions are welcome :)

Thanks in advance for any hint. Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
phretor

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
Jason,
        thanks for your quick reply.

On Mar 15, 2009, at 9:20 PM, Jason Kealey wrote:

> If you wanted to take StatSVN and change the meaning of a LOC (to  
> match that regexp), then I think it should be fairly easy to change  
> the locations that do look the line counting.
>
> Take a look at statsvn\src\net\sf\statsvn\util\SvnDiffUtils, the  
> parseDiff function.

This is a good news, I'll play with it a bit.

> For your research project, it should be fairly easy to perform these  
> line counts. During your testing, keep in mind that StatSVN keeps a  
> LOC cache.

I know this is a lame question but, may I avoid this? If not, what's  
the recommended way to clean that cache?

> However, if you ever want to contribute something back to StatSVN in  
> terms of something that would be reusable for the masses, that's  
> another story (a lot more complex).

Researcher's life is a valley of deadlines, but I promise I will do it  
if will have time.

Thanks! Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
Benoit Xhenseval-2

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
In reply to this post by phretor
If we were to contemplate different 'algorithms' for LOC calculation, I think that we should do some refactoring to move away from static classes like StatSVNUtils and define some interfaces + injection.

So, it'd be a fairly big job and definitely would need to be co-ordinated.

Furthermore, it is likely that such algo ought to be in StatCVS too.

Finally, as Jason says, we do not recall all differences every time, the cache will keep the data (+loc -loc etc) for a given version. We do not keep the actual text difference between 2 releases.

So either you'd need to re-request all diff every time or not be able to change your expressions once you have started using statsvn (it would only be requesting text diff from the last revision you have in the cache).

Good luck

Benoit
------------------------------
IMPORTANT NOTICE
This communication contains information that is considered confidential and may also be privileged . It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original.

-----Original Message-----
From: Jason Kealey <[hidden email]>

Date: Mon, 16 Mar 2009 00:20:08
To: Maggi Federico<[hidden email]>
Cc: <[hidden email]>
Subject: Re: [Statsvn-developers] Counting LOC matching a regexp


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
phretor

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
Benoit,

On Mar 16, 2009, at 12:58 AM, Benoit Xhenseval wrote:

> So either you'd need to re-request all diff every time or not be  
> able to change your expressions once you have started using statsvn  
> (it would only be requesting text diff from the last revision you  
> have in the cache).

couldn't I just delete the cache?

Out of curiosity (and maybe slightly out of topic), have you ever  
tried StatSVN on WordPress' SVN? For some reason, it keeps trying to  
query http://svn.automattic.com instead of http://svn.automattic.com/wordpress 
, resulting in *tons* of errors like the one that follows:

IOException: Unable to obtain diff: java.io.IOException: svn: PROPFIND  
request failed on '/wordpress/!svn/bc/6895'svn: PROPFIND of '/
wordpress/!svn/bc/6895': could not connect to server (http://svn.automattic.com 
)

Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
Nashadelic

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
In reply to this post by phretor
Hey Maggi,

StatSvn allows you to export all your data as a single XML file (see the xml switch), in it you will find every commit as an xml tag with it's commit date/time. You then need to run an xquery or xpath selection over it to get all the relavent commits. It's not exactly a regex but it's pretty darned close.

On Mon, Mar 16, 2009 at 8:46 AM, Maggi Federico <[hidden email]> wrote:
Hello List,
       I am new to StatSVN and new to this list.

Before diving into the code, I was wandering how easy it would be to
add support for a new statistic. In particular, I'd need to count LOC
that match a given regexp.

I am going to use this feature in the context of a research project.

Basically, we are trying to give a rough estimation of the amount of
code (modified between subsequent releases) that involve certain
functions specified in terms of regexps.

I would call this "restricted LOC", or something like that.
Suggestions are welcome :)

Thanks in advance for any hint. Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
phretor

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
Hello Muhammed,
        thanks for the suggestion.

On Mar 16, 2009, at 1:36 AM, Muhammed Nasrullah wrote:

> StatSvn allows you to export all your data as a single XML file (see  
> the xml switch), in it you will find every commit as an xml tag with  
> it's commit date/time. You then need to run an xquery or xpath  
> selection over it to get all the relavent commits.

I circumvented the problem by customizing the parseDiff method :) with  
a helper "isRelevant()" which does nothing but matching a long regexp.

Thanks for your comments. Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
Jason Kealey-2

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
In reply to this post by phretor
Yes, you can delete the cache. I was stating this out so that you would not run into any issues with previously computed results when changing the code for your purposes. 

No, I have not executed it on the Wordpress SVN site and it would be interesting to investigate the config settings they have set that makes our commands fail. If you run StatSVN in debug mode, I think you can get the full SVN command that we are trying to execute. (with the wrong path for propfind)

---
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations


On Mon, Mar 16, 2009 at 4:02 AM, Maggi Federico <[hidden email]> wrote:
Benoit,

On Mar 16, 2009, at 12:58 AM, Benoit Xhenseval wrote:

> So either you'd need to re-request all diff every time or not be
> able to change your expressions once you have started using statsvn
> (it would only be requesting text diff from the last revision you
> have in the cache).

couldn't I just delete the cache?

Out of curiosity (and maybe slightly out of topic), have you ever
tried StatSVN on WordPress' SVN? For some reason, it keeps trying to
query http://svn.automattic.com instead of http://svn.automattic.com/wordpress
, resulting in *tons* of errors like the one that follows:

IOException: Unable to obtain diff: java.io.IOException: svn: PROPFIND
request failed on '/wordpress/!svn/bc/6895'svn: PROPFIND of '/
wordpress/!svn/bc/6895': could not connect to server (http://svn.automattic.com
)

Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
Benoit Xhenseval-2

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
In reply to this post by Benoit Xhenseval-2
Hi Frederico,

Yes you could delete the cache, may be we should even offer that option...

But it is a very very intense process to rebuild a cache. I have not tried wordpress but I imagine that it is a rather large repository...

We did some demos against large projects in the past (eg some Apache projects) and that landed us in trouble as we were hammering their servers quite badly). Jason fixed the issue (or at least improved it) but we'd still need to do one request per revision and get the textual diff for each revision.

To give you an idea, sometimes, Sourceforge takes 60 seconds or more per request... That's why we can do concurrent requests but still... It is an intensive task, webmaster/svn admin could get cheesed off if you were to do it many times...

Best,

Benoit

------------------------------
IMPORTANT NOTICE
This communication contains information that is considered confidential and may also be privileged . It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original.

-----Original Message-----
From: Maggi Federico <[hidden email]>

Date: Mon, 16 Mar 2009 01:02:42
To: Statsvn<[hidden email]>
Subject: Re: [Statsvn-developers] Counting LOC matching a regexp


Benoit,

On Mar 16, 2009, at 12:58 AM, Benoit Xhenseval wrote:

> So either you'd need to re-request all diff every time or not be
> able to change your expressions once you have started using statsvn
> (it would only be requesting text diff from the last revision you
> have in the cache).

couldn't I just delete the cache?

Out of curiosity (and maybe slightly out of topic), have you ever
tried StatSVN on WordPress' SVN? For some reason, it keeps trying to
query http://svn.automattic.com instead of http://svn.automattic.com/wordpress
, resulting in *tons* of errors like the one that follows:

IOException: Unable to obtain diff: java.io.IOException: svn: PROPFIND
request failed on '/wordpress/!svn/bc/6895'svn: PROPFIND of '/
wordpress/!svn/bc/6895': could not connect to server (http://svn.automattic.com
)

Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
Benoit Xhenseval-2

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jason Kealey-2
I'd suggest this:
- Frederico, tell us where you think we should introduce an interface so that you could plugin a new LOC algorithm. This is likely to require an injection mechanism and removing lots of static calls, probably home-made if we do not want any dependency (Guice / Spring, spring would d be OTT)

- I think we should improve the caching mechanism to store the results of more than 1 algorithm (each algo would have its own name 'loc' being the basic one we have.

- may be allow more than 1 algorithm collecting the data at the same time? That way we could keep LOC but also some other algo... But we'd need to think how is the model built (based on StatCVS) and whether we should improve it to have a 'type' for the stats... Or simply launch say statsvn with a given loc mode...

What do you think? Food for thoughts...

B
------------------------------
IMPORTANT NOTICE
This communication contains information that is considered confidential and may also be privileged . It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original.

-----Original Message-----
From: Maggi Federico <[hidden email]>

Date: Sun, 15 Mar 2009 21:58:25
To: <[hidden email]>
Subject: Re: [Statsvn-developers] Counting LOC matching a regexp


Jason,
        thanks for your quick reply.

On Mar 15, 2009, at 9:20 PM, Jason Kealey wrote:

> If you wanted to take StatSVN and change the meaning of a LOC (to
> match that regexp), then I think it should be fairly easy to change
> the locations that do look the line counting.
>
> Take a look at statsvn\src\net\sf\statsvn\util\SvnDiffUtils, the
> parseDiff function.

This is a good news, I'll play with it a bit.

> For your research project, it should be fairly easy to perform these
> line counts. During your testing, keep in mind that StatSVN keeps a
> LOC cache.

I know this is a lame question but, may I avoid this? If not, what's
the recommended way to clean that cache?

> However, if you ever want to contribute something back to StatSVN in
> terms of something that would be reusable for the masses, that's
> another story (a lot more complex).

Researcher's life is a valley of deadlines, but I promise I will do it
if will have time.

Thanks! Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
phretor

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
Benoit,

On Mar 16, 2009, at 5:33 AM, Benoit Xhenseval wrote:

> - Frederico, tell us where you think we should introduce an  
> interface so that you could plugin a new LOC algorithm. This is  
> likely to require an injection mechanism and removing lots of static  
> calls, probably home-made if we do not want any dependency (Guice /  
> Spring, spring would d be OTT)


It's hard to tell, I know almost nothing about the internals of  
StatSVN but modifying the SvnDiffUtils.java:parseDiff method was so  
easy that I had my customized version in in 5 minutes.

Thus, I might suggest that point as a good pluggint point. As for the  
interface, why don't you just load a class/jar at runtime? You offer a  
default implementation that the brave users can override by providing  
their own compiled class.

Just thoughts.

Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
Benoit Xhenseval-2

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
In reply to this post by Benoit Xhenseval-2
Absolutely but in order to allow different implementations to be 'plugged in', you'd need an interface for the caller class/classes.

I'll think about the interface...

Cheers
Benoit
------------------------------
IMPORTANT NOTICE
This communication contains information that is considered confidential and may also be privileged . It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original.

-----Original Message-----
From: Maggi Federico <[hidden email]>

Date: Mon, 16 Mar 2009 09:41:58
To: Statsvn<[hidden email]>
Subject: Re: [Statsvn-developers] Counting LOC matching a regexp


Benoit,

On Mar 16, 2009, at 5:33 AM, Benoit Xhenseval wrote:

> - Frederico, tell us where you think we should introduce an
> interface so that you could plugin a new LOC algorithm. This is
> likely to require an injection mechanism and removing lots of static
> calls, probably home-made if we do not want any dependency (Guice /
> Spring, spring would d be OTT)


It's hard to tell, I know almost nothing about the internals of
StatSVN but modifying the SvnDiffUtils.java:parseDiff method was so
easy that I had my customized version in in 5 minutes.

Thus, I might suggest that point as a good pluggint point. As for the
interface, why don't you just load a class/jar at runtime? You offer a
default implementation that the brave users can override by providing
their own compiled class.

Just thoughts.

Best regards,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
phretor

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jason Kealey-2
Jason,
        I ask the maintainers.

On Mar 16, 2009, at 3:48 AM, Jason Kealey wrote:

> No, I have not executed it on the Wordpress SVN site and it would be  
> interesting to investigate the config settings they have set that  
> makes our commands fail. If you run StatSVN in debug mode, I think  
> you can get the full SVN command that we are trying to execute.  
> (with the wrong path for propfind)

They believe their settings are correct, even if I doubt this.  
However, do you think there is a temporary workaround to this issue?

Thanks. Cheers,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
Jason Kealey-2

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
I ran statsvn for a couple minutes on that repository without any problems. Therefore, I assume you were blocked by their firewall and should enable throttling if you want to query their repository. (as Benoit suggested)


---
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations


On Mon, Mar 16, 2009 at 4:47 PM, Maggi Federico <[hidden email]> wrote:
Jason,
       I ask the maintainers.

On Mar 16, 2009, at 3:48 AM, Jason Kealey wrote:

> No, I have not executed it on the Wordpress SVN site and it would be
> interesting to investigate the config settings they have set that
> makes our commands fail. If you run StatSVN in debug mode, I think
> you can get the full SVN command that we are trying to execute.
> (with the wrong path for propfind)

They believe their settings are correct, even if I doubt this.
However, do you think there is a temporary workaround to this issue?

Thanks. Cheers,

-- Federico

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
phretor

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
Hello,

On Mar 16, 2009, at 7:31 PM, Jason Kealey wrote:

> I ran statsvn for a couple minutes on that repository without any  
> problems. Therefore, I assume you were blocked by their firewall and  
> should enable throttling if you want to query their repository. (as  
> Benoit suggested)

You mean using less threads and a concurrency threshold >> 4000 ?

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers
Jason Kealey-2

Re: Counting LOC matching a regexp

Reply Threaded More More options
Print post
Permalink
I ran with the default settings (whatever they are) and wasn't blocked... but didn't let it finish as it would have taken too long.

---
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations


On Tue, Mar 17, 2009 at 5:14 PM, Maggi Federico <[hidden email]> wrote:
Hello,

On Mar 16, 2009, at 7:31 PM, Jason Kealey wrote:

> I ran statsvn for a couple minutes on that repository without any
> problems. Therefore, I assume you were blocked by their firewall and
> should enable throttling if you want to query their repository. (as
> Benoit suggested)

You mean using less threads and a concurrency threshold >> 4000 ?

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Statsvn-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-developers