l.s.s.f.PubSourceChecker : class documentation

Part of lp.soyuz.scripts.ftpmaster View In Hierarchy

Map and probe a Source/Binaries publication couple.

Receive the source publication data and its binaries and perform a group of heuristic consistency checks.

Method __init__ Undocumented
Method addBinary Append the binary data to the current publication list.
Method check Setup check environment and perform the required checks.
Method renderReport Render a formatted report for the publication group.
Method _checkComponent Check if the binary component matches the correct component.
Method _checkSection Check if the binary section matches the correct section.
Method _checkPriority Check if the binary priority matches the correct priority.
def __init__(self, name, version, component, section, urgency):
Undocumented
def addBinary(self, name, version, architecture, component, section, priority):
Append the binary data to the current publication list.
def check(self):
Setup check environment and perform the required checks.
def _checkComponent(self, bin):
Check if the binary component matches the correct component.

'correct' is the most frequent component in this binary package group

def _checkSection(self, bin):
Check if the binary section matches the correct section.

'correct' is the most frequent section in this binary package group

def _checkPriority(self, bin):
Check if the binary priority matches the correct priority.

'correct' is the most frequent priority in this binary package group

def renderReport(self):

Render a formatted report for the publication group.

Return None if no issue was annotated or an formatted string including:

SourceName_Version Component/Section/Urgency | # bin <BINREPORTS>
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.