class documentation

Undocumented

Class Method from_parsedurl Create an instance of this client from a urlparse.parsed object.
Method __init__ Create a new GitClient instance.
Method get_url Retrieves full url to given path.
Instance Variable alternative_paths Undocumented
Instance Variable host Undocumented
Instance Variable key_filename Undocumented
Instance Variable password Undocumented
Instance Variable port Undocumented
Instance Variable ssh_command Undocumented
Instance Variable ssh_vendor Undocumented
Instance Variable username Undocumented
Method _connect Create a connection to the server.
Method _get_cmd_path Undocumented

Inherited from TraditionalGitClient:

Method archive Retrieve an archive of the specified tree.
Method fetch_pack Retrieve a pack from a git smart server.
Method get_refs Retrieve the current refs from a git smart server.
Method send_pack Upload a pack to a remote repository.
Constant DEFAULT_ENCODING Undocumented
Instance Variable _remote_path_encoding Undocumented
Instance Variable _report_status_parser Undocumented

Inherited from GitClient (via TraditionalGitClient):

Method clone Clone a repository.
Method fetch Fetch into a target repository.
Static Method _should_send_pack Undocumented
Method _handle_receive_pack_tail Handle the tail of a 'git-receive-pack' request.
Method _negotiate_receive_pack_capabilities Undocumented
Method _negotiate_upload_pack_capabilities Undocumented
Instance Variable _fetch_capabilities Undocumented
Instance Variable _report_activity Undocumented
Instance Variable _send_capabilities Undocumented
@classmethod
def from_parsedurl(cls, parsedurl, **kwargs):

Create an instance of this client from a urlparse.parsed object.

Parameters
parsedurlResult of urlparse()
**kwargsUndocumented
Returns
A GitClient object
def __init__(self, host, port=None, username=None, vendor=None, config=None, password=None, key_filename=None, ssh_command=None, **kwargs):

Create a new GitClient instance.

Parameters
hostUndocumented
portUndocumented
usernameUndocumented
vendorUndocumented
configUndocumented
passwordUndocumented
key_filenameUndocumented
ssh_commandUndocumented
**kwargsUndocumented
thin_packsWhether or not thin packs should be retrieved
report_activityOptional callback for reporting transport activity.
include_tagssend annotated tags when sending the objects they point to
def get_url(self, path):

Retrieves full url to given path.

Parameters
pathRepository path (as string)
Returns
Url to path (as string)
alternative_paths: dict =

Undocumented

host =

Undocumented

key_filename =

Undocumented

password =

Undocumented

port =

Undocumented

ssh_command =

Undocumented

ssh_vendor =

Undocumented

username =

Undocumented

def _connect(self, cmd, path):

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
cmdThe git service name to which we should connect.
pathThe path we should pass to the service. (as bytestirng)
def _get_cmd_path(self, cmd):

Undocumented