incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #5772 Allura Code Viewer: enable viewing documentation directly from the repository
Date Tue, 19 Nov 2013 15:57:33 GMT
Alternative for SVN is to use http:// URLs to the repository directly, and make sure that the
html files have the svn:mime-type property set to text/html


** [tickets:#5772] Allura Code Viewer: enable viewing documentation directly from the repository**

**Status:** open
**Created:** Thu Feb 07, 2013 08:29 PM UTC by DRC
**Last Updated:** Wed Jul 24, 2013 11:11 AM UTC
**Owner:** nobody

This is one of several tickets I am creating to log what I feel are shortcomings in the new
(Allura) code viewer relative to the old (ViewVC) code viewer. In all of these cases, simply
providing a way for users to continue using ViewVC would be an acceptable workaround.

Several of my projects rely on the ability to view static HTML and text documents directly
in the repository so that different versions of these documents can easily be linked from
our wiki. For instance:

The new code viewer provides no way of doing that. The closest I can get with the new viewer
is to provide a link for viewing the text files with line numbers and other decorations:

or for downloading the file (not displaying it in the browser):

But nothing can be done for HTML pages.

Suggested resolution:

Add a separate "view" mode for the file, perhaps implemented similarly to how you are implementing
the History view. For instance:

Unless I miss my guess, this should allow static HTML pages and text documents in the repository
to be displayed directly in the browser.  In ViewVC, when displaying an in-tree HTML file,
it will correctly link to any other HTML pages in the same repository as well as correctly
display images in the same repository, provided that the links to them are all relative. 
Thus, the new viewer would need to do likewise.


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message