[tor-bugs] #10645 [Tor]: Re-order dir-spec for readability and maintainability

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 17 15:25:22 UTC 2014


#10645: Re-order dir-spec for readability and maintainability
-------------------------+---------------------
 Reporter:  karsten      |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Tor          |        Version:
 Keywords:  tor-spec     |  Actual Points:
Parent ID:               |         Points:
-------------------------+---------------------
 I'd like to reorder a few things in dir-spec to make it easier to read and
 easier to extend.

 I finished a first revision in my branch
 [https://gitweb.torproject.org/user/karsten/torspec.git/shortlog/refs/heads
 /reorder-dirspec reorder-dirspec].

 Here are the guidelines that I tried to follow:

  - There's supposed to be one section per role in the directory protocol
 (client, authority, cache, client) with one subsection per operation
 performed by this role.  If necessary, subsubsections help structure more
 complex operations.

  - Changes are ordered from the top of the document to the bottom.
 There's typically one commit (or commit set) for every changed section or
 subsection.

  - For every change that moves more than a few lines of text, there are
 typically three commits: the first commit only moves text, the second
 commit only fixes references, and the third commit edits content.

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


More information about the tor-bugs mailing list