l.s.m.packagediff : module documentation

Part of lp.soyuz.model

No module docstring
Function limit_deb_diff Pre-exec function to apply resource limits to debdiff.
Function perform_deb_diff Perform a (deb)diff on two packages.
Function download_file Download a file from the librarian to the destination path.
Class PackageDiff A Package Diff request.
Class PackageDiffSet This class is to deal with Distribution related stuff
def limit_deb_diff(timeout, max_size):
Pre-exec function to apply resource limits to debdiff.
ParameterstimeoutTime limit in seconds.
max_sizeMaximum output file size in bytes.
def perform_deb_diff(tmp_dir, out_filename, from_files, to_files):
Perform a (deb)diff on two packages.

A debdiff will be invoked on the files associated with the two packages to be diff'ed. The resulting output will be a tuple containing the process return code and the STDERR output.

Parameterstmp_dirThe temporary directory with the package files. (type: str)
out_filenameThe name of the file that will hold the resulting debdiff output.
tmp_dir (type: str)
from_filesA list with the names of the files associated with the first package. (type: list)
to_filesA list with the names of the files associated with the second package. (type: list)
def download_file(destination_path, libraryfile):
Download a file from the librarian to the destination path.
Parametersdestination_pathAbsolute destination path (where the file should be downloaded to). (type: str)
libraryfileThe librarian file that is to be downloaded. (type: LibraryFileAlias)
API Documentation for Launchpad, generated by pydoctor at 2018-10-23 00:00:11.