[aur-dev] [PATCH 0/4] Add Markdown syntax to comments

Lukas Fleischer lfleischer at archlinux.org
Sun Apr 23 16:52:58 UTC 2017


This patch series moves comment rendering to a separate Python script,
adds markdown support and also makes Git commit identifiers clickable.

Comments welcome!

Lukas Fleischer (4):
  Render comments when storing them in the database
  Add Markdown support to package comments
  Reintroduce backwards-compatible hyperlink syntax
  Make references to Git commits clickable

 aurweb/scripts/rendercomment.py | 100 ++++++++++++++++++++++++++++++++++++++++
 conf/config.proto               |   2 +
 schema/aur-schema.sql           |   1 +
 setup.py                        |   1 +
 test/setup.sh                   |   1 +
 test/t2600-rendercomment.sh     |  23 +++++++++
 upgrading/4.6.0.txt             |   6 +++
 web/lib/pkgbasefuncs.inc.php    |  40 ++++++++++++++--
 web/template/pkg_comments.php   |   4 ++
 9 files changed, 174 insertions(+), 4 deletions(-)
 create mode 100755 aurweb/scripts/rendercomment.py
 create mode 100755 test/t2600-rendercomment.sh

-- 
2.12.2


More information about the aur-dev mailing list