浏览代码

New upstream version 0.18.4

Jelmer Vernooij 7 年之前
父节点
当前提交
c3eac2eba6
共有 7 个文件被更改,包括 16 次插入6 次删除
  1. 8 0
      NEWS
  2. 1 1
      PKG-INFO
  3. 1 1
      README.swift.md
  4. 1 1
      dulwich.egg-info/PKG-INFO
  5. 1 1
      dulwich/__init__.py
  6. 3 1
      dulwich/client.py
  7. 1 1
      setup.py

+ 8 - 0
NEWS

@@ -1,3 +1,11 @@
+0.18.4	2017-10-01
+
+ BUG FIXES
+
+  * Make default User-Agent start with "git/" because GitHub won't response to
+    HTTP smart server requests otherwise (and reply with a 404).
+    (Jelmer vernooij, #562)
+
 0.18.3	2017-09-03
 0.18.3	2017-09-03
 
 
  BUG FIXES
  BUG FIXES

+ 1 - 1
PKG-INFO

@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Metadata-Version: 1.1
 Name: dulwich
 Name: dulwich
-Version: 0.18.3
+Version: 0.18.4
 Summary: Python Git Library
 Summary: Python Git Library
 Home-page: https://www.dulwich.io/
 Home-page: https://www.dulwich.io/
 Author: UNKNOWN
 Author: UNKNOWN

+ 1 - 1
README.swift.md

@@ -98,7 +98,7 @@ command with the name of the repository to create:
 
 
 The repository name will be the container that will contain all the Git
 The repository name will be the container that will contain all the Git
 objects for the repository. Then standard c Git client can be used to
 objects for the repository. Then standard c Git client can be used to
-perform operations againt this repository.
+perform operations against this repository.
 
 
 As an example we can clone the previously empty bare repository:
 As an example we can clone the previously empty bare repository:
 
 

+ 1 - 1
dulwich.egg-info/PKG-INFO

@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Metadata-Version: 1.1
 Name: dulwich
 Name: dulwich
-Version: 0.18.3
+Version: 0.18.4
 Summary: Python Git Library
 Summary: Python Git Library
 Home-page: https://www.dulwich.io/
 Home-page: https://www.dulwich.io/
 Author: UNKNOWN
 Author: UNKNOWN

+ 1 - 1
dulwich/__init__.py

@@ -22,4 +22,4 @@
 
 
 """Python implementation of the Git file formats and protocols."""
 """Python implementation of the Git file formats and protocols."""
 
 
-__version__ = (0, 18, 3)
+__version__ = (0, 18, 4)

+ 3 - 1
dulwich/client.py

@@ -1161,7 +1161,9 @@ class SSHGitClient(TraditionalGitClient):
 
 
 
 
 def default_user_agent_string():
 def default_user_agent_string():
-    return "dulwich/%s" % ".".join([str(x) for x in dulwich.__version__])
+    # Start user agent with "git/", because GitHub requires this. :-( See
+    # https://github.com/jelmer/dulwich/issues/562 for details.
+    return "git/dulwich/%s" % ".".join([str(x) for x in dulwich.__version__])
 
 
 
 
 def default_urllib2_opener(config):
 def default_urllib2_opener(config):

+ 1 - 1
setup.py

@@ -11,7 +11,7 @@ from distutils.core import Distribution
 import os
 import os
 import sys
 import sys
 
 
-dulwich_version_string = '0.18.3'
+dulwich_version_string = '0.18.4'
 
 
 include_dirs = []
 include_dirs = []
 # Windows MSVC support
 # Windows MSVC support