Author: lresende
Date: Tue Oct  2 17:25:25 2007
New Revision: 581446

URL: http://svn.apache.org/viewvc?rev=581446&view=rev
Log:
Quick explanation on how to use the download scripts

Added:
    incubator/tuscany/sandbox/lresende/etc/download-script/README

Added: incubator/tuscany/sandbox/lresende/etc/download-script/README
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/sandbox/lresende/etc/download-script/README?rev=581446&view=auto
==============================================================================
--- incubator/tuscany/sandbox/lresende/etc/download-script/README (added)
+++ incubator/tuscany/sandbox/lresende/etc/download-script/README Tue Oct  2 
17:25:25 2007
@@ -0,0 +1,30 @@
+These are set of scripts used to count the release downloads from apache http 
stat logs.
+
+1.Where to download the http stat logs from 
+The logs are located in people.apache.org under 
x1/logarchive/people/<year>/<month>/??.bz2
+I usually download them on a folder structure like : <year>/<month>
+
+2.Get ready to process the scripts
+Unzip the log files
+   >bunzip2 ??.bz2
+Concatenate together all the logs from a given month
+   >ls -1 | xargs -i -t cat {} >> ../<year>-<month>.log
+
+3.Running the scripts
+all-report.sh  - runs all the scripts
+   >./all-reports.sh
+
+???-report.sh  - runs reports for a given type of release/project (e.g cpp, 
sca, sdo, das)
+   >./sca.report.sh
+
+
+4.Adding a new month to be processed
+Edit the ???-report.sh and add a new line for the new month as appropriated
+   >./sca-099.sh 2007/2007-09.log >> sca-downloads.log
+
+5.Adding a new project/release
+Create a new script that filters the specific project/release
+   >total=$(cat $1 | grep tuscany-das-1.0-incubating-beta1 | awk '{ print $2 
}' | uniq | wc -l)
+echo $1 $total
+
+The update the other scripts to properly call this to process a given month



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

Reply via email to