b.s.r.SmartServerRepositoryTarball(SmartServerRepositoryRequest) : class documentation

Part of bzrlib.smart.repository View In Hierarchy

Get the raw repository files as a tarball.

The returned tarball contains a .bzr control directory which in turn contains a repository.

This takes one parameter, compression, which currently must be "", "gz", or "bz2".

This is used to implement the Repository.copy_content_into operation.

Method do_repository_request Override to provide an implementation for a verb.
Method _copy_to_tempdir Undocumented
Method _tarfile_response Undocumented
Method _tarball_of_dir Undocumented

Inherited from SmartServerRepositoryRequest:

Method do Execute a repository request.
Method recreate_search Recreate a search from its serialised form.
Method recreate_search_from_recipe Recreate a specific revision search (vs a from-tip search).

Inherited from SmartServerRequest (via SmartServerRepositoryRequest):

Method __init__ Constructor.
Method execute Public entry point to execute this request.
Method do_body Called if the client sends a body with the request.
Method do_chunk Called with each body chunk if the request has a streamed body.
Method do_end Called when the end of the request has been received.
Method setup_jail Undocumented
Method teardown_jail Undocumented
Method translate_client_path Translate a path received from a network client into a local
Method transport_from_client_path Get a backing transport corresponding to the location referred to by
Method _check_enabled Raises DisabledMethod if this method is disabled.
def do_repository_request(self, repository, compression):
Override to provide an implementation for a verb.
def _copy_to_tempdir(self, from_repo):
Undocumented
def _tarfile_response(self, tmp_dirname, compression):
Undocumented
def _tarball_of_dir(self, dirname, compression, ofile):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.