~edwargix/git.sr.ht

fffa8d0bca2860bcb19392eafbea2aa8f6643fb0 — Amin Bandali 7 years ago 2764830
Fix commit url for builds

Commit urls on job pages on builds.sr.ht have been broken since the
switch to the in-house repo viewer.  Hopefull this fixes them.
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht/worker.py
M gitsrht/worker.py => gitsrht/worker.py +1 -1
@@ 75,7 75,7 @@ def submit_builds(repo, git_repo, commit):
                # TODO: cgit replacement
                html.escape(first_line(commit.message)),
                str(commit.id)[:7],
                "{}/{}/{}/commit?id={}".format(
                "{}/{}/{}/commit/{}".format(
                    git_sr_ht,
                    "~" + repo.owner.username,
                    repo.name,