Browse Source

Include status information in Python modules.

Jelmer Vernooij 13 years ago
parent
commit
7c19e161ee
3 changed files with 33 additions and 38 deletions
  1. 0 36
      STATUS
  2. 18 1
      dulwich/client.py
  3. 15 1
      dulwich/server.py

+ 0 - 36
STATUS

@@ -1,36 +0,0 @@
-Server capabilities
-===================
-
-The Dulwich server supports the following capabilities:
-
- * include-tag
- * thin-pack
- * multi_ack_detailed
- * multi_ack
- * side-band-64k
- * ofs-delta
- * no-progress
- * report-status
- * delete-refs
-
-Known capabilities that are not supported:
- * shallow (http://pad.lv/909524)
-
-Client capabilities
-===================
-
-The Dulwich client supports the following capabilities:
-
- * thin-pack
- * multi_ack_detailed
- * multi_ack
- * side-band-64k
- * ofs-delta
- * report-status
-
-Known capabilities that are not supported:
-
- * shallow
- * delete-refs
- * no-progress
- * include-tag

+ 18 - 1
dulwich/client.py

@@ -17,7 +17,24 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 # MA  02110-1301, USA.
 
-"""Client side support for the Git protocol."""
+"""Client side support for the Git protocol.
+
+The Dulwich client supports the following capabilities:
+
+ * thin-pack
+ * multi_ack_detailed
+ * multi_ack
+ * side-band-64k
+ * ofs-delta
+ * report-status
+ * delete-refs
+
+Known capabilities that are not supported:
+
+ * shallow
+ * no-progress
+ * include-tag
+"""
 
 __docformat__ = 'restructuredText'
 

+ 15 - 1
dulwich/server.py

@@ -23,8 +23,22 @@ Documentation/technical directory in the cgit distribution, and in particular:
 
 * Documentation/technical/protocol-capabilities.txt
 * Documentation/technical/pack-protocol.txt
-"""
 
+Currently supported capabilities:
+
+ * include-tag
+ * thin-pack
+ * multi_ack_detailed
+ * multi_ack
+ * side-band-64k
+ * ofs-delta
+ * no-progress
+ * report-status
+ * delete-refs
+
+Known capabilities that are not supported:
+ * shallow (http://pad.lv/909524)
+"""
 
 import collections
 import os