def newpackage(): # create git folder path gitfolder = os.path.join(APP.config['GIT_DIRECTORY_PATH'], flask.g.fas_user.username) result = views.newpackage( flask.g.db, flask.request.method, flask.request.form, flask.g.fas_user.username, gitfolder) return handle_result(result, 'new.html')
def packages(): result = views.packages(flask.g.db) return handle_result(result, 'packages.html')
def package(name): result = views.package(flask.g.db, name) return handle_result(result, 'package.html')
def index(): result = views.index(flask.g.db) return handle_result(result, 'index.html')