Ticket #43922

svn viewer fully integrated with the website

Open Date: 2022-02-19 17:55 Last Update: 2023-08-05 01:07

Reporter:
Owner:
(None)
Status:
Closed
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Postponed
File:
None

Details

Currently I have set up a "websvn" instance on a virtual host, so it is possibly to look up svn commits etc via a web browser. websvn is not super intuitive to me, and its look is also very different from the SvarDOS website.

The idea here would be to have a simple svn viewer integrated right in the website. It would share the same styling than the rest of the website, and would be kept in svn along with the rest of the files so it would require no configuration.

Such interface would need to provide:

- a view of all the files and directories in svn (with a configurable revision number)

- text viewer for text (and source code) files, with an optional "blame" view

- source code coloring would be nice if easy to add

- a view of all svn commits, where each commit would show the author, timestamp and log of the commit

- clicking on a commit shows the list of modified files, and for modified files another link allows to see a diff

The PHP code would rely either on svnlook or use the PHP SVN bindings. The latter would be much more comfortable, but they are not part of the PHP install on Debian... requires some "PEAR" magic (and I'm not even sure these bindings are still available for PHP 8 anyway).

Ticket History (3/4 Histories)

2022-02-19 17:55 Updated by: mateuszviste
  • New Ticket "svn viewer fully integrated with the website" created
2022-02-20 00:00 Updated by: bttr
Comment

It's probably easier to "just" create a SvarDOS template for WebSVN. Just my 2 cents.

2022-02-26 06:12 Updated by: bttr
  • Component Update from (None) to website
2023-08-05 01:07 Updated by: mateuszviste
  • Status Update from Open to Closed
  • Resolution Update from None to Postponed

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login