[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help for watch file



On Wed, 14 Jul 2010 09:43:36 +0200, Andreas Tille wrote:

> On Wed, Jul 14, 2010 at 09:31:26AM +0200, David Paleino wrote:
> > If Google changes again, I find it better to change code in one place than
> > in tons of debian/watch files.
> 
> Well, 16 (+1 in NEW queue now ;-)) are not really tons.

From Apache's access.log files (access_concat is the concatenation of all the
rotated log files):

$ grep "GET /p/" access_concat.log | \
> sed -n 's@.* "GET /p/\([^/ ]*\).*HTTP/.*" 200 .*@\1@p' | \
> sort -u | wc -l
88

(I only get URLs which return a 200 HTTP-code, i.e. the package exists in
GoogleCode).

Maybe 16+1 uploaded, and others ready in repositories tracked by PET.
Also, it's being used by Ubuntu folks (I have some uscans with Ubuntu versions
in the log).

It's a hack, but I believe it gives the correct result. I should make
some better stats, I know :)

David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: