Package daklib :: Module dbconn :: Class Suite
[hide private]
[frames] | no frames]

Class Suite

source code


Instance Methods [hide private]
 
__init__(self, suite_name=None, version=None) source code
 
properties(self)
This method should be implemented by all derived classes and returns a list of the important properties.
source code
 
__eq__(self, val) source code
 
__ne__(self, val) source code
 
details(self) source code
list
get_architectures(self, skipsrc=False, skipall=False)
Returns list of Architecture objects
source code
sqlalchemy.orm.query.Query
get_sources(self, source)
Returns a query object representing DBSource that is part of suite.
source code
 
get_overridesuite(self) source code
 
update_last_changed(self) source code
 
path(self) source code
 
release_suite_output(self) source code

Inherited from ORMObject: __repr__, __str__, classname, clone, session

Class Methods [hide private]

Inherited from ORMObject: get

Class Variables [hide private]
  __hash__ = ORMObject.__hash__
Method Details [hide private]

properties(self)

source code 

This method should be implemented by all derived classes and returns a list of the important properties. The properties 'created' and 'modified' will be added automatically. A suffix '_count' should be added to properties that are lists or query objects. The most important property name should be returned as the first element in the list because it is used by repr().

Overrides: ORMObject.properties
(inherited documentation)

get_architectures(self, skipsrc=False, skipall=False)

source code 

Returns list of Architecture objects

Parameters:
  • skipsrc (boolean) - Whether to skip returning the 'source' architecture entry (Default False)
  • skipall (boolean) - Whether to skip returning the 'all' architecture entry (Default False)
Returns: list
list of Architecture objects for the given name (may be empty)

get_sources(self, source)

source code 

Returns a query object representing DBSource that is part of suite.

  • source - source package name, eg. mailfilter, bbdb, glibc
Parameters:
  • source (string) - source package name
Returns: sqlalchemy.orm.query.Query
a query of DBSource

path(self)

source code 
Decorators:
  • @property

release_suite_output(self)

source code 
Decorators:
  • @property