It simply lists svn-repository and generates static HTML and JSON web-files of this listing with ability of searching through file names. You can serve it with your web-server.
- python3
- subversion
- Clone this repo.
- Install dependencies with
pip3 install -r requirements.txt
-
Set your web-server (nginx/apache/etc) to serve this
svnquest
directory. -
Edit
config.yaml
: add svn repos you want to visualize. useurl
for repo url andalias
to show it on the html page.
Example:
remotes:
- url: http://svn.apache.org/repos/asf/spamassassin/trunk
alias: Spam Assassin
- url: http://svn.apache.org/repos/asf/falcon/trunk
alias: Falcon
You can user username
and password
if you have restricted repo:
remotes:
- url: http://svn.apache.org/repos/asf/spamassassin/trunk
alias: Spam Assassin
username: guest
password: guest
- Run
python3 svnquest.py
. It will list and generate files with this listing. Then you can find generated files inisidehtml/
andremotes/
directories.
Navigate your browser to <your.site/svnquest/html>
:
Choose repo and try to search something:
Right-click and you can open chosen file/directory in svn-browser:
You can create cron-task to regularly update repositories index.