Part of lp.archivepublisher.domination View In Hierarchy
This is used for second-pass binary domination: architecture-independent binary publications cannot be superseded as long as any architecture-dependent binary publications built from the same source package release are still active. Thus such arch-indep publications are reprieved from domination.
This class looks up whether publications for a release need that reprieve. That only needs to be looked up in the database once per (source package release, archive, distroseries, pocket). Hence this cache.
|Static Method||getKey||Extract just the relevant bits of information from a bpph.|
|Method||hasArchSpecificPublications||Does bpph have active, arch-specific publications?|
|Static Method||_lookUp||Look up an answer in the database.|
If so, the dominator will want to reprieve