dulwich.client
module documentationdulwich
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
- quiet
- report-status
- delete-refs
Known capabilities that are not supported:
- shallow
- no-progress
- include-tag
Class | InvalidWants | Invalid wants. |
Class | ReportStatusParser | Handle status as reported by servers with 'report-status' capability. |
Function | read_pkt_refs | Undocumented |
Class | FetchPackResult | Result of a fetch-pack operation. |
Class | GitClient | Git smart server client. |
Function | check_wants | Check that a set of wants is valid. |
Function | remote_error_from_stderr | Return an appropriate exception based on stderr output. |
Class | TraditionalGitClient | Traditional Git client. |
Class | TCPGitClient | A Git Client that works over TCP directly (i.e. git://). |
Class | SubprocessWrapper | A socket-like object that talks to a subprocess via pipes. |
Function | find_git_command | Find command to run for system Git (usually C Git). |
Class | SubprocessGitClient | Git client that talks to a server using a subprocess. |
Class | LocalGitClient | Git Client that just uses a local Repo. |
Class | SSHVendor | A client side SSH implementation. |
Class | StrangeHostname | Refusing to connect to strange SSH hostname. |
Class | SubprocessSSHVendor | SSH vendor that shells out to the local 'ssh' command. |
Class | PLinkSSHVendor | SSH vendor that shells out to the local 'plink' command. |
Function | ParamikoSSHVendor | Undocumented |
Class | SSHGitClient | Undocumented |
Function | default_user_agent_string | Undocumented |
Function | default_urllib3_manager | Return urllib3 connection pool manager. |
Class | HttpGitClient | No class docstring; 0/1 class methods, 4/10 methods documented |
Function | get_transport_and_path_from_url | Obtain a git client from a URL. |
Function | parse_rsync_url | Parse a rsync-style URL. |
Function | get_transport_and_path | Obtain a git client from a URL. |
Function | _fileno_can_read | Check if a file descriptor is readable. |
Function | _win32_peek_avail | Wrapper around PeekNamedPipe to check how many bytes are available. |
Function | _read_shallow_updates | Undocumented |
Parameters | wants | Set of object SHAs to fetch |
refs | Refs dictionary to check against |
Return urllib3
connection pool manager.
Honour detected proxy configurations.
Parameters | config | dulwich.config.ConfigDict instance with Git configuration. |
kwargs | Additional arguments for urllib3.ProxyManager | |
Returns | urllib3.ProxyManager instance for proxy configurations,
urllib3.PoolManager otherwise. |
Parameters | url | URL to open (a unicode string) |
config | Optional config object | |
thin_packs | Whether or not thin packs should be retrieved | |
report_activity | Optional callback for reporting transport activity. | |
Returns | Tuple with client instance and relative path. |
Parameters | location | URL or path (a string) |
config | Optional config object | |
thin_packs | Whether or not thin packs should be retrieved | |
report_activity | Optional callback for reporting transport activity. | |
Returns | Tuple with client instance and relative path. |