l.r.s.p.f.ProductReleaseFinder : class documentation

Part of lp.registry.scripts.productreleasefinder.finder View In Hierarchy

No class docstring
Method __init__ Undocumented
Method findReleases Scan for new releases in all products.
Method getFilters Build the list of products and filters.
Method handleProduct Scan for tarballs and create ProductReleases for the given product.
Method getReleaseFileNames Return a set of all current release file names for the product.
Method addReleaseTarball Create a ProductRelease (if needed), and attach tarball
Method handleRelease If the given URL looks like a release tarball, download it
def __init__(self, ztm, log):
Undocumented
def findReleases(self):
Scan for new releases in all products.
@read_transaction
def getFilters(self):
Build the list of products and filters.

Returns a list of (product_name, filters) for each product in the database, where the filter keys are series names.

def handleProduct(self, product_name, filters):
Scan for tarballs and create ProductReleases for the given product.
@read_transaction
def getReleaseFileNames(self, product_name):
Return a set of all current release file names for the product.
@write_transaction
def addReleaseTarball(self, product_name, series_name, release_name, filename, size, file, content_type):
Create a ProductRelease (if needed), and attach tarball
def handleRelease(self, product_name, series_name, url, file_names):
If the given URL looks like a release tarball, download it and create a corresponding ProductRelease.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.