class documentation
class SubprocessGitClient(TraditionalGitClient):
Git client that talks to a server using a subprocess.
Class Method | from |
Create an instance of this client from a urlparse.parsed object. |
Class Variable | git |
Undocumented |
Method | _connect |
Create a connection to the server. |
Inherited from TraditionalGitClient
:
Method | __init__ |
Create a new GitClient instance. |
Method | archive |
Retrieve an archive of the specified tree. |
Method | fetch |
Retrieve a pack from a git smart server. |
Method | get |
Retrieve the current refs from a git smart server. |
Method | send |
Upload a pack to a remote repository. |
Constant | DEFAULT |
Undocumented |
Instance Variable | _remote |
Undocumented |
Instance Variable | _report |
Undocumented |
Inherited from GitClient
(via TraditionalGitClient
):
Method | clone |
Clone a repository. |
Method | fetch |
Fetch into a target repository. |
Method | get |
Retrieves full url to given path. |
Static Method | _should |
Undocumented |
Method | _handle |
Handle the tail of a 'git-receive-pack' request. |
Method | _negotiate |
Undocumented |
Method | _negotiate |
Undocumented |
Instance Variable | _fetch |
Undocumented |
Instance Variable | _report |
Undocumented |
Instance Variable | _send |
Undocumented |
overrides
dulwich.client.GitClient.from_parsedurl
Create an instance of this client from a urlparse.parsed object.
Parameters | |
parsedurl | Result of urlparse() |
**kwargs | Undocumented |
Returns | |
A GitClient object |
Create a connection to the server.
This method is abstract - concrete implementations should implement their own variant which connects to the server and returns an initialized Protocol object with the service ready for use and a can_read function which may be used to see if reads would block.
Parameters | |
service | Undocumented |
path | The path we should pass to the service. (as bytestirng) |
cmd | The git service name to which we should connect. |