Using of SVNKit?

18 messages Options
Embed this post
Permalink
stepand76

Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
Hi *,

first of all I must say that I'm happy user od StatSVN. Thank you for providing this tool fo free.

I have only one issue: We run StatSVN on web server. StatSVN uses working copy of a repository to generate XML log file. It require to have a working copy (source code) stored on server (need checkout before start StatSVN). It is not secure and it is slow.

What about to use SVNKit instead of checkout repository?

What do you think?

Thank you
Jason Kealey-2

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
It would be possible to implement StatSVN without requiring a local checked-out copy. However, one would end up doing numerous "svn cat" to count lines and it would be very slow. (This is regardless of the use of SVNkit or not). It would be nice to see someone implement this as this is something that annoys lots of people! 

For your information, someone on the list once attempted to prototype an svnkit implementation but it was never finalized. That task is still up for grabs for anyone who would like to contribute to StatSVN (and it is not really a big job, from what I recall).

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


On Tue, Apr 21, 2009 at 9:30 AM, stepand76 <[hidden email]> wrote:

Hi *,

first of all I must say that I'm happy user od StatSVN. Thank you for
providing this tool fo free.

I have only one issue: We run StatSVN on web server. StatSVN uses working
copy of a repository to generate XML log file. It require to have a working
copy (source code) stored on server (need checkout before start StatSVN). It
is not secure and it is slow.

What about to use SVNKit instead of checkout repository?

What do you think?

Thank you

--
View this message in context: http://n2.nabble.com/Using-of-SVNKit--tp2669995p2669995.html
Sent from the StatSVN Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
filipecorreia

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
On 4/21/09, Jason Kealey <[hidden email]> wrote:
> It would be possible to implement StatSVN without requiring a local
> checked-out copy.

svnplot seems to do this: http://code.google.com/p/svnplot/
I'm not sure how it was implemented though.

Cheers,
Filipe

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
BenoitX

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Blimey.... I just had a look at the svnplot samples:
http://sites.google.com/site/nitinbhide/svnplot/svnplotonrietveld

errr... let's say that it is 'quite' inspired by the type of statistics that StatCVS/StatSVN have been doing... including Loc and Churn.

I guess that it is a compliment.

I like the Tag cloud word though, I think it is very cool even if a bit old-web2.0... :-)

I might have a look at that...

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.



From: Filipe Correia <[hidden email]>
To: Jason Kealey <[hidden email]>
Cc: stepand76 <[hidden email]>; [hidden email]
Sent: Tuesday, April 21, 2009 6:03:02 PM
Subject: Re: [Statsvn-users] Using of SVNKit?

On 4/21/09, Jason Kealey <[hidden email]> wrote:
> It would be possible to implement StatSVN without requiring a local
> checked-out copy.

svnplot seems to do this: http://code.google.com/p/svnplot/
I'm not sure how it was implemented though.

Cheers,
Filipe

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
stepand76

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
So is there any chance of possibility to run SvnStat without using of "svn co" in the future?
stepand76

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jason Kealey-2
Jason Kealey-2 wrote:
For your information, someone on the list once attempted to prototype an
svnkit implementation but it was never finalized. That task is still up for
grabs for anyone who would like to contribute to StatSVN (and it is not
really a big job, from what I recall).
Is there some details?
Jason Kealey-2

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
In reply to this post by stepand76
There is a chance, if someone volunteers to implement the feature. 

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


On Wed, Apr 22, 2009 at 4:58 AM, stepand76 <[hidden email]> wrote:

So is there any chance of possibility to run SvnStat without using of "svn
co" in the future?
--
View this message in context: http://n2.nabble.com/Using-of-SVNKit--tp2669995p2674991.html
Sent from the StatSVN Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Yogeshh

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
In reply to this post by stepand76
Hi All,
  I have implemented svnkit for statsvn  and is working fine. If anyone wannts details, I can provide you code.


stepand76 wrote:
Jason Kealey-2 wrote:
For your information, someone on the list once attempted to prototype an
svnkit implementation but it was never finalized. That task is still up for
grabs for anyone who would like to contribute to StatSVN (and it is not
really a big job, from what I recall).
Is there some details?
stepand76

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
Great! I'm very interested! Please send me it. Thank you!

Yogeshh wrote:
Hi All,
  I have implemented svnkit for statsvn  and is working fine. If anyone wannts details, I can provide you code.
Jason Kealey-2

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Yogeshh
Please send in a patch for our review. 

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


On Tue, Jul 14, 2009 at 7:28 AM, Yogeshh <[hidden email]> wrote:

Hi All,
 I have implemented svnkit for statsvn  and is working fine. If anyone
wannts details, I can provide you code.



stepand76 wrote:
>
>
> Jason Kealey-2 wrote:
>>
>> For your information, someone on the list once attempted to prototype an
>> svnkit implementation but it was never finalized. That task is still up
>> for
>> grabs for anyone who would like to contribute to StatSVN (and it is not
>> really a big job, from what I recall).
>>
>
> Is there some details?
>
>

--
View this message in context: http://n2.nabble.com/Using-of-SVNKit--tp2669995p3254913.html
Sent from the StatSVN Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
stepand76

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
Hi Jason, do you have received something?

Jason Kealey-2 wrote:
Please send in a patch for our review.
Yogeshh

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
In reply to this post by stepand76
Hi stepand76,
   I dont have your email id, so I replied to your mail - stepand76 (via Nabble) <ml-user+211603-405562596@n2.nabble.com>. I have mentioned details & attached code with that mail. I am sending here same for reference of all but no code since no attachment fascillity here in forum

  I have made some changes to main.java for my use and created a class StatSvnReportCreator.java.
  Unlike command line client, here username and password are mandotary since svnkit diff and log commands will not work.
  Code contains handlers for various svn commands and a util class for handling all svn commands.
  Please use following code to use these classes.
     
StatSvnReportCreator statReportCreater =

new StatSvnReportCreator(checkOutLocation, svnUserName, svnPassword, statSvnReportTitle, statSvnReportLocation);

statReportCreater.setLogLevel(StatSvnReportCreator.LOGLEVEL_INFO); //to display info logs

statReportCreater.createStatReport();

 

Librarys (JARs) required -

        STATSVN - statsvn-0.5.0.jar And

        SVNKIT -> svnkit-1.3.0.jar & jna.jar

 
    If you want to keep both the mechanisms as mentioned in mail, only thing we have to do is instead of main.java use StatSvnReportCreator class  or edit main class to delete code containing call to SvnStartupUtils for varsion check and either use RepositoryFileManager d from my code or default as per requirement
 
    I am using some code for Handlers as it is from svnkit source. Is it OK with regards to License ? Please check/comment.
 
    I am using checkout directory as main source and if it possible to use SVN URL instead without local checkout as demanded by many on forum, there are not many changes required, but I want to know that is statsvn or statcvs is using file locations/ local files to create report and using svn url is preferable in respect to performance and other.
 
    Reply in case source or more details required

Thanks,
Yogeshh


BenoitX

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi Yogeshh

Thanks for the contribution.

Jason and I will have a look soon. Unfortunately, it is holiday time soon for me (and now for Jason), so it may take a few weeks...

But we'll definitely look at it!

stepand76, if you want to check it out and give a feedback for integration, that would also be great!

I'd like to be able to use a switch svnkit:on or off...

Thanks

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.



From: Yogeshh <[hidden email]>
To: [hidden email]
Sent: Thursday, July 23, 2009 10:25:42 AM
Subject: Re: [Statsvn-users] Using of SVNKit?


Hi stepand76,
  I dont have your email id, so I replied to your mail - stepand76 (via
Nabble) <ml-user+[hidden email]>. I have mentioned details &
attached code with that mail. I am sending here same for reference of all
but no code since no attachment fascillity here in forum

  I have made some changes to main.java for my use and created a class
StatSvnReportCreator.java.
  Unlike command line client, here username and password are mandotary since
svnkit diff and log commands will not work.
  Code contains handlers for various svn commands and a util class for
handling all svn commands.
  Please use following code to use these classes.
   
StatSvnReportCreator statReportCreater =

new StatSvnReportCreator(checkOutLocation, svnUserName, svnPassword,
statSvnReportTitle, statSvnReportLocation);

statReportCreater.setLogLevel(StatSvnReportCreator.LOGLEVEL_INFO); //to
display info logs

statReportCreater.createStatReport();



Librarys (JARs) required -

        STATSVN - statsvn-0.5.0.jar And

        SVNKIT -> svnkit-1.3.0.jar & jna.jar


    If you want to keep both the mechanisms as mentioned in mail, only thing
we have to do is instead of main.java use StatSvnReportCreator class  or
edit main class to delete code containing call to SvnStartupUtils for
varsion check and either use RepositoryFileManager d from my code or default
as per requirement

    I am using some code for Handlers as it is from svnkit source. Is it OK
with regards to License ? Please check/comment.

    I am using checkout directory as main source and if it possible to use
SVN URL instead without local checkout as demanded by many on forum, there
are not many changes required, but I want to know that is statsvn or statcvs
is using file locations/ local files to create report and using svn url is
preferable in respect to performance and other.

    Reply in case source or more details required

Thanks,
Yogeshh


--
View this message in context: http://n2.nabble.com/Using-of-SVNKit--tp2669995p3308438.html
Sent from the StatSVN Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users

------------------------------------------------------------------------------

_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
rooomka

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
hi guys!!

you are doing great job!

i although wanted to use StatSVN on a remote Repository without checking it out.

Did you already published your code anywhere?

Greets
Rooomka

Jason Kealey-2

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
Good afternoon, 

The feature you request is already listed on our issue tracker. However, it is not a priority for us. You can download the code on sourceforge and try to replace local calls with remote svn cat and/or svn list. The next version should include svnkit integration (already in subversion but requires more testing). 

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


On Fri, Aug 28, 2009 at 6:17 AM, rooomka <[hidden email]> wrote:

hi guys!!

you are doing great job!

i although wanted to use StatSVN on a remote Repository without checking it
out.

Did you already published your code anywhere?

Greets
Rooomka


--
View this message in context: http://n2.nabble.com/Using-of-SVNKit-tp2669995p3533805.html
Sent from the StatSVN Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
stepand76

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
Jason Kealey-2 wrote:
The next version should include svnkit integration (already in subversion but requires more
testing).
I noticed that there is some new code on this topic included in revision 394. Is possible to test it? What command line arguments to use?
Jason Kealey-2

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
I think the beta jar is up to date: http://www.statsvn.org/beta/statsvn.jar

Simply use that one and specify the -svnkit command line argument. 

On one server, I found it to be three times as fast whereas on another, three times as slow. 

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


On Wed, Sep 9, 2009 at 6:35 AM, stepand76 <[hidden email]> wrote:


Jason Kealey-2 wrote:
>
> The next version should include svnkit integration (already in subversion
> but requires more
> testing).
>

I noticed that there is some new code on this topic included in revision
394. Is possible to test it? What command line arguments to use?
--
View this message in context: http://n2.nabble.com/Using-of-SVNKit-tp2669995p3609879.html
Sent from the StatSVN Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Jason Kealey-2

Re: Using of SVNKit?

Reply Threaded More More options
Print post
Permalink
The svnkit version doesn't replace the need for a checked out repository - but it would make it easier on people who want to implement this feature.

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


On Wed, Sep 9, 2009 at 8:40 AM, Stepan Drzka <[hidden email]> wrote:
Thank you Jason,

I'm trying it. But it seems that it still require checked-out dir:

C:\StatSvn>"java -cp svnkit.jar;jna.jar -jar s
tatsvn.jar -svnkit -title Test -username myname -password mypass -output-d
ir C:\www\WebSite\StatSvn\Test Test.xml Test
Sep 9, 2009 2:37:26 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Sep 9, 2009 2:37:26 PM net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: svn info svn: 'Test' is not a working copy
Sep 9, 2009 2:37:26 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: svn info svn: 'Test' is not a working copy
Sep 9, 2009 2:37:26 PM net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Repository root not available - verify that the project was checked out
with svn version 1.3.0 or above.

What's wrong?

Thank you

Stepan




Dne 9.9.2009 13:48, Jason Kealey napsal(a):
I think the beta jar is up to date: http://www.statsvn.org/beta/statsvn.jar

Simply use that one and specify the -svnkit command line argument. 

On one server, I found it to be three times as fast whereas on another, three times as slow. 

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


On Wed, Sep 9, 2009 at 6:35 AM, stepand76 <[hidden email]> wrote:


Jason Kealey-2 wrote:
>
> The next version should include svnkit integration (already in subversion
> but requires more
> testing).
>

I noticed that there is some new code on this topic included in revision
394. Is possible to test it? What command line arguments to use?
--
View this message in context: http://n2.nabble.com/Using-of-SVNKit-tp2669995p3609879.html
Sent from the StatSVN Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users