Permalink
Browse files

Scripts: Added GH links to report

  • Loading branch information...
pbeckingham committed May 13, 2018
1 parent 38b0e69 commit 034337f5357aa311f34341f75e766eed8ed5f945
Showing with 5 additions and 1 deletion.
  1. +5 −1 scripts/report
@@ -333,7 +333,11 @@ def composeCommitDescription(config, project, commit):
commit_url = commit['repository'].replace('.git', '')
commit_url += '/commit/{}'.format(commit['commit'])
link = '<a href="{}">{}</a>{}'.format(commit_url, commit['commit'][:8], locked)

elif 'github.com' in commit['repository']:
project_name = project.replace('.git', '')
commit_url = commit['repository'].replace('.git', '')
commit_url += '/commit/{}'.format(commit['commit'])
link = '<a href="{}">{}</a>{}'.format(commit_url, commit['commit'][:8], locked)
else:
link = '{}{}'.format(commit['commit'][:8], locked)

0 comments on commit 034337f

Please sign in to comment.