diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-04-11 17:22:15 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-04-11 17:22:15 -0400 |
commit | 89ae3e26fc4d70f30036860c0b8b94f185a8c70f (patch) | |
tree | 4e3cba58b93627bf368633a94eff73a81e40fc29 | |
parent | df2abd8df825ff490590c0fa8c658934f43f3648 (diff) |
Reverse order of commit author & msg in builds
-rw-r--r-- | gitsrht/submit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitsrht/submit.py b/gitsrht/submit.py index c5b49e1..6907e9d 100644 --- a/gitsrht/submit.py +++ b/gitsrht/submit.py @@ -67,8 +67,7 @@ class GitBuildSubmitter(BuildSubmitterBase): return str(commit.id) def get_commit_note(self, commit): - return "{}\n\n[{}]({}) — [{}](mailto:{})".format( - "<pre>" + html.escape(first_line(commit.message)) + "</pre>", + return "[{}]({}) — [{}](mailto:{})\n\n{}".format( str(commit.id)[:7], "{}/{}/{}/commit/{}".format( git_sr_ht, @@ -77,6 +76,7 @@ class GitBuildSubmitter(BuildSubmitterBase): str(commit.id)), commit.author.name, commit.author.email, + "<pre>" + html.escape(first_line(commit.message)) + "</pre>", ) def get_clone_url(self): |