Subject: Parameters Passed to about-formatting.sh
Date: Sun, 29 Nov 2015 20:36:58 +0100 [thread overview]
Message-ID: <565B53DA.1060605@aegee.org> (raw)
Hello,
I use markdown 2.6.5, python 3, cgit v0.11.2-87-g4458abf, and I have in
cgitrc:
about-filter=/usr/lib64/cgit/filters/about-formatting.sh
readme=:readme.md
When I call http://....cgit/repository4/about , as first parameter to
about-formatting.sh is passed "repository4/about" instead of the
filename, which shall be proceeded by about-formatting.sh . In turn,
nothing works.
The root-readme is formatted properly, so that the problem shall not be
with python or markdown. In fact, in ui-summary.c:cgit_repo_readme()
filename indeed expands to "repository4/about", but it shall expand to
the full path of the readme.md file
Any ideas?
Thanks in advance for your assistance.
Greetings
Dilian
-- my cgitrc --
css=/cg/cgit.css
logo=/cg/cgit.png
cache-size=1000
clone-prefix=https://mail.aegee.org/cgit http://mail.aegee.org/cgit
favicon=/cg/favicon.ico
email-filter=lua:/usr/lib64/cgit/filters/email-libravatar.lua
enable-commig-graph=1
enable-http-clone=1
enable-index-links=1
enable-log-filecount=1
enable-log-linecount=1
enable-subject-links=1
mimetype-file=/etc/mime.types
remove-suffix=1
nocache=1
root-desc=Software developed and used by the AEGEE Mail Team
root-readme=/home/git/.gitolite/local/cgit-readme.md
snapshots=tar.xz
source-filter=/usr/lib64/cgit/filters/syntax-highlighting.py
about-filter=/usr/lib64/cgit/filters/about-formatting.sh
#about-filter=/usr/lib64/cgit/filters/html-converters/md2html
readme=master:readme.md
#readme=:README.md :README.mkd :readme.mkd :README.rst :readme.rst
:README.html :readme.html :README.htm :readme.htm :README.txt
:readme.txt :README :readme :INSTALL.md :install.md :INSTALL.mkd
:install.mkd :INSTALL.rst :install.rst :INSTALL.html :install.html
:INSTALL.htm :install.htm :INSTALL.txt :install.txt :INSTALL :install
virtual-root=/cgit/
# Where to find the git repos managed by gitolite
enable-git-config=1
project-list=/home/git/projects.list
scan-path=/home/git/repositories
reply other threads:[~2015-11-29 19:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=565B53DA.1060605@aegee.org \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).