~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/interfaces/distroseries.py

  • Committer: William Grant
  • Date: 2011-08-23 08:07:50 UTC
  • mto: This revision was merged to the branch mainline in revision 13784.
  • Revision ID: william.grant@canonical.com-20110823080750-k51yo7dkhqo57qil
DistroSeries.{getBinaryPackageCaches,removeOldCacheItems} are now on DistroSeriesPackageCache.

Show diffs side-by-side

added added

removed removed

Lines of Context:
739
739
        distribution 'main_archive'.
740
740
        """
741
741
 
742
 
    def getBinaryPackageCaches(archive=None):
743
 
        """All of the cached binary package records for this distroseries.
744
 
 
745
 
        If 'archive' is not given it will return all caches stored for the
746
 
        distroseries main archives (PRIMARY and PARTNER).
747
 
        """
748
 
 
749
 
    def removeOldCacheItems(archive, log):
750
 
        """Delete any records that are no longer applicable.
751
 
 
752
 
        Consider all binarypackages marked as REMOVED.
753
 
 
754
 
        Also purges all existing cache records for disabled archives.
755
 
 
756
 
        :param archive: target `IArchive`.
757
 
        :param log: the context logger object able to print DEBUG level
758
 
            messages.
759
 
        """
760
 
 
761
742
    def updateCompletePackageCache(archive, log, ztm, commit_chunk=500):
762
743
        """Update the binary package cache
763
744