[tor-bugs] #6471 [Metrics Utilities]: Design file format and Python/Java library for multiple GeoIP or AS databases

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 19 15:34:36 UTC 2012


#6471: Design file format and Python/Java library for multiple GeoIP or AS
databases
----------------------------------+-----------------------------------------
    Reporter:  karsten            |       Owner:  karsten
        Type:  enhancement        |      Status:  closed 
    Priority:  normal             |   Milestone:         
   Component:  Metrics Utilities  |     Version:         
  Resolution:  implemented        |    Keywords:         
      Parent:                     |      Points:         
Actualpoints:                     |  
----------------------------------+-----------------------------------------
Changes (by karsten):

  * status:  accepted => closed
  * resolution:  => implemented


Comment:

 Replying to [comment:24 gsathya]:
 > Make a new pygeodate.git? We can just clone that and use it whenever.
 metrics-utils.git is also fine, but we'll have to clone and then delete
 the rest of the stuff in metrics-utils. pygeodate/pygeodate.py would be
 ok. /pygeodate.py would be better. The former would involve doing
 {{{import pygeodate.pygeodate as pygeodate}}} while the latter would be
 {{{import pygeodate}}}.

 I'd rather want to avoid creating yet another repository for this tool.
 I'm currently working on [https://github.com/ioerror/blockfinder
 blockfinder] together with Jake, where I want to include support for
 multiple GeoIP or AS databases.  I plan to reuse some of the
 `pygeodate.py` code for that.  This is going to take another month or two,
 so I suggest we copy `pygeodate.py` to wherever we need it, including
 subdirectories of `metrics-tasks.git`.  But moving the multi-database code
 code to blockfinder is the better solution in the long term, because it's
 more likely to see maintenance updates if it's contained in a tool that we
 use for other purposes, too.  I'm closing this ticket, because the task is
 done.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6471#comment:25>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list