Exemple #1
0
 def edit(self):
     con = RepoManager()
     c.rep = con.getRepository(request.params['name'])
     c.repTypes = con.getRepositoriesTypes()
     c.repTypes = [it() for it in c.repTypes]
     c.templates = RepositoryController.template
     c.tempSize = len(c.templates)
     return render('/repositoryEdit.mako')
Exemple #2
0
 def info(self):
     tm = TasksManager()
     c.task = tm.getTask(request.params['name'])
     rm = RepoManager()
     c.info = rm.getRepository(c.task['repository'])
     return render('/taskInfo.mako')