Package coprs :: Package logic :: Module modules_logic :: Class ModuleBuildFacade
[hide private]
[frames] | no frames]

Class ModuleBuildFacade

source code


Instance Methods [hide private]
 
__init__(self, user, copr, yaml, filename=None, distgit_name=None) source code
 
submit_build(self) source code
 
platform(self) source code
 
platform_chroots(self)
Return a list of chroot names based on buildrequired platform and enabled chroots for the project.
source code
 
add_builds(self, rpms, module) source code
 
get_clone_url(self, pkgname, rpm) source code
Class Methods [hide private]
 
get_build_batches(cls, rpms)
Determines Which component should be built in which batch.
source code
Method Details [hide private]

__init__(self, user, copr, yaml, filename=None, distgit_name=None)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

get_build_batches(cls, rpms)
Class Method

source code 

Determines Which component should be built in which batch. Returns an ordered list of grouped components, first group of components should be built as a first batch, second as second and so on. Particular components groups are represented by dicts and can by built in a random order within the batch. :return: list of lists

platform(self)

source code 
Decorators:
  • @property

platform_chroots(self)

source code 

Return a list of chroot names based on buildrequired platform and enabled chroots for the project.
Example: Copr chroots are ["fedora-22-x86-64", "fedora-23-x86_64"] and modulemd specifies "f23" as a platform,
         then `platform_chroots` are ["fedora-23-x86_64"]
         Alternatively, the result will be same for "-f22" platform
:return: list of strings

Decorators:
  • @property