Package bodhi :: Module masher :: Class Masher
[hide private]
[frames] | no frames]

Class Masher

source code

The Masher. This is a TurboGears extension that runs alongside bodhi that is in charge of queueing and dispatching mash composes.

Instance Methods [hide private]
 
__init__(self) source code
 
queue(*args, **kw) source code
 
done(*args, **kw)
Called by each MashTask upon completion.
source code
 
_mash(self, task)
Dispatch a given MashTask
source code
 
lastlog(self)
Return the most recent mash (log_filename, log_data)
source code
 
mash_tags(self, tags)
Run mash on a list of tags
source code
 
__str__(self)
Return a string representation of the Masher, including the current queue and updates that are getting moved/mashed
source code
Method Details [hide private]

queue(*args, **kw)

source code 
Decorators:
  • @synchronized(lock)

done(*args, **kw)

source code 
Called by each MashTask upon completion. If there are more in the queue, then dispatch them.
Decorators:
  • @synchronized(lock)