[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Using the :trac: role



commit 5ab172051665101ce3c8797f3aac24a6d79459e7
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sun Apr 14 15:37:17 2013 -0700

    Using the :trac: role
    
    Replacing our hardcoded trac links with our fancy new :trac: role.
---
 docs/change_log.rst                |    2 +-
 stem/connection.py                 |    8 ++++----
 stem/control.py                    |    7 +++----
 stem/descriptor/microdescriptor.py |    2 +-
 test/runner.py                     |    3 +--
 5 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/docs/change_log.rst b/docs/change_log.rst
index 479cb73..ff5dd21 100644
--- a/docs/change_log.rst
+++ b/docs/change_log.rst
@@ -40,7 +40,7 @@ The following are only available within stem's `git repository
 
  * **Controller**
 
-  * :class:`~stem.response.events.AddrMapEvent` support for the new CACHED argument (`ticket <https://trac.torproject.org/8596>`_, `spec <https://gitweb.torproject.org/torspec.git/commitdiff/25b0d43>`_)
+  * :class:`~stem.response.events.AddrMapEvent` support for the new CACHED argument (:trac:`8596`, `spec <https://gitweb.torproject.org/torspec.git/commitdiff/25b0d43>`_)
 
  * **Website**
 
diff --git a/stem/connection.py b/stem/connection.py
index b35bdd7..54404e7 100644
--- a/stem/connection.py
+++ b/stem/connection.py
@@ -479,7 +479,7 @@ def authenticate_password(controller, password, suppress_ctl_errors = True):
   :func:`~stem.connection.authenticate`, we may mistakenly raise a
   PasswordAuthRejected rather than IncorrectPassword. This is because we rely
   on tor's error messaging which is liable to change in future versions
-  (`ticket <https://trac.torproject.org/4817>`_).
+  (:trac:`4817`).
 
   This can authenticate to either a :class:`~stem.control.BaseController` or
   :class:`~stem.socket.ControlSocket`.
@@ -555,8 +555,8 @@ def authenticate_cookie(controller, cookie_path, suppress_ctl_errors = True):
   :func:`~stem.connection.authenticate`, we may mistakenly raise a
   :class:`~stem.connection.CookieAuthRejected` rather than
   :class:`~stem.connection.IncorrectCookieValue`. This is because we rely on
-  tor's error messaging which is liable to change in future versions (`ticket
-  <https://trac.torproject.org/4817>`_).
+  tor's error messaging which is liable to change in future versions
+  (:trac:`4817`).
 
   This can authenticate to either a :class:`~stem.control.BaseController` or
   :class:`~stem.socket.ControlSocket`.
@@ -781,7 +781,7 @@ def get_protocolinfo(controller):
   According to the control spec the cookie_file is an absolute path. However,
   this often is not the case (especially for the Tor Browser Bundle). If the
   path is relative then we'll make an attempt (which may not work) to correct
-  this (`ticket <https://trac.torproject.org/1101>`_).
+  this (:trac:`1101`).
 
   This can authenticate to either a :class:`~stem.control.BaseController` or
   :class:`~stem.socket.ControlSocket`.
diff --git a/stem/control.py b/stem/control.py
index f3e6d17..aed45ad 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -1001,10 +1001,9 @@ class Controller(BaseController):
     Provides an iterator for all of the microdescriptors that tor presently
     knows about.
 
-    **Tor does not expose this information via the control protocol (`ticket
-    <https://trac.torproject.org/8323>`_).** Until it does this reads the
-    microdescriptors from disk, and hence won't work remotely or if we lack
-    read permissions.
+    **Tor does not expose this information via the control protocol
+    (:trac:`8323`).** Until it does this reads the microdescriptors from disk,
+    and hence won't work remotely or if we lack read permissions.
 
     :param list default: items to provide if the query fails
 
diff --git a/stem/descriptor/microdescriptor.py b/stem/descriptor/microdescriptor.py
index ac1eb2e..499e170 100644
--- a/stem/descriptor/microdescriptor.py
+++ b/stem/descriptor/microdescriptor.py
@@ -17,7 +17,7 @@ other descriptors.
 To do so you need to match the microdescriptor's digest against its
 corresponding router status entry. For added fun as of this writing the
 controller doesn't even surface those router status entries
-(`ticket <https://trac.torproject.org/7953>`_).
+(:trac:`7953`).
 
 For instance, here's an example that prints the nickname and fignerprints of
 the exit relays.
diff --git a/test/runner.py b/test/runner.py
index 4d8e533..9e4ec83 100644
--- a/test/runner.py
+++ b/test/runner.py
@@ -396,8 +396,7 @@ class Runner(object):
   def is_ptraceable(self):
     """
     Checks if tor's 'DisableDebuggerAttachment' option is set. This feature has
-    a lot of adverse side effects
-    (`ticket <https://trac.torproject.org/projects/tor/ticket/3313>`_).
+    a lot of adverse side effects (:trac:`3313`).
 
     :returns: True if debugger attachment is allowed, False otherwise
     """



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits