Part of lp.soyuz.model.distributionsourcepackagecache View In Hierarchy
Method | distributionsourcepackage | See IDistributionSourcePackageCache. |
Class Method | findCurrentSourcePackageNames | Undocumented |
Class Method | removeOld | Delete any cache records for removed packages. |
Class Method | update | Update the package cache for a given set of `ISourcePackageName`s. |
Class Method | updateOfficialBranches | Update the package cache for official branches with given names. |
Class Method | updateAll | Update the source package cache. |
Class Method | _find | The set of all source package info caches for this distribution. |
Inherited from SQLBase:
Method | __init__ | Extended version of the SQLObjectBase constructor. |
Method | __repr__ | Undocumented |
Method | destroySelf | Undocumented |
Method | __eq__ | Equality operator. |
Method | __ne__ | Inverse of __eq__. |
Method | __storm_invalidated__ | Flush cached properties. |
Class Method | _get_store | Undocumented |
If 'archive' is not given it will return all caches stored for the distribution main archives (PRIMARY and PARTNER).
Also purges all existing cache records for disabled archives.
Parameters | archive | target IArchive , or None to consider official
branches. |
log | the context logger object able to print DEBUG level messages. |
Update the package cache for a given set of `ISourcePackageName`s. Cached details include generated binarypackage names, summary and description fti.
We just cache the names for these.
Consider every non-REMOVED sourcepackage and entirely skips updates for disabled archives.
:return the number packages updated done
Parameters | archive | target IArchive ; |
log | logger object for printing debug level information; | |
ztm | transaction used for partial commits, every chunk of 'commit_chunk' updates is committed; | |
commit_chunk | number of updates before commit, defaults to 500. |