Commit Briefs

daf70786f9 Jelmer Vernooij

Release 0.21.6. (tags/dulwich-0.21.6)


98f303bdb2 GitHub

Merge pull request #1202 from nanonyme/nanonyme-patch-1

Raise GitProtocolError on unexpected pkt


6322250a9a GitHub

Raise GitProtocolError on unexpected pkt

There are some packets (like NAK) which have no sha. This does not change them to be handled but you get in exception always the command that failed to be unpacked instead of strange exception about there not being enough values to unpack.


4af6b54c4c GitHub

Merge pull request #1200 from jelmer/http-error

Raise GitProtocolError when encountering HTTP Errors in HTTPGitClient


47e157ee00 Jelmer Vernooij

Fix new flake errors


7574997132 Jelmer Vernooij

Update NEWS


a5e47fe514 Jelmer Vernooij

Raise GitProtocolError when encountering HTTP Errors in HTTPGitClient.

Fixes #1199


3c84bc409d GitHub

Merge pull request #1196 from jelmer/index-refactor

More refactoring of index


c070ed8c3c Jelmer Vernooij

Fix python 3.9 compatibility


9853838097 GitHub

Merge pull request #1195 from jelmer/enum-stage

Define enum for stage values


4c864bc9ec Jelmer Vernooij

Properly split out SerializedIndexEntry class


835a3fd9c5 Jelmer Vernooij

Define enum for stage



32820bdabd Jelmer Vernooij

Convert IndexEntry to dataclass


879fe6a17b GitHub

Merge pull request #1194 from pmrowla/win-git-bash

config: check both `git/etc` and `git/mingw64/etc` on windows


52328a607b Jelmer Vernooij

Split out a separate ConflictedIndexEntry class

This should make the changes transparent to existing API users (so long as they don't work in trees with conflicts). It also prevents repeated dictionary access.



75b0369cca Jelmer Vernooij

content-type: do slightly more correct header parsing


a1c3b3f820 GitHub

Merge pull request #1192 from anlambert/http-client-fix-content-type-check

client: Fix content type check in AbstractHttpGitClient._smart_request


b415021b0a GitHub

Merge pull request #1167 from jelmer/fix-iterobjects-subset

FIx iterobjects_subset


9049214d1c Antoine Lambert

client: Fix content type check in AbstractHttpGitClient._smart_request

Some git servers can send a Content-Type header containing a charset directive. Official git client can successfully clone repositories hosted on such server but dulwich was raising a GitProtocolError as the code to check the header value was not expecting a directive to be present in it.


c1c52f8958 GitHub

Merge pull request #1187 from jelmer/readthedocs

Add the readthedocs configuration



173584f7d6 GitHub

Merge pull request #1165 from jelmer/handle-missing

Handle missing object in iterobjects_subset


ef2ea2d154 Jelmer Vernooij

Fix codespell