示例#1
0
文件: api.py 项目: nevernet/pydelo
def api_project_branch_commits(id, branch):
    logger.debug("get branch commits:{0}, branch:{1}".format(id, branch))
    project = projects.get(id)
    projects.git_clone(project)
    return jsonify(dict(rc=0, data=projects.git_branch_commit_log(project, branch)))
示例#2
0
文件: api.py 项目: zq920320/pydelo
def api_project_branch_commits(id, branch):
    projects.git_clone(id)
    return jsonify(dict(rc=0, data=projects.git_log(id, branch)))
示例#3
0
文件: api.py 项目: nevernet/pydelo
def api_project_tags(id):
    project = projects.get(id)
    projects.git_clone(project)
    return jsonify(dict(rc=0, data=projects.git_tag(project)))
示例#4
0
文件: api.py 项目: zq920320/pydelo
def api_project_branches(id):
    projects.git_clone(id)
    return jsonify(dict(rc=0, data=projects.git_branch(id)))
示例#5
0
文件: api.py 项目: bingone/pydelo
def api_project_branch_commits(id, branch):
    projects.git_clone(id)
    return jsonify(dict(rc=0, data=projects.git_log(id)))
示例#6
0
文件: api.py 项目: bingone/pydelo
def api_project_tags(id):
    projects.git_clone(id)
    return jsonify(dict(rc=0, data=projects.git_tag(id)))
示例#7
0
文件: api.py 项目: bingone/pydelo
def api_project_branches(id):
    projects.git_clone(id)
    return jsonify(dict(rc=0, data=projects.git_branch(id)))
示例#8
0
文件: api.py 项目: zhangalbert/pydelo
def api_project_tags(id):
    project = projects.get(id)
    projects.git_clone(project)
    return jsonify(dict(rc=0, data=projects.git_tag(project)))