Part of lp.soyuz.browser.archive View In Hierarchy
Known subclasses: lp.registry.browser.distroseries.DistroSeriesDifferenceBaseView, lp.soyuz.browser.archive.ArchivePackageCopyingView
| Method | do_copy | Copy packages and add appropriate feedback to the browser page. |
This will copy asynchronously, scheduling jobs that will be processed by a script.
| Parameters | sources_field_name | The name of the form field to set errors on when the copy fails |
| source_pubs | A list of SourcePackagePublishingHistory to copy | |
| dest_archive | The destination IArchive | |
| dest_series | The destination IDistroSeries | |
| dest_pocket | The destination PackagePublishingPocket | |
| include_binaries | Boolean, whether to copy binaries with the sources | |
| dest_url | The URL of the destination to display in the notification box. Defaults to the target archive and will be automatically escaped for inclusion in the output. | |
| dest_display_name | The text to use for the dest_url link. Defaults to the target archive's display name and will be automatically escaped for inclusion in the output. | |
| person | The person requesting the copy. | |
| check_permissions: boolean indicating whether or not the requester's permissions to copy should be checked. | ||
| sponsored_person | An IPerson representing the person being sponsored. | |
| Returns | True if the copying worked, False otherwise. | |