Part of lp.soyuz.interfaces.packagecloner View In Hierarchy
Method | clonePackages | Copy packages from origin to destination. |
Method | mergeCopy | Copy packages that are obsolete or missing in target archive. |
Method | packageSetDiff | Find packages that are obsolete or missing in target archive. |
Copies the source packages, as well as the binary packages for the
specified DistroArchSeries
.
Parameters | origin | the location from which packages are to be copied. |
destination | the location to which the data is to be copied. | |
distroarchseries_list | the binary packages will be copied for the distroarchseries pairs specified (if any). | |
processors | the processors that builds will be created for. | |
sourcepackagenames | the source packages which are to be copied. |
Copy source packages from a given source archive that are obsolete or missing in the target archive.
Parameters | origin | the location from which the data is to be copied. |
destination | the location to which the data is to be copied. |
Parameters | origin | the location with potentially new or fresher packages. |
destination | the target location. | |
diagnostic_output | an optional logger instance to which details of the source packages that are fresher or new in the origin archive will be logged. | |
Returns | a 2-tuple (fresher, new) where each element is a sequence
of SourcePackagePublishingHistory keys of packages
that are fresher and new in the origin archive respectively. |