Patch for WWW::SourceForge mailing list stats
Hi again Kang-min,
The enclosed patches add a feature to your WWW::SourceForge module to allow display of mailing list statistics. This allows for example:
$ ./sfnet --list-mailinglists stp List Members Posts stp-announce 4 11 stp-devel 13 2628 stp-support 9 130 stp-tests 9 96
$ ./sfnet --list-mailinglists inkscape List Members Posts inkscape-announce 284 28 inkscape-cvs 13 14252 inkscape-devel 213 13006 inkscape-tester 31 114 inkscape-tracker 11 8604 inkscape-user 310 3802 inkscape-user-es 37 59 inkscape-wiki 16 164
I noticed that SourceForge.net recently changed their HTML format slightly. They've added some whitespace here and there, and so forth. I modified the main regexp in WWW::SourceForge::Project to be able to deal with this change, but there's probably more discrepencies that you might want to investigate.
Also, I noticed when running your test suite that it gives a couple warnings on lines 62 and 66 about uninitialized values. Not sure what's causing that.
Oh, and regarding the downloading of files from SF, thanks for the advice, you're right, and I'm re-thinking the approach for that. I may be able to do it directly to a mirror, without any need for screenscraping, which would be superior for obvious reasons.
Bryce
Okay, this time with the patches _actually_ attached. ;-)
On Wed, Oct 05, 2005 at 01:07:22PM -0700, Bryce Harrington wrote:
Hi again Kang-min,
The enclosed patches add a feature to your WWW::SourceForge module to allow display of mailing list statistics. This allows for example:
$ ./sfnet --list-mailinglists stp List Members Posts stp-announce 4 11 stp-devel 13 2628 stp-support 9 130 stp-tests 9 96
$ ./sfnet --list-mailinglists inkscape List Members Posts inkscape-announce 284 28 inkscape-cvs 13 14252 inkscape-devel 213 13006 inkscape-tester 31 114 inkscape-tracker 11 8604 inkscape-user 310 3802 inkscape-user-es 37 59 inkscape-wiki 16 164
I noticed that SourceForge.net recently changed their HTML format slightly. They've added some whitespace here and there, and so forth. I modified the main regexp in WWW::SourceForge::Project to be able to deal with this change, but there's probably more discrepencies that you might want to investigate.
Also, I noticed when running your test suite that it gives a couple warnings on lines 62 and 66 about uninitialized values. Not sure what's causing that.
Oh, and regarding the downloading of files from SF, thanks for the advice, you're right, and I'm re-thinking the approach for that. I may be able to do it directly to a mirror, without any need for screenscraping, which would be superior for obvious reasons.
Bryce
This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (1)
-
Bryce Harrington