[tor-commits] [bridgedb/master] Update URLs for new gitweb.

isis at torproject.org isis at torproject.org
Sat Jul 25 19:26:20 UTC 2015


commit dea3d6c78cc124ae2aa08dc209b1662969c8b7d4
Author: David Fifield <david at bamsoftware.com>
Date:   Tue Jun 2 12:15:34 2015 -0700

    Update URLs for new gitweb.
---
 doc/proposals/XXX-bridgedb-database-improvements.txt |    4 ++--
 doc/proposals/XXX-bridgedb-social-distribution.txt   |    2 +-
 lib/bridgedb/Bridges.py                              |    2 +-
 lib/bridgedb/bridges.py                              |    4 ++--
 lib/bridgedb/templates/base.html                     |    2 +-
 lib/bridgedb/test/deprecated.py                      |    2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/proposals/XXX-bridgedb-database-improvements.txt b/doc/proposals/XXX-bridgedb-database-improvements.txt
index 2d25bd2..fcbd579 100644
--- a/doc/proposals/XXX-bridgedb-database-improvements.txt
+++ b/doc/proposals/XXX-bridgedb-database-improvements.txt
@@ -240,9 +240,9 @@ Status: Open
 [0]: https://bridges.torproject.org
      mailto:bridges at bridges.torproject.org
 [1]: See proposals 199-bridgefinder-integration.txt at
-     https://gitweb.torproject.org/torspec.git/blob/HEAD:/proposals/199-bridgefinder-integration.txt
+     https://gitweb.torproject.org/torspec.git/tree/proposals/199-bridgefinder-integration.txt
 [2]: See XXX-social-bridge-distribution.txt at
-     https://gitweb.torproject.org/user/isis/bridgedb.git/blob/refs/heads/feature/7520-social-dist-design:/doc/proposals/XXX-bridgedb-social-distribution.txt
+     https://gitweb.torproject.org/user/isis/bridgedb.git/tree/doc/proposals/XXX-bridgedb-social-distribution.txt?h=feature/7520-social-dist-design
 [3]: https://metrics.torproject.org/formats.html#descriptortypes
 [4]: https://github.com/couchbase/couchbase-python-client#twisted-api
 [5]: https://twistedmatrix.com/documents/current/api/twisted.protocols.memcache.MemCacheProtocol.html
diff --git a/doc/proposals/XXX-bridgedb-social-distribution.txt b/doc/proposals/XXX-bridgedb-social-distribution.txt
index cd211c6..e424d34 100644
--- a/doc/proposals/XXX-bridgedb-social-distribution.txt
+++ b/doc/proposals/XXX-bridgedb-social-distribution.txt
@@ -481,7 +481,7 @@ Status: Draft
        Proceedings of the twelfth annual ACM-SIAM symposium on Discrete algorithms.
        Society for Industrial and Applied Mathematics, 2001.
        http://www.wisdom.weizmann.ac.il/%7Enaor/PAPERS/eotp.ps
-       https://gitweb.torproject.org/user/isis/bridgedb.git/tree/refs/heads/feature/7520-social-dist-design:/doc/papers/naor2001efficient.pdf
+       https://gitweb.torproject.org/user/isis/bridgedb.git/tree/doc/papers/naor2001efficient.pdf?h=feature/7520-social-dist-design
 [3]: https://crypto.stanford.edu/pbc/
      http://repo.or.cz/r/pbc.git
 [4]: https://www.gitorious.org/pypbc/pages/Documentation
diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index 191dc08..d4e331e 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -63,7 +63,7 @@ class BridgeRingParameters(object):
     :ivar list needFlags: List of two-tuples of desired flags_ assigned to a
         Bridge by the Bridge DirAuth.
 
-    .. _flags: https://gitweb.torproject.org/torspec.git/blob/HEAD:/dir-spec.txt#l1696
+    .. _flags: https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n1696
     """
 
     def __init__(self, needPorts=[], needFlags=[]):
diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges.py
index 0dfc4b1..5fe3355 100644
--- a/lib/bridgedb/bridges.py
+++ b/lib/bridgedb/bridges.py
@@ -109,7 +109,7 @@ class Flags(object):
           |      "Valid" if the router has been 'validated'.
 
         .. _dir-spec.txt:
-            https://gitweb.torproject.org/torspec.git/blob/7647f6d4d:/dir-spec.txt#l1603
+            https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt?id=7647f6d4d#n1603
 
         :param list flags: A list of strings containing each of the flags
             parsed from the 's'-line.
@@ -223,7 +223,7 @@ class PluggableTransport(BridgeAddressBase):
     additional specification.
 
     .. _pt-spec.txt:
-        https://gitweb.torproject.org/torspec.git/blob/HEAD:/pt-spec.txt
+        https://gitweb.torproject.org/torspec.git/tree/pt-spec.txt
 
     :type fingerprint: str
     :ivar fingerprint: The uppercased, hexadecimal fingerprint of the identity
diff --git a/lib/bridgedb/templates/base.html b/lib/bridgedb/templates/base.html
index f26837a..4a0b92d 100644
--- a/lib/bridgedb/templates/base.html
+++ b/lib/bridgedb/templates/base.html
@@ -91,7 +91,7 @@ ${next.body(strings, rtl=rtl, lang=lang, **kwargs)}
     <a href="https://gitweb.torproject.org/bridgedb.git">
       <i class="icon icon-large icon-code"> ${_("Source Code")}</i></a>
       ·  
-    <a href="https://gitweb.torproject.org/bridgedb.git/blob/HEAD:/CHANGELOG">
+    <a href="https://gitweb.torproject.org/bridgedb.git/tree/CHANGELOG">
       <i class="icon icon-large icon-rocket"> ${_("Changelog")}</i></a>
       ·  
     <a href="mailto:help at rt.torproject.org">
diff --git a/lib/bridgedb/test/deprecated.py b/lib/bridgedb/test/deprecated.py
index df660b6..39920a2 100644
--- a/lib/bridgedb/test/deprecated.py
+++ b/lib/bridgedb/test/deprecated.py
@@ -332,7 +332,7 @@ class PluggableTransport(object):
                 {'password': 'NEQGQYLUMUQGK5TFOJ4XI2DJNZTS4LRO'}
 
         .. _pt-spec.txt:
-             https://gitweb.torproject.org/torspec.git/blob/HEAD:/pt-spec.txt
+             https://gitweb.torproject.org/torspec.git/tree/pt-spec.txt
         """
         #XXX: assert are disabled with python -O
         assert isinstance(bridge, Bridge)





More information about the tor-commits mailing list