Package dakweb :: Package queries :: Module suite
[hide private]
[frames] | no frames]

Module suite

source code

Suite related queries


Contact: Debian FTPMaster <ftpmaster@debian.org>

Copyright: 2014 Mark Hymers <mhy@debian.org>

License: GNU General Public License version 2 or later

Functions [hide private]
list of dictionaries
suites()
Give information about all known suites.
source code
dictionary
suite(suite=None)
Gives information about a single suite.
source code

Imports: bottle, json, DBConn, Suite, QueryRegister


Function Details [hide private]

suites()

source code 

Give information about all known suites.

Returns: list of dictionaries
Dictionaries made out of
  • name
  • codename
  • dakname
  • archive
  • architectures
  • components
Decorators:
  • @bottle.route('/suites')
Mappings:
  • name maps to Suite: in the release file
  • codename maps to Codename: in the release file.
  • dakname is an internal name and should not be relied upon.

suite(suite=None)

source code 

Gives information about a single suite. Note that this routine will look up a suite first by the main suite_name, but then also by codename if no suite is initially found. It can therefore be used to canonicalise suite names.

Parameters:
  • suite (string) - Name or codename of the suite.
Returns: dictionary
A dictionary of
  • name
  • codename
  • dakname
  • archive
  • architectures
  • components
Decorators:
  • @bottle.route('/suite/')

See Also: suites on how to receive a list of valid suites.

Mappings:
  • name maps to Suite: in the release file
  • codename maps to Codename: in the release file.
  • dakname is an internal name and should not be relied upon.