Package buildbot :: Package db
[frames] | no frames]

Source Code for Package buildbot.db

 1  # garbage-collection rules: the following rows can be GCed: 
 2  #  a patch that isn't referenced by any sourcestamps 
 3  #  a sourcestamp that isn't referenced by any buildsets 
 4  #  a buildrequest that isn't referenced by any buildsets 
 5  #  a buildset which is complete and isn't referenced by anything in 
 6  #   scheduler_upstream_buildsets 
 7  #  a scheduler_upstream_buildsets row that is not active 
 8  #  a build that references a non-existent buildrequest 
 9   
10  from buildbot.db.connector import DBConnector 
11  from buildbot.db.dbspec import DBSpec 
12  from buildbot.db.exceptions import DBAlreadyExistsError, DatabaseNotReadyError 
13