~edwargix/git.sr.ht

a82ce3cca6dac9e07d45c9a6ccb1291512cd01f4 — Ludovic Chabant 6 years ago 9c8d2f7
Print build submitter messages to the client
1 files changed, 3 insertions(+), 1 deletions(-)

M gitsrht/submit.py
M gitsrht/submit.py => gitsrht/submit.py +3 -1
@@ 152,7 152,9 @@ def do_post_update(context, refs):
            # TODO: move this to internal API
            r = Repository.query.get(repo["id"])
            s = GitBuildSubmitter(r, git_repo)
            s.submit(commit)
            res = s.submit(commit)
            if res.status != 'skipped':
                res.printmsgs()

    # TODO: get these from internal API
    # sync webhooks