Package coprs :: Package logic :: Module builds_logic :: Class BuildChrootsLogic
[hide private]
[frames] | no frames]

Class BuildChrootsLogic

source code


Class Methods [hide private]
 
new(cls, build, mock_chroot, **kwargs)
Create new instance of BuildChroot (which is not assigned to any session)
source code
 
get_by_build_id_and_name(cls, build_id, name) source code
 
get_multiply(cls) source code
 
filter_by_build_id(cls, query, build_id) source code
 
filter_by_project_id(cls, query, project_id) source code
 
filter_by_project_user_name(cls, query, username) source code
 
filter_by_state(cls, query, state) source code
 
filter_by_group_name(cls, query, group_name) source code
 
filter_by_copr_and_mock_chroot(cls, query, copr, mock_chroot)
Filter BuildChroot query so it returns only instances related to particular Copr and MockChroot.
source code
 
by_copr_and_mock_chroot(cls, copr, mock_chroot)
Given Copr and MockChroot instances, return query object which provides a list of related BuildChroots.
source code
Method Details [hide private]

new(cls, build, mock_chroot, **kwargs)
Class Method

source code 

Create new instance of BuildChroot (which is not assigned to any session)

Each freshly created instance of BuildChroot has to be assigned to pre-existing Build and MockChroot, hence the mandatory arguments.