Package bodhi :: Module new :: Class NewUpdateController
[hide private]
[frames] | no frames]

Class NewUpdateController

source code

                       object --+    
                                |    
turbogears.controllers.Controller --+
                                    |
                                   NewUpdateController

Instance Methods [hide private]
 
build_pkglist(self)
Cache a list of packages used for the package AutoCompleteField
source code
 
index(self, *args, **kw) source code
 
search(self, name, *_decorator__varargs, **_decorator__kwargs)
Called automagically by the AutoCompleteWidget.
source code

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

Class Variables [hide private]
  build_dir = '/home/lmacken/code/hg.fedoraproject.org/bodhi/bod...
  packages = []
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

index(self, *args, **kw)

source code 
Decorators:
  • @identity.require(identity.not_anonymous())
  • @expose(template= "bodhi.templates.form")

search(self, name, *_decorator__varargs, **_decorator__kwargs)

source code 
Called automagically by the AutoCompleteWidget. If a package is specified (or 'pkg-'), return a list of available n-v-r's. This method also auto-completes packages.
Decorators:
  • @expose(format= "json")

Class Variable Details [hide private]

build_dir

Value:
'/home/lmacken/code/hg.fedoraproject.org/bodhi/bodhi/../packages'