Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #20519

Closed (moved)
Open
Opened Nov 01, 2016 by iwakeh iwakeh@iwakeh

Untangle and modernize relaydescs module

  • unify descriptor parsing throughout all classes
  • separate statistics
  • untangle the following picture
											       
     +--------------------------------------------------------------------+ 
     |       	     	      	       	    	     	     	       	  | 
     | 	X o----------+ Y : X holds a Y reference somewhere                | 
     |               	      	       	    	     	     	       	  | 
     +--------------------------------------------------------------------+ 
     |		  		       	    	     	     	       	  | 
     |                                 	    	     	     	       	  | 
     |               +------------------------+	     	     	       	  | 
     |               |  RelayDescriptorParser +\     	     	       	  | 
     |		     +-----+-----o-+o---o-----+	\    	     	       	  | 
     |		  	  /     /  | \ 	 --	 -\  	     	       	  | 
     |                   /     /   |  \    \-      -\	     	       	  | 
     |                  /     /     \ |      \-      -\	     	       	  | 
     |                 /     /      |  \       \-      -\    	       	  | 
     |		      /     /	    |  |         \-	 -\  	       	  | 
     |               /     /        |   \          \-      -\	       	  | 
     |		    /	  / 	     \  |	     \-	     -\	       	  | 
     |		   / 	 /  	     |   \	       \-      \       	  | 
     |        +---o-----+-------+    |   |      +-------+-------o-+    	  | 
     |	      |  ArchiveReader 	|     \	  \	|  ArchiveWriter  |    	  | 
     |	      +-----------------+     |	  |	+---o-------------+    	  | 
     |			 	      |	   \	    |		       	  | 
     |			 	      |    |	    |		       	  | 
     |                                 \    \      /                   	  | 
     |				  +----o----+------+----------+	       	  | 
     |				  | RelayDescriptorDownloader |	       	  | 
     |                            +---------------------------+        	  | 
     |                           /                                     	  | 
     |				/					  | 
     |			       /					  | 
     |	       +--------------o--------------+				  | 
     |         | CachedRelayDescriptorParser |                            | 
     |	       +-----------------------------+				  | 
     |                                                                    | 
     |                                                                    |
     +--------------------------------------------------------------------+
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#20519