mod_pubsub_github/mod_pubsub_github.lua
changeset 3526 c2e038e573be
parent 3525 a200fbce0ecb
child 3529 8c1a3b989990
--- a/mod_pubsub_github/mod_pubsub_github.lua	Sun Mar 31 18:22:35 2019 +0200
+++ b/mod_pubsub_github/mod_pubsub_github.lua	Sun Mar 31 18:24:49 2019 +0200
@@ -72,6 +72,7 @@
 			:tag("entry", { xmlns = "http://www.w3.org/2005/Atom" })
 				:tag("id"):text(commit.id):up()
 				:tag("title"):text(commit.message:match("^[^\r\n]*")):up()
+				:tag("summary"):text(("Commit to %s by %s: %s"):format(data.repository.name, commit.author.name, commit.message:match("^[^\r\n]*"))):up()
 				:tag("content"):text(commit.message):up()
 				:tag("link", { rel = "alternate", href = commit.url }):up()
 				:tag("published"):text(commit.author.date):up()