Script soap_alpha_cgi
[hide private]
[frames] | no frames]

Script soap_alpha_cgi

Debian's PTS SOAP API reference

This is the API reference for Debian's Package Tracking System (PTS) SOAP interface. For more information, see the wiki page.

Naming conventions

Functions [hide private]
str
version()
Return the SOAP API version
str
latest_version(source)
Return the latest (known) version of a given source package.
dict with str keys and values
versions(source)
Return all the (known) versions of a given source package.
str
maintainer_name(source)
Return the name of the maintainer of a given source package.
str
maintainer_email(source)
Return the email of the maintainer of a given source package.
dict with str keys and values
maintainer(source)
Return information about the maintainer of a given source package.
list of str
uploader_names(source)
Return the names of all the uploaders of a given source package.
list of str
uploader_emails(source)
Return the emails of all the uploaders of a given source package.
list of dict with str keys and values
uploaders(source)
Return information about all the uploaders of a given source package.
str
standards_version(source)
Return latest Standards-Version value of a given source package, i.e., latest version of the policy manual that the package declares to be conforming to.
str
priority(source)
Return the Priority value of a given source package.
str
section(source)
Return the Section value of a given source package.
list of str
binary_names(source)
Return the names of all the binary packages of a given source package.
dict with str keys and int values
lintian(source)
Return the lintian summary for a given source package.
dict with str keys and int values
bug_counts(source)
Return the bug summary for a given source package.
 
hyperlinks(source)
NOT IMPLEMENTED.
 
files(source)
NOT IMPLEMENTED.
 
ubuntu_info(source)
NOT IMPLEMENTED.
 
subscriber_count(source)
NOT IMPLEMENTED.
 
todos(source)
NOT IMPLEMENTED.
 
problems(source)
NOT IMPLEMENTED.
 
news(source)
NOT IMPLEMENTED.
 
news_feed_url(source)
NOT IMPLEMENTED.
Variables [hide private]
  __svn_rev = '$Revision: 2066 $'
  __base_version = '0.1'
  __version = '0.1.2066'
  __warningregistry__ = {('Not importing directory \'/usr/lib/py...
Function Details [hide private]

version()

 

Return the SOAP API version

Returns: str
current API version as a string

latest_version(source)

 

Return the latest (known) version of a given source package.

Parameters:
  • source (str) - source package name
Returns: str
latest source package version

versions(source)

 

Return all the (known) versions of a given source package.

Parameters:
  • source (str) - source package name
Returns: dict with str keys and values
dictionary mapping suite names to the latest known version of the package in those suites.

E.g.: {'stable': '1.2-4', 'testing': '1.5-6', 'unstable': '1.5-7'}

maintainer_name(source)

 

Return the name of the maintainer of a given source package.

Parameters:
  • source (str) - source package name
Returns: str
maintainer name

maintainer_email(source)

 

Return the email of the maintainer of a given source package.

Parameters:
  • source (str) - source package name
Returns: str
maintainer email

maintainer(source)

 

Return information about the maintainer of a given source package.

Maintainer information are currently name and email, as returned respectively by maintainer_name and maintainer_email.

Parameters:
  • source (str) - source package name
Returns: dict with str keys and values
a dictionary mapping 'name' to the maintainer name and 'email' to the maintainer email

uploader_names(source)

 

Return the names of all the uploaders of a given source package.

Parameters:
  • source (str) - source package name
Returns: list of str
uploader name list

uploader_emails(source)

 

Return the emails of all the uploaders of a given source package.

Parameters:
  • source (str) - source package name
Returns: list of str
uploader email list

uploaders(source)

 

Return information about all the uploaders of a given source package.

Parameters:
  • source (str) - source package name
Returns: list of dict with str keys and values
a list of uploader information; information are returned in the same format of maintainer

standards_version(source)

 

Return latest Standards-Version value of a given source package, i.e., latest version of the policy manual that the package declares to be conforming to.

Parameters:
  • source (str) - source package name
Returns: str
latest package standards version

priority(source)

 

Return the Priority value of a given source package.

Parameters:
  • source (str) - source package name
Returns: str
package priority

section(source)

 

Return the Section value of a given source package.

Parameters:
  • source (str) - source package name
Returns: str
package section

binary_names(source)

 

Return the names of all the binary packages of a given source package.

Parameters:
  • source (str) - source package name
Returns: list of str
binary package names

lintian(source)

 

Return the lintian summary for a given source package.

Currently only warnings and errors are reported.

Parameters:
  • source (str) - source package name
Returns: dict with str keys and int values
a dictionary mapping 'warnings' to the number of lintian warnings and 'errors' to that of lintian errors

bug_counts(source)

 

Return the bug summary for a given source package.

Merged bugs are not counted more than once in the returned bug counts.

It is not granted that all counts are there in all summaries, some are optionals and are marked as such below.

Parameters:
  • source (str) - source package name
Returns: dict with str keys and int values
a dictionary with the following mappings:
  • 'all': total number of bugs
  • 'rc': release critical bugs
  • 'in': severity important and normal bugs
  • 'mw': severity medium and wishlist bugs
  • 'fp': fixed and pending bugs
  • 'help': bugs tagged help (optional)
  • 'gift': bugs tagged gift (optional)

hyperlinks(source)

 

NOT IMPLEMENTED.

Return a list of hyperlinks related to a given source package.

files(source)

 

NOT IMPLEMENTED.

Return (URLs of) files composing a given source package.

ubuntu_info(source)

 

NOT IMPLEMENTED.

Return the summary of Ubuntu-originated information about a given source package.

subscriber_count(source)

 

NOT IMPLEMENTED.

Return the number of subscribers to PTS notification for a given source package.

todos(source)

 

NOT IMPLEMENTED.

Return a list of TODO items related to a given source package.

problems(source)

 

NOT IMPLEMENTED.

Return a list of problems affecting a given source package.

news(source)

 

NOT IMPLEMENTED.

Return a list of recent news about a given source package.

news_feed_url(source)

 

NOT IMPLEMENTED.

Return the URL of a RSS feed containing news about a given source package.


Variables Details [hide private]

__warningregistry__

Value:
{('Not importing directory \'/usr/lib/python2.5/config\': missing __in\
it__.py',
  <type 'exceptions.ImportWarning'>,
  29): 1}