Package bodhi :: Module push :: Class PushController
[hide private]
[frames] | no frames]

Class PushController

source code

                                   object --+    
                                            |    
            turbogears.controllers.Controller --+
                                                |
                                   object --+   |
                                            |   |
turbogears.identity.conditions.SecureResource --+
                                                |
                                               PushController

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
repodiff(self)
When this method is first called, it saves a snapshot of the updates-stage tree (tree -s output).
source code
 
index(self, *_decorator__varargs, **_decorator__kwargs)
List updates tagged with a push/unpush/move request
source code
 
mash(self, updates, *_decorator__varargs, **kw) source code

Inherited from turbogears.identity.conditions.SecureResource: __getattribute__

Inherited from object: __delattr__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  require = <turbogears.identity.conditions.in_group object at 0...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

repodiff(self)

source code 
When this method is first called, it saves a snapshot of the updates-stage tree (tree -s output). When called a second time, it takes another snapshot, diffs it with the original, and stores the diff in 'repodiff_dir'.

index(self, *_decorator__varargs, **_decorator__kwargs)

source code 
List updates tagged with a push/unpush/move request
Decorators:
  • @expose(template= 'bodhi.templates.push', allow_json= True)

mash(self, updates, *_decorator__varargs, **kw)

source code 
Decorators:
  • @expose(allow_json= True)

Class Variable Details [hide private]

require

Value:
identity.in_group("releng")