Vincent Massol wrote:



for the repository and the projects I would like to run against are at
Sourceforge which is still interminably slow for anonymous CVS access.
Is there any way to get it to make use of existing data rather than
downloading the full log each time? (This is what I was trying to
achieve with the MAVEN-562 patch to changelog).


Actually this already works. If you run when being offline (-o switch)
it won't generate reports. I understand it's not exactly what you want
but I don't really the usefulness of generating the reports if you
cannot connect. Same for any plugin requiring internet access.

Ummm. I think the wires got crossed a bit here. I wasn't meaning situations where it wasn't possibl to connect, just that doing "cvs log" for the entire history of the project can be quite an expensive operation and would take ages with sourceforge. If you have already downloaded the information on a previous run then it would be more efficient to specify start and end dates and just retrieve what's new.
I noticed there's a "-use-history" parameter for statcvs in there - is that connected with this kind of thing?



Having had a quick look at the jelly script it looks like it's not

using


the repository defined in project.xml:

<!-- FIXME : We must use, with cvs, the connection string

define


             in project.xml -->
        <ant:cvs command="-q log" output="${statcvs.logfile}"/>


Actually, I wrote that comment ages ago and I'm not sure we need to use
the repo defined in project.xml. If you used the repo of basedir it must
always be correct, right?

How will this work if the project uses cvs over ssh. Won't there be a problem with logging in? I just tried "maven statcvs" in a project which uses my sf login and it just hangs. There may be a workaround with the ssh agent or something but I've always just supplied my password in the past. Using the developer login would actually be preferable over anonymous cvs as sf allocates much higher bandwidth in this case.


Luke.

--
 Luke Taylor.                      Monkey Machine Ltd.
 PGP Key ID: 0x57E9523C            http://www.monkeymachine.ltd.uk




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to