[Python-apps-commits] r3675 - in packages/wtop/trunk (17 files)

mlizaur-guest at users.alioth.debian.org mlizaur-guest at users.alioth.debian.org
Wed Sep 2 22:16:38 UTC 2009


    Date: Wednesday, September 2, 2009 @ 22:16:36
  Author: mlizaur-guest
Revision: 3675

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/wtop/trunk/debian/
  packages/wtop/trunk/debian/README.source
  packages/wtop/trunk/debian/changelog
  packages/wtop/trunk/debian/compat
  packages/wtop/trunk/debian/control
  packages/wtop/trunk/debian/copyright
  packages/wtop/trunk/debian/logrep.1
  packages/wtop/trunk/debian/patches/
  packages/wtop/trunk/debian/patches/00list
  packages/wtop/trunk/debian/patches/10_apachelog.dpatch
  packages/wtop/trunk/debian/patches/20_absolute_path_for_logrep.dpatch
  packages/wtop/trunk/debian/postinst
  packages/wtop/trunk/debian/prerm
  packages/wtop/trunk/debian/rules
  packages/wtop/trunk/debian/watch
  packages/wtop/trunk/debian/wtop.CHANGES
  packages/wtop/trunk/debian/wtop.debhelper.log


Property changes on: packages/wtop/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/wtop/trunk/debian/README.source
===================================================================
--- packages/wtop/trunk/debian/README.source	                        (rev 0)
+++ packages/wtop/trunk/debian/README.source	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,15 @@
+README.source for wtop
+======================
+
+The patchs applied to this package are to handle minor issues
+with the content by default of some configs / script used by this
+app.
+
+10_apachelog.dpatch:
+ Corrects the fullpath of the Apache2 (default) log.
+
+20_absolute_path_for_logrep.dpatch:
+ Adds an absolute path for the command logrep.
+
+ -- Mauro Lizaur <mauro at cacavoladora.org>  Wed, 02 Sep 2009 18:43:44 -0300
+

Added: packages/wtop/trunk/debian/changelog
===================================================================
--- packages/wtop/trunk/debian/changelog	                        (rev 0)
+++ packages/wtop/trunk/debian/changelog	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,6 @@
+wtop (0.6.3-1) experimental; urgency=low
+
+  * Initial release (Closes: #486749)
+
+ -- Mauro Lizaur <mauro at cacavoladora.org>  Wed, 02 Sep 2009 18:43:44 -0300
+

Added: packages/wtop/trunk/debian/compat
===================================================================
--- packages/wtop/trunk/debian/compat	                        (rev 0)
+++ packages/wtop/trunk/debian/compat	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1 @@
+7

Added: packages/wtop/trunk/debian/control
===================================================================
--- packages/wtop/trunk/debian/control	                        (rev 0)
+++ packages/wtop/trunk/debian/control	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,22 @@
+Source: wtop
+Section: utils
+Priority: optional
+Maintainer: Mauro Lizaur <mauro at cacavoladora.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+XS-Python-Version: all
+Build-Depends: debhelper (>= 7), dpatch (>= 2.0.30)
+Build-Depends-Indep: python (>= 2.4), python-all-dev, python-setuptools, python-support (>= 1.0.3)
+Standards-Version: 3.8.3
+Homepage: http://code.google.com/p/wtop/
+
+Package: wtop
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-geoip
+Description: Like top for Apache web servers
+ How many searches or signups are happening per second? What is the
+ response time histogram for your static files? wtop shows you at a glance.
+ .
+ Also comes with logrep, a powerful command-line program for ad-hoc analysis
+ and filtering, and a Python module logrep.py you can use to write your own 
+ analysis programs.

Added: packages/wtop/trunk/debian/copyright
===================================================================
--- packages/wtop/trunk/debian/copyright	                        (rev 0)
+++ packages/wtop/trunk/debian/copyright	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,43 @@
+This package was debianized by Mauro Lizaur <mauro at cacavoladora.org> on
+Wed, 15 Jul 2009 12:38:47 -0300.
+
+It was downloaded from http://code.google.com/p/wtop/
+
+Upstream Author:
+
+    Carlos Bueno <carlos at bueno.org>
+
+Copyright:
+
+    Copyright (c) 2007-2009, Carlos Bueno <carlos at bueno.org>
+    Generously donated by Spock Networks, Inc.
+    All rights reserved. Distributed under the "new BSD" license.
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+    1. Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+    2. Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in the
+       documentation and/or other materials provided with the distribution.
+    3. Neither the name of the University nor the names of its contributors
+       may be used to endorse or promote products derived from this software
+       without specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+    ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+
+The Debian packaging is © 2009, Mauro Lizaur <mauro at cacavoladora.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/wtop/trunk/debian/logrep.1
===================================================================
--- packages/wtop/trunk/debian/logrep.1	                        (rev 0)
+++ packages/wtop/trunk/debian/logrep.1	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,243 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
+.TH LOGREP "1" "July 2009" "logrep 0.6.3" "User Commands"
+.SH NAME
+logrep \- A handy tool for sophisticated, ad\-hoc analysis of webserver logs.
+.SH DESCRIPTION
+.PP
+wtop is like "top" for your webserver. How many searches or signups are 
+happening per second? What is the response time histogram for your static files? 
+wtop shows you at a glance. 
+.SH OPTIONS
+.PP
+logrep  [\-\-mode MODE] [\-\-include | \fB\-\-exclude\fR CLASSES] [\-H | \fB\-R]\fR
+.IP
+[\-\-output FIELDS] [\-\-filter FILTERS] [\-\-last LAST_N]
+[\-\-sort LIM:FIELDS:DIRECTION] [\-\-config CFG_FILE] [\-\-quiet]
+[LOG_FILE]
+.TP
+\fB\-m\fR MODE
+There are three modes:
+.TP
+\fB\-\-mode\fR
+.br
+      \- "grep" parses an entire log file (default).
+.br
+      \- "tail" reads from the end of the file.
+.br
+      \- "top"  shows running performance stats.
+.TP
+\fB\-i\fR, \fB\-e\fR CLASSES
+Include or exclude the given URL "classes". You can
+.TP
+\fB\-\-include\fR
+configure logrep to classify URLs by a set of
+.TP
+\fB\-\-exclude\fR
+regular expressions. See the installation docs and
+/etc/wtop.cfg for how to configure your own classes.
+\fB\-\-include\fR and \fB\-\-exclude\fR are mutually exclusive.
+.IP
+Examples:
+.IP
+\fB\-\-include\fR "home,search,wiki"
+.br
+\fB\-\-exclude\fR "img,xml,js"
+.HP
+\fB\-f\fR FILTERS        \fB\-f\fR filters act on named fields.
+.TP
+\fB\-\-filter\fR
+There is support for strings & numbers, greater
+than (>), less than (<), equals (=), not\-equals
+(!=), and regular expression match (~ and !~).
+.IP
+For example: Filter successful requests that were
+over 10kB in size that do not have 'example.com'
+in the Referer field:
+.IP
+\fB\-f\fR "status=200,bytes>10000,refdom!~example.com"
+.IP
+AVAILABLE FIELDS:
+.TP
+     msec
+     millisecond response time
+.TP
+     ip
+     The IP address of the client
+.TP
+     url
+     The path of the request, eg '/home'
+.TP
+     ref
+     \&'Referer' header
+.TP
+     refdom
+     domain part of the 'Referer' header
+.TP
+     bytes
+     Bytes sent
+.TP
+     ua
+     User\-agent header
+.TP
+     uas
+     First 30 characters of ua
+.TP
+     class
+     URL class, configurable in wtop.cfg
+.TP
+     status
+     HTTP status code, eg 200, 301, 404
+.TP
+     proto
+     Protocol version, eg 'HTTP/1.1'
+.TP
+     method
+     HTTP method, eg 'GET', 'POST'
+.TP
+     bot
+     Is a robot? 1 or 0. Only a guess.
+.TP
+     botname
+     eg 'Googlebot', 'Nutch', 'Slurp', etc
+.TP
+     ts
+     Unix timestamp of the request
+.IP
+     year
+.br
+     month
+.br
+     day
+.br
+     hour
+.br
+     minute
+.br
+     country    country name (see Geocoding, below)
+.br
+     cc         ISO\-639 country code (see below)
+.TP
+\fB\-H\fR, \fB\-R\fR
+Shorthand for a useful but incomplete filter of
+robot user\-agents. Equivalent to \fB\-\-filter\fR 'bot=0'
+or \fB\-\-filter\fR 'bot=1'
+.TP
+\fB\-o\fR FIELDS
+Output only the given fields, tab\-delimited. All
+.TP
+\fB\-\-output\fR
+of the fields listed for \fB\-\-filter\fR are available.
+.IP
+AGGREGATE FUNCTIONS:
+In \fB\-m\fR grep mode you can use aggregate functions
+on numeric fields such as bytes and msec. Any
+non\-aggregate fields in the list will be used to
+group records together.
+.IP
+count(*)
+avg(FIELD)   mean average
+min(FIELD)   lowest seen value
+max(FIELD)   highest seen value
+sum(FIELD)   summation of all values
+var(FIELD)   population variance
+dev(FIELD)   deviation (square root of variance)
+.TP
+\fB\-s\fR LIM:FIELDS:DIRECTION
+\fB\-\-sort\fR
+Use this option to sort & limit aggregate records.
+LIMIT is the number of records to return, FIELDS
+is a comma\-delimited list of column positions
+starting with 1, and DIRECTION is either
+\&'descending' (default) or 'ascending'.
+.IP
+.TP
+\fB\-l\fR LAST_N
+(grep mode) Only read the last N log lines.
+.HP
+\fB\-\-last\fR
+.TP
+\fB\-c\fR CFG_FILE
+Feed logrep a custom config file. By default it
+.TP
+\fB\-\-config\fR
+will use:
+/etc/wtop.cfg         (Linux, BSD, OSX, etc)
+.br
+Python sys.prefix     (Windows)
+.TP
+\fB\-q\fR, \fB\-\-quiet\fR
+Quiet mode. Does not print warnings to stderr.
+.TP
+LOG_FILE
+The path to a log file. By default logrep will
+read from the file path specified in wtop.cfg
+If you specify '\-', logrep will read from STDIN.
+.IP
+.SH CONFIGURATION:
+.IP
+\fBConfiguring Apache\fR
+.IP
+Please Note: By default Apache LogFormats do not have the %D (microsecond response time) directive. You must have at least %s, %r, %t and %D in your LogFormat in order to use wtop. You can use logrep without %D, but you will not be able to use the msec field.
+.IP
+Example: before
+.IP
+     LogFormat "%h %l %u %t \"%r\" %>s %b" common
+     CustomLog logs/access_log common
+.IP
+Example: after
+.IP
+     LogFormat "%h %l %u %t \"%r\" %>s %b %D" common
+     CustomLog logs/access_log common
+.IP
+.SH GEOCODING:
+.IP
+logrep will use the MaxMind GeoIP library if it is installed. This
+will enable two extra fields for filtering and output: country
+(eg "United Kingdom"), and cc (ISO\-639 country code, eg "UK"). These
+are a *guess* at the country the HTTP client is from.
+.IP
+.SH KNOWN BUG:
+.IP
+Some installations of Apache have HostnameLookups defaulted to On.
+This means that the %h field will contain the fully\-qualified domain
+name of the client (xdsl456.foo.example.com) instead of the IP
+address (123.1.2.3). Geocoding will work but will require a DNS
+lookup to resolve the IP address. Using the 'cc' or 'country'
+field in this case will generate a *LOT* of DNS traffic and can
+hang the program. It is recommended to explicitly set
+HostnameLookups Off in your Apache configuration.
+.IP
+.SH EXAMPLES
+.IP
+"wtop" for all human traffic:
+.br
+\f(CW$ logrep \-m top \-f 'bot=0' access.log\fR
+.IP
+Status code & response times for all Googlebot homepage hits:
+.br
+\f(CW$ logrep \-f 'botname=Googlebot' \-i home \-o status,msec\fR
+.IP
+Tail for pages about Angelina Jolie or Brad Pitt sent from example.com:
+.br
+\f(CW$ logrep \-m tail \-f 'url~jolie|pitt,ref~example.com' access.log\fR
+.IP
+Get maximum response size and average response time for requests
+grouped by URL class:
+.br
+\f(CW$ logrep \-o 'class,max(bytes),avg(msec)' access.log\fR
+.IP
+Grouped by status:
+.br
+\f(CW$ logrep \-o 'status,count(*),avg(msec)'\fR
+.IP
+Output:
+.br
+\f(CW$ logrep \-o 'cc,msec,url'\fR
+.IP
+Total bytes sent, by hour & minute:
+.br
+\f(CW$ logrep \-o 'hour,minute,sum(bytes)' \-s'3600:1,2:a'\fR
+.IP
+The 10 most popular URLs:
+.br
+\f(CW$ logrep \-o 'url,count(*)' \-s '10:2'\fR

Added: packages/wtop/trunk/debian/patches/00list
===================================================================
--- packages/wtop/trunk/debian/patches/00list	                        (rev 0)
+++ packages/wtop/trunk/debian/patches/00list	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,2 @@
+10_apachelog.dpatch
+20_absolute_path_for_logrep.dpatch

Added: packages/wtop/trunk/debian/patches/10_apachelog.dpatch
===================================================================
--- packages/wtop/trunk/debian/patches/10_apachelog.dpatch	                        (rev 0)
+++ packages/wtop/trunk/debian/patches/10_apachelog.dpatch	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_apachelog.dpatch by Mauro Lizaur <mauro at cacavoladora.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Corrects the fullpath of the Apache2 (default) log.
+
+ at DPATCH@
+
+--- wtop-0.6.3.orig/wtop.cfg	2009-07-16 04:39:41.000000000 -0300
++++ wtop-0.6.3/wtop.cfg	2009-07-16 04:40:00.000000000 -0300
+@@ -6,7 +6,7 @@
+ # To use wtop, you MUST have at least %s, %r, %t and %D.
+ LOG_FORMAT=%h %l %u %t "%r" %>s %B "%{Referer}i" "%{User-Agent}i" %D
+ LOG_ROOT=/var/log/apache2/
+-LOG_FILE=access_log
++LOG_FILE=access.log
+ 
+ ## uncomment these lines for limited, experimental Microsoft IIS support
+ # LOG_FILE_TYPE=iis
+@@ -42,4 +42,4 @@
+ robots=^(-)$|(f(?:e(?:ed(?:fetcher-google|ster|whipbot|demon|tools)|tch)|a(?:ctbot|stsearch)|indexa)|a(?:(?:pach|rchiv)e|iderss)|h(?:ttpmonitor|eritrix|arvest|olmes)|y(?:a(?:hoo(?:feed)?seeker|cy|ndex)|e(?:bolbot|ti)|\!j-srd)|m(?:s[rn]bot|e(?:diapartners|chanize)|j12bot)|t(?:ranslate.google.com|ineye)|n(?:utch|icebot|g/2.0|oxtrum|etnewswire)|g(?:(?:ais|uruji|oogle)bot|rabperf)|s(?:n(?:ap(?:preview)?bot|iffer|oopy)|ogou|(?:[bp]id|cann|tackrambl)er|(?:urvey|eznam)bot|lurp|hopwiki)|v(?:a(?:dixbot|lidator)|isbot|oyager)|l(?:ibwww|arbin)|c(?:h(?:udo|arlotte)|u[ir]l|azoodlebot|(?:onverac)?rawler)|p(?:o(?:lybot|ckey)|agebull|ubsub|ear http_request)|b(?:ecomebot|logpulselive)|w(?:eb(?:images|alta|bot)|wwster|get|ordpress|inhttp)|i(?:n(?:formation-online|dexer)|lluminati|feed)|j(?:a(?:karta|va/1)|yxobot)|d(?:iscoveryengine|ownload)|o(?:gsearchspider|pennms)|(?:entirewe|urlli)b|keywen|xenu|rssmix)
+ 
+ # (original)
+-##robots=Feedfetcher-Google|Apache|HttpMonitor|yacy|MSRBOT|translate.google.com|Feedster|Nutch|Gaisbot|Snapbot|VisBot|libwww|CazoodleBot|polybot|VadixBot|Sogou|SBider|BecomeBot|Yandex|Pagebull|chudo|Pockey|nicebot|entireweb|FeedwhipBOT|ConveraCrawler|NG/2.0|WebImages|Factbot|information-online|Jyxobot|BlogPulseLive|YahooFeedSeeker|GurujiBot|wwwster|Y\!J-SRD|Findexa|SurveyBot|discoveryengine|fastsearch|noxtrum|Googlebot|Snapbot|OGSearchSpider|heritrix|Slurp|msnbot|cuil|Mediapartners|YahooSeeker|GrabPERF|keywen|archive|spider|larbin|shopwiki|wget|WebAlta|webbot|crawler|download|harvest|fetch|xenu|mechanize|wordpress|indexer|sniffer|winhttp|validator|voyager|PubSub|Scanner|TinEye|urllib|ILLUMINATI|YebolBot|OpenNMS|Charlotte|SeznamBot|curl|iFeed|FeedDemon|Jakarta|AideRSS|Java/1|Yeti|NetNewsWire|holmes|PEAR HTTP_Request|SnapPreviewBot|RSSMix|MJ12bot|FeedTools|StackRambler|Snoopy|AideRSS
+\ No hay ningún carácter de nueva línea al final del fichero
++##robots=Feedfetcher-Google|Apache|HttpMonitor|yacy|MSRBOT|translate.google.com|Feedster|Nutch|Gaisbot|Snapbot|VisBot|libwww|CazoodleBot|polybot|VadixBot|Sogou|SBider|BecomeBot|Yandex|Pagebull|chudo|Pockey|nicebot|entireweb|FeedwhipBOT|ConveraCrawler|NG/2.0|WebImages|Factbot|information-online|Jyxobot|BlogPulseLive|YahooFeedSeeker|GurujiBot|wwwster|Y\!J-SRD|Findexa|SurveyBot|discoveryengine|fastsearch|noxtrum|Googlebot|Snapbot|OGSearchSpider|heritrix|Slurp|msnbot|cuil|Mediapartners|YahooSeeker|GrabPERF|keywen|archive|spider|larbin|shopwiki|wget|WebAlta|webbot|crawler|download|harvest|fetch|xenu|mechanize|wordpress|indexer|sniffer|winhttp|validator|voyager|PubSub|Scanner|TinEye|urllib|ILLUMINATI|YebolBot|OpenNMS|Charlotte|SeznamBot|curl|iFeed|FeedDemon|Jakarta|AideRSS|Java/1|Yeti|NetNewsWire|holmes|PEAR HTTP_Request|SnapPreviewBot|RSSMix|MJ12bot|FeedTools|StackRambler|Snoopy|AideRSS


Property changes on: packages/wtop/trunk/debian/patches/10_apachelog.dpatch
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/wtop/trunk/debian/patches/20_absolute_path_for_logrep.dpatch
===================================================================
--- packages/wtop/trunk/debian/patches/20_absolute_path_for_logrep.dpatch	                        (rev 0)
+++ packages/wtop/trunk/debian/patches/20_absolute_path_for_logrep.dpatch	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_absolute_path_for_logrep.dpatch by Mauro Lizaur <mauro at cacavoladora.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adds an absolute path for the command logrep
+
+ at DPATCH@
+
+--- wtop-0.6.1.orig/wtop	2008-07-25 14:15:05.000000000 -0300
++++ wtop-0.6.1/wtop	2009-07-15 12:39:50.000000000 -0300
+@@ -1,3 +1,3 @@
+ #!/bin/sh
+ # you may wish to add -H to see only human traffic
+-logrep -m top -c "$2"
+\ No hay ningún carácter de nueva línea al final del fichero
++/usr/bin/logrep -m top -c "$2"


Property changes on: packages/wtop/trunk/debian/patches/20_absolute_path_for_logrep.dpatch
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/wtop/trunk/debian/postinst
===================================================================
--- packages/wtop/trunk/debian/postinst	                        (rev 0)
+++ packages/wtop/trunk/debian/postinst	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+if which update-python-modules >/dev/null 2>&1; then
+        update-python-modules  wtop.public
+fi
+

Added: packages/wtop/trunk/debian/prerm
===================================================================
--- packages/wtop/trunk/debian/prerm	                        (rev 0)
+++ packages/wtop/trunk/debian/prerm	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+if which update-python-modules >/dev/null 2>&1; then
+        update-python-modules -c  wtop.public
+fi

Added: packages/wtop/trunk/debian/rules
===================================================================
--- packages/wtop/trunk/debian/rules	                        (rev 0)
+++ packages/wtop/trunk/debian/rules	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,46 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+d=debian/wtop
+
+build: build-stamp
+build-stamp:  patch-stamp
+	dh_testdir
+	python setup.py build
+	touch build-stamp
+
+clean:  unpatch
+	dh_testdir
+	dh_testroot
+	rm -fr build-stamp $(d) debian/*.log
+	dh_auto_clean
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	python setup.py install --root=$(d);
+	# removing the two unnecessary Windows shell scripts
+	rm $(d)/usr/bin/wtop.bat $(d)/usr/bin/logrep.bat
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs 
+	dh_installchangelogs debian/wtop.CHANGES
+	dh_installman debian/logrep.1
+	dh_link usr/share/man/man1/logrep.1.gz usr/share/man/man1/wtop.1.gz
+	dh_compress -X.py
+	dh_fixperms
+	dh_pysupport -n
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch:
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/wtop/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/wtop/trunk/debian/watch
===================================================================
--- packages/wtop/trunk/debian/watch	                        (rev 0)
+++ packages/wtop/trunk/debian/watch	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,3 @@
+version=3
+
+http://code.google.com/p/wtop/downloads/list http://wtop.googlecode.com/files/wtop-(.*)\.tar\.gz

Added: packages/wtop/trunk/debian/wtop.CHANGES
===================================================================
--- packages/wtop/trunk/debian/wtop.CHANGES	                        (rev 0)
+++ packages/wtop/trunk/debian/wtop.CHANGES	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1,76 @@
+version 0.6.3, 1 Sep 2008
+what's fixed
+
+    * added experimental, limited support for Micrsoft IIS logs. At the moment only the "W3c Extended" format is supported. In a future release there will be support for custom column layouts, etc. Many thanks to jbowtie for the patch. 
+
+    * added transparent support for Apache logfiles created with rotatelogs. It should Just Work. 
+
+    * curses support in wtop mode, if available. 
+
+    * minor cleanups & speedups 
+
+version 0.6.1, 31 July 2008
+what's fixed
+
+    * --sort LIMIT:FIELD:DIRECTION option for sorting and limiting aggregate queries. 
+
+    * added long options such as --output for -o and --filter for -f. 
+
+    * added aggregate functions var() (population variance) and dev() (standard deviation) 
+
+    * experimental --x-tmp-dir=/tmp option when you are running aggregates over large (> 10 million lines) logs. If you've run out of memory trying to run a logrep query, try this option. If not, don't use it. 
+
+    * more cleanups, getting rid of special cases, etc. 
+
+    * several speedups, bugfixes, etc. 
+
+version 0.6.0, 14 July 2008
+what's fixed
+
+    * Added support for aggregate functions avg(), min(), max(), count(*) and sum() in grep mode. 
+
+    * Added year, month, day, hour and minute fields for output (-o) and filters (-f) 
+
+    * Minor speedups and cleanups. 
+
+what's broken
+
+    * The -g and -v options are deprecated and will be removed in version 1.0 unless there is a general uproar. -f filters are more accurate and generally faster. 
+
+version 0.5.9, 10 July 2008
+what's fixed
+
+    * several small bugs. 
+
+    * support for Python 2.4. In earlier versions logrep required Python 2.5 or higher. 
+
+    * added a !~ operator to the -f FILTER option. You can now filter out fields that do not match. For example, to see 'foo.html' hits that were NOT referred by 'example.com':
+
+      -f 'url~foo.html,ref!~www.example.com'
+
+    * Added a 'botname' field: it will show the substring from the user-agent field it matched to determine that the request came from a robot. You can filter and output it just like any other. 
+
+    * Added -R option as a shorthand for -f 'bot=1'. Shows only traffic that is probably from a robot and not a human. 
+
+what's broken
+
+    * the -h option (human traffic only) has been renamed -H. -h now outputs the man page. 
+
+version 0.5.8, 20 June 2008
+What's Fixed
+
+    * -c CONFIG_FILE for feeding wtop and logrep custom configs 
+
+    * Big speedup in apache2unixtime() 
+
+    * Skips parsing of fields you don't ask for; nice performance boost there too. Credit to thwartedefforts. 
+
+    * support for nginx logs. You still have to set the LOG_FORMAT to the equivalent Apache format, but it works now with nginx's $request_time parameter. Credit to Igor S. 
+
+    * Handles %h when Hostnamelookups is on in Apache. Hostnamelookups is usually not recommended, but you crazy kids want it, so it's there. Credit to Andrew Hedges. 
+
+What's Broken
+
+    * The usec field (microsecond response time) is gone. Use msec (milliseconds) instead. This is for compatibility with nginx, but microseconds is ridiculous for timing a remote network transaction anyway. 
+
+    * no support for multiple LOG_FORMATs yet. You can use the new -c option to get around this. 

Added: packages/wtop/trunk/debian/wtop.debhelper.log
===================================================================
--- packages/wtop/trunk/debian/wtop.debhelper.log	                        (rev 0)
+++ packages/wtop/trunk/debian/wtop.debhelper.log	2009-09-02 22:16:36 UTC (rev 3675)
@@ -0,0 +1 @@
+dh_auto_clean




More information about the Python-apps-commits mailing list