Commit Graph

3 Commits

Author SHA1 Message Date
Harald Welte e5f036796c cgit: osmo-commit-filter.py: migrate from deprecated cgi.escape to html.escape
Our error.log is full of:

/usr/local/lib/cgit/filters/osmo-commit-filter.py:18: DeprecationWarning: cgi.escape is deprecated, use html.escape instead
  return '<a href="%s">%s</a>' % (url, cgi.escape(txt))

Change-Id: I97707519029d4f8d703d2df1b8beab15665d49b1
2020-10-03 12:15:45 +02:00
Harald Welte efdcfde38f cgit: change URL for gerrit change-ids
Change-Id: Ifda98d8081b976194a9fafcfdcdb6f6340df6844
Related:OS#4529
2020-05-08 19:59:16 +02:00
Harald Welte b317348065 Add osmocom-extended cgit container
This uses the debian-nginx container "ankitrgadiya/cgit:debian-nginx"
and adds pygments for syntax highlighting, as well as the osmocom
commit filter for linking to gerrit change-ids as well as
redmine issues

Change-Id: Iec75769a972950ed9df95d5b36aa930daad1565a
2018-03-28 13:45:48 +02:00