Example #1
0
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')
Example #2
0
def packages():
    result = views.packages(flask.g.db)
    return handle_result(result, 'packages.html')
Example #3
0
def package(name):
    result = views.package(flask.g.db, name)
    return handle_result(result, 'package.html')
Example #4
0
def index():
    result = views.index(flask.g.db)
    return handle_result(result, 'index.html')