def __init__( self, repo, remote=None, git_ssh=None, pkey=None, cache=None, # pylint: disable=W0613 path_for_doc_fn=None, max_file_size=None): """GitActionBase subclass to interact with a Git repository Example: gd = TaxonomicAmendmentsGitAction(repo="/home/user/git/foo") Note that this requires write access to the git repository directory, so it can create a lockfile in the .git directory. """ GitActionBase.__init__(self, 'amendment', repo, remote, git_ssh, pkey, cache, path_for_doc_fn, max_file_size, path_for_doc_id_fn=get_filepath_for_id)
def __init__( self, repo, remote=None, git_ssh=None, pkey=None, cache=None, # pylint: disable=W0613 path_for_doc_fn=None, max_file_size=None): """Create a GitAction object to interact with a Git repository Example: gd = PhylesystemGitAction(repo="/home/user/git/foo") Note that this requires write access to the git repository directory, so it can create a lockfile in the .git directory. """ GitActionBase.__init__( self, 'nexson', repo, remote, git_ssh, pkey, cache, path_for_doc_fn, max_file_size, path_for_doc_id_fn=get_filepath_for_namespaced_id)
def __init__(self, repo, remote=None, git_ssh=None, pkey=None, cache=None, # pylint: disable=W0613 path_for_doc_fn=None, max_file_size=None): """GitActionBase subclass to interact with a Git repository Example: gd = TreeCollectionsGitAction(repo="/home/user/git/foo") Note that this requires write access to the git repository directory, so it can create a lockfile in the .git directory. """ GitActionBase.__init__(self, 'collection', repo, remote, git_ssh, pkey, cache, path_for_doc_fn, max_file_size, path_for_doc_id_fn=get_filepath_for_id)