Part of lp.soyuz.scripts.custom_uploads_copier View In Hierarchy
| Method | __init__ | Undocumented |
| Method | isCopyable | Is upload the kind of PackageUploadCustom that we can copy? |
| Method | autoApprove | Can custom be automatically approved from source_archive? |
| Method | getCandidateUploads | Find custom uploads that may need copying. |
| Method | extractSeriesKey | Get the relevant fields out of filename for custom_type. |
| Method | getKey | Get an indexing key for upload. |
| Method | getLatestUploads | Find the latest uploads. |
| Method | isObsolete | Is upload superseded by one that the target series already has? |
| Method | isForValidDAS | Is upload for a valid DAS for the target series? |
| Method | copyUpload | Copy original_upload into self.target_series. |
| Method | copy | Copy uploads from source_series-source_pocket. |
custom be automatically approved from source_archive?filename for custom_type.| Parameters | source_series | The DistroSeries whose uploads to get. |
| source_pocket | The PackagePublishingPocket to inspect. | |
| Returns | A dict containing the latest uploads, indexed by keys as
returned by getKey. | |
upload superseded by one that the target series already has?| Parameters | upload | A PackageUploadCustom from the source series. |
| target_uploads |
upload for a valid DAS for the target series?| Parameters | upload | A PackageUploadCustom from the source series. |