Package coprs :: Module models :: Class BuildChroot
[hide private]
[frames] | no frames]

Class BuildChroot

source code


Representation of Build<->MockChroot relation

Instance Methods [hide private]
 
name(self)
Textual representation of name of this chroot
source code
 
state(self)
Return text representation of status of this build chroot
source code
 
finished(self) source code
 
task_id(self) source code
 
dist_git_url(self) source code
 
result_dir_url(self) source code
 
result_dir(self) source code
 
__str__(self) source code

Inherited from helpers.Serializer: serializable_attributes, to_dict

Class Variables [hide private]
  mock_chroot_id = db.Column(db.Integer, db.ForeignKey("mock_chr...
  mock_chroot = db.relationship("MockChroot", backref= db.backre...
  build_id = db.Column(db.Integer, db.ForeignKey("build.id"), pr...
  build = db.relationship("Build", backref= db.backref("build_ch...
  git_hash = db.Column(db.String(40))
  status = db.Column(db.Integer, default= StatusEnum("waiting"))
  started_on = db.Column(db.Integer)
  ended_on = db.Column(db.Integer, index= True)
  build_requires = db.Column(db.Text)
Method Details [hide private]

name(self)

source code 

Textual representation of name of this chroot

Decorators:
  • @property

state(self)

source code 

Return text representation of status of this build chroot

Decorators:
  • @property

finished(self)

source code 
Decorators:
  • @property

task_id(self)

source code 
Decorators:
  • @property

dist_git_url(self)

source code 
Decorators:
  • @property

result_dir_url(self)

source code 
Decorators:
  • @property

result_dir(self)

source code 
Decorators:
  • @property

__str__(self)
(Informal representation operator)

source code 
Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

mock_chroot_id

Value:
db.Column(db.Integer, db.ForeignKey("mock_chroot.id"), primary_key= Tr\
ue)

mock_chroot

Value:
db.relationship("MockChroot", backref= db.backref("builds"))

build_id

Value:
db.Column(db.Integer, db.ForeignKey("build.id"), primary_key= True)

build

Value:
db.relationship("Build", backref= db.backref("build_chroots"))