l.s.a.o.UnknownOverridePolicy(BaseOverridePolicy) : class documentation

Part of lp.soyuz.adapters.overrides View In Hierarchy

Override policy that returns defaults.

Override policy that assumes everything passed in doesn't exist, so
returns the defaults.

Newly-uploaded files have a default set of overrides to be applied.
This reduces the amount of work that archive admins have to do
since they override the majority of new uploads with the same
values.  The rules for overriding are: (See bug #120052)
    'contrib' -> 'multiverse'
    'non-free' -> 'multiverse'
    everything else -> 'universe'
This mainly relates to Debian syncs, where the default component
is 'main' but should not be in main for Ubuntu.
Class Method getComponentOverride Undocumented
Method calculateSourceOverrides Undocumented
Method calculateBinaryOverrides Undocumented

Inherited from BaseOverridePolicy:

Method __init__ Undocumented
@classmethod
def getComponentOverride(cls, component=None, return_component=False):
Undocumented
def calculateSourceOverrides(self, sources):
Undocumented
def calculateBinaryOverrides(self, binaries):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.