Trees | Indices | Help |
---|
|
Representation of one build in one copr
|
|||
Inherited from |
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
id = db.Column(db.Integer, primary_key= True)
|
|||
pkgs = db.Column(db.Text)
|
|||
built_packages = db.Column(db.Text)
|
|||
pkg_version = db.Column(db.Text)
|
|||
canceled = db.Column(db.Boolean, default= False)
|
|||
repos = db.Column(db.Text)
|
|||
submitted_on = db.Column(db.Integer, nullable= False)
|
|||
started_on = db.Column(db.Integer)
|
|||
ended_on = db.Column(db.Integer)
|
|||
results = db.Column(db.Text)
|
|||
memory_reqs = db.Column(db.Integer, default= constants.DEFAULT
|
|||
timeout = db.Column(db.Integer, default= constants.DEFAULT_BUI
|
|||
user_id = db.Column(db.Integer, db.ForeignKey("user.id"))
|
|||
user = db.relationship("User", backref= db.backref("builds"))
|
|||
copr_id = db.Column(db.Integer, db.ForeignKey("copr.id"))
|
|||
copr = db.relationship("Copr", backref= db.backref("builds"))
|
|||
chroots = association_proxy("build_chroots", "mock_chroot")
|
|||
__mapper__ = <Mapper at 0x7f8ef1bc6610; Build>
|
|||
__table__ = Table('build', MetaData(bind=None), Column('id', I
|
|||
__tablename__ =
|
|||
_sa_class_manager = <ClassManager of <class 'coprs.models.Buil
|
|||
Inherited from Inherited from |
|
|||
chroot_states | |||
has_pending_chroot | |||
has_unfinished_chroot | |||
status Return build status according to build status of its chroots |
|||
state Return text representation of status of this build |
|||
cancelable Find out if this build is cancelable. |
|||
repeatable Find out if this build is repeatable. |
|||
deletable Find out if this build is deletable. |
|||
Inherited from Inherited from |
|
A simple constructor that allows initialization from kwargs. Sets attributes on the constructed instance using the names and values in ``kwargs``. Only keys that are present as attributes of the instance's class are allowed. These could be, for example, any mapped columns or relationships.
|
|
memory_reqs
|
timeout
|
__table__
|
_sa_class_manager
|
|
chroot_states
|
has_pending_chroot
|
has_unfinished_chroot
|
statusReturn build status according to build status of its chroots
|
stateReturn text representation of status of this build
|
cancelableFind out if this build is cancelable. Build is cancelabel only when it's pending (not started)
|
repeatableFind out if this build is repeatable. Build is repeatable only if it's not pending, starting or running
|
deletableFind out if this build is deletable. Build is deletable only when it's finished. (also means cancelled) It is important to remember that "failed" state doesn't ultimately mean it's finished - so we need to check whether the "ended_on" property has been set.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Feb 19 17:24:17 2016 | http://epydoc.sourceforge.net |