l.s.i.a.IArchiveSubscriberView(Interface) : interface documentation

Part of lp.soyuz.interfaces.archive View In Hierarchy

Known subclasses: lp.soyuz.interfaces.webservice.IArchive

No interface docstring
Attribute archive_url External archive URL.
Bool is_active Undocumented
Attribute num_pkgs_building Tuple of packages building and waiting to build
Bool publish Whether or not to update the apt repository. If disabled, nothing will be published. If the archive is private then additionally no builds will be dispatched.
Bool can_be_published True if this archive can be published, considering both the explicit publish flag and any other constraints.
Attribute series_with_sources DistroSeries to which this archive has published sources
Object signing_key Undocumented
Method getSigningKeyData Get the public key used to sign this repository.
Method getAuthToken Returns an IArchiveAuthToken for the archive in question for
Method api_getPublishedSources All ISourcePackagePublishingHistory target to this archive.
Method getPublishedSources All ISourcePackagePublishingHistory target to this archive.
Method newAuthToken Create a new authorization token.
archive_url =
External archive URL.
is_active =
Undocumented
num_pkgs_building =
Tuple of packages building and waiting to build
publish =
Whether or not to update the apt repository. If disabled, nothing will be published. If the archive is private then additionally no builds will be dispatched.
can_be_published =
True if this archive can be published, considering both the explicit publish flag and any other constraints.
series_with_sources =
DistroSeries to which this archive has published sources
signing_key =
Undocumented
@export_read_operation()
@operation_for_version('devel')
def getSigningKeyData():
Get the public key used to sign this repository.

If the repository has a signing key but it cannot be retrieved from the keyserver, then the response will have an appropriate 4xx or 5xx HTTP status code. Otherwise, returns the ASCII-armoured public key material as a text string, or None if the repository has no signing key.

def getAuthToken(person):
Returns an IArchiveAuthToken for the archive in question for IPerson provided.
ReturnsA IArchiveAuthToken, or None if the user has none.
@export_operation_as('getPublishedSources')
@rename_parameters_as('source_name', 'distro_series')
@operation_parameters(TextLine(_('Source package name'), False), TextLine(_('Version'), False), Choice(_('Package Publishing Status'), _('The status of this publishing record'), PackagePublishingStatus, False), Reference(IDistroSeries, _('Distroseries name'), False), Choice(_('Pocket'), _('The pocket into which this entry is published'), PackagePublishingPocket, False, True), Bool(_('Exact Match'), _('Whether or not to filter source names by exact matching.'), False), Datetime(_('Created Since Date'), _('Return entries whose `date_created` is greater than or equal to this date.'), False), TextLine(_('Component name'), False), Bool(_('Order by creation date'), _('Return newest results first. This is recommended for applications that need to catch up with publications since their last run. If not specified, results are ordered by source package name (lexicographically), then by descending version and then descending ID.'), False))
@operation_returns_collection_of(Interface)
@export_read_operation()
def api_getPublishedSources(name=None, version=None, status=None, distroseries=None, pocket=None, exact_match=False, created_since_date=None, component_name=None, order_by_date=False):
All ISourcePackagePublishingHistory target to this archive.
def getPublishedSources(name=None, version=None, status=None, distroseries=None, pocket=None, exact_match=False, created_since_date=None, eager_load=False, component_name=None, order_by_date=False):
All ISourcePackagePublishingHistory target to this archive.
Parametersnamesource name filter (exact match or SQL LIKE controlled by 'exact_match' argument). Name can be a single string or a list of strings.
versionsource version filter (always exact match).
statusPackagePublishingStatus filter, can be a sequence.
distroseriesIDistroSeries filter.
pocketPackagePublishingPocket filter. This may be an iterable of more than one pocket or a single pocket.
exact_matcheither or not filter source names by exact matching.
created_since_dateOnly return results whose date_created is greater than or equal to this date.
component_namecomponent filter. Only return source packages that are in this component.
order_by_dateOrder publications by descending creation date and then by descending ID. This is suitable for applications that need to catch up with publications since their last run. If not specified, publications are ordered by source package name (lexicographically), then by descending version and then descending ID.
ReturnsSelectResults containing ISourcePackagePublishingHistory, ordered by name. If there are multiple results for the same name then they are sub-ordered newest first.
def newAuthToken(person, token=None, date_created=None):
Create a new authorization token.
ParameterspersonAn IPerson whom this token is for.
tokenOptional unicode text to use as the token. One will be generated if not given.
date_createdOptional, defaults to now.
ReturnsA new IArchiveAuthToken
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.