Part of lp.soyuz.interfaces.archive View In Hierarchy
Known subclasses: lp.soyuz.interfaces.archive.IDistributionArchive, lp.soyuz.interfaces.archive.IPPA
Known implementations: lp.soyuz.model.archive.Archive
Inherited from IArchivePublic:
| Attribute | id | The archive ID. |
| TextLine | title | Undocumented |
| Bool | enabled | Whether the archive is enabled or not. |
| Bool | build_debug_symbols | Whether builds for this archive should create debug symbol packages. |
| Int | authorized_size | Maximum size, in MiB, allowed for this PPA. |
| Int | purpose | Undocumented |
| Int | status | Undocumented |
| Int | sources_cached | Number of source packages cached in this PPA. |
| Int | binaries_cached | Number of binary packages cached in this PPA. |
| Attribute | package_description_cache | Concatenation of the source and binary packages published in this archive. Its content is used for indexed searches across archives. |
| Object | signing_key | Undocumented |
| Attribute | debug_archive | The archive into which debug binaries should be uploaded. |
| Attribute | archive_url | External archive URL. |
| Attribute | is_ppa | True if this archive is a PPA. |
| Attribute | is_copy | True if this archive is a copy archive. |
| Bool | is_main | Undocumented |
| Bool | is_active | Undocumented |
| Attribute | series_with_sources | DistroSeries to which this archive has published sources |
| Attribute | number_of_sources | The number of sources published in the context archive. |
| Attribute | number_of_binaries | The number of binaries published in the context archive. |
| Attribute | sources_size | The size of sources published in the context archive. |
| Attribute | binaries_size | The size of binaries published in the context archive. |
| Attribute | estimated_size | Estimated archive size. |
| Int | total_count | The total number of builds in this archive. This counter does not include discontinued (superseded, cancelled, obsoleted) builds |
| Int | pending_count | The number of pending builds in this archive. |
| Int | succeeded_count | The number of successful builds in this archive. |
| Int | building_count | The number of active builds in this archive. |
| Int | failed_count | The number of failed builds in this archive. |
| Datetime | date_created | The time when the archive was created. |
| Int | relative_build_score | A delta to apply to all build scores for this archive. |
| Text | external_dependencies | Newline-separated list of repositories to be used to retrieve any external build dependencies when building packages in this archive, in the format: |
| Method | getSourcesForDeletion | All ISourcePackagePublishingHistory available for deletion. |
| Method | getPublishedOnDiskBinaries | Unique IBinaryPackagePublishingHistory target to this archive. |
| Method | allowUpdatesToReleasePocket | Return whether the archive allows publishing to the release pocket. |
| Method | updateArchiveCache | Concentrate cached information about the archive contents. |
| Method | findDepCandidates | Return matching binaries in this archive and its dependencies. |
| Method | removeArchiveDependency | Remove the IArchiveDependency record for the given dependency. |
| Method | addArchiveDependency | Record an archive dependency record for the context archive. |
| Method | getPermissions | Get the IArchivePermission record with the supplied details. |
| Method | checkArchivePermission | Check to see if person is allowed to upload to component. |
| Method | canUploadSuiteSourcePackage | Check if 'person' upload 'suitesourcepackage' to 'archive'. |
| Method | checkUploadToPocket | Check if an upload to a particular archive and pocket is possible. |
| Method | checkUpload | Check if 'person' upload 'suitesourcepackage' to 'archive'. |
| Method | verifyUpload | Can 'person' upload 'sourcepackagename' to this archive ? |
| Method | canAdministerQueue | Check to see if person is allowed to administer queue items. |
| Method | getFileByName | Return the corresponding ILibraryFileAlias in this context. |
| Method | getBinaryPackageRelease | Find the specified IBinaryPackageRelease in the archive. |
| Method | getBinaryPackageReleaseByFileName | Return the corresponding IBinaryPackageRelease in this context. |
| Method | requestPackageCopy | Return a new PackageCopyRequest for this archive. |
| Method | newPackagesetUploader | Add a package set based permission for a person. |
| Method | getUploadersForPackageset | The ArchivePermission records for uploaders to the package set. |
| Method | deletePackagesetUploader | Revoke upload permissions for a person. |
| Method | getPackagesetsForUploader | The ArchivePermission records for the person's package sets. |
| Method | getComponentsForUploader | Return the components that 'person' can upload to this archive. |
| Method | getPackagesetsForSourceUploader | The package set based permissions for a given source and uploader. |
| Method | getPackagesetsForSource | All package set based permissions for the given source. |
| Method | isSourceUploadAllowed | True if the person is allowed to upload the given source package. |
| Method | getSourcePackageReleases | Return the releases for this archive. |
| Method | updatePackageDownloadCount | Update the daily download count for a given package. |
| Method | getPackageDownloadTotal | Get the total download count for a given package. |
| Method | _checkUpload | Wrapper around checkUpload for the web service API. |
Inherited from IHasOwner (via IArchivePublic):
| Attribute | owner | The object's owner, which is an IPerson. |
Inherited from IPrivacy (via IArchivePublic):
| Bool | private | Private objects are visible to members or subscribers. |
Inherited from IArchiveAppend:
| Method | syncSources | Synchronise (copy) named sources into this archive from another. |
| Method | syncSource | Synchronise (copy) a single named source into this archive. |
| Method | newSubscription | Create a new subscribtion to this archive. |
Inherited from IArchiveEdit:
| Bool | publish | Whether the archive is to be published or not. |
| Method | newPackageUploader | Add permisson for a person to upload a package to this archive. |
| Method | newComponentUploader | Add permission for a person to upload to a component. |
| Method | newQueueAdmin | Add permission for a person to administer a distroseries queue. |
| Method | deletePackageUploader | Revoke permission for the person to upload the package. |
| Method | deleteComponentUploader | Revoke permission for the person to upload to the component. |
| Method | deleteQueueAdmin | Revoke permission for the person to administer distroseries queues. |
| Method | enable | Enable the archive. |
| Method | disable | Disable the archive. |
| Method | delete | Delete this archive. |
Inherited from IArchiveView:
| TextLine | buildd_secret | The password used by the builder to access the archive. |
| Method | getPublishedSources | All ISourcePackagePublishingHistory target to this archive. |
| Method | getAllPublishedBinaries | All IBinaryPackagePublishingHistory target to this archive. |
| Method | getBuildCounters | Return a dictionary containing the build counters for an archive. |
| Method | getBuildSummariesForSourceIds | Return a dictionary containing a summary of the build statuses. |
| Method | getArchiveDependency | Return the IArchiveDependency object for the given dependency. |
| Method | getPermissionsForPerson | Return the IArchivePermission records applicable to the person. |
| Method | getUploadersForPackage | Return IArchivePermission records for the package's uploaders. |
| Method | getUploadersForComponent | Return IArchivePermission records for the component's uploaders. |
| Method | getQueueAdminsForComponent | Return IArchivePermission records for authorised queue admins. |
| Method | getComponentsForQueueAdmin | Return IArchivePermission for the person's queue admin components |
| Method | getPackageDownloadCount | Get the IBinaryPackageDownloadCount with the given key. |
| Method | getFilesAndSha1s | Return a dictionary with the filenames and the SHA1s for each |
| Method | getAuthToken | Returns an IArchiveAuthToken for the archive in question for |
| Method | newAuthToken | Create a new authorisation token. |
Inherited from IHasBuildRecords (via IArchiveView):
| Method | getBuildRecords | Return build records in the context it is implemented. |