Package coprs :: Package logic :: Module coprs_logic :: Class MockChrootsLogic
[hide private]
[frames] | no frames]

Class MockChrootsLogic

source code


Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
get(cls, os_release, os_version, arch, active_only=False, noarch=False) source code
 
get_from_name(cls, chroot_name, active_only=False, noarch=False)
chroot_name should be os-version-architecture, e.g.
source code
 
get_multiple(cls, active_only=False) source code
 
add(cls, name) source code
 
new(cls, mock_chroot) source code
 
edit_by_name(cls, name, is_active) source code
 
update(cls, mock_chroot) source code
 
delete_by_name(cls, name) source code
 
delete(cls, mock_chroot) source code
 
tuple_from_name(cls, name, noarch=False)
input should be os-version-architecture, e.g.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_from_name(cls, chroot_name, active_only=False, noarch=False)
Class Method

source code 

chroot_name should be os-version-architecture, e.g. fedora-rawhide-x86_64 the architecture could be optional with noarch=True

Return MockChroot object for textual representation of chroot

tuple_from_name(cls, name, noarch=False)
Class Method

source code 

input should be os-version-architecture, e.g. fedora-rawhide-x86_64

the architecture could be optional with noarch=True

returns ("os", "version", "arch") or ("os", "version", None)