Modify ↓
      
Opened 19 years ago
Closed 19 years ago
#3579 closed enhancement (fixed)
Add direct access to the raw content in the repository
| Reported by: | Christian Boos | Owned by: | Christian Boos | 
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 | 
| Component: | version control | Version: | devel | 
| Severity: | normal | Keywords: | raw format | 
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
As discussed on the Mailing List, this is a feature which is quite useful for being able to have direct access to the HTML resources in the repository (like documentation), when using the ?format=raw URL suffix is not wanted, as it doesn't get propagated by relative links within those documents.
Therefore I propose to add:
/sourcerequest dispatcher, for accessing the raw source/source-rXYZrequest dispatcher, for accessing the raw source at the specified revision- the raw-source: TracLink prefix, for easily creating links to the above URLs,
raw-source:/trunk/README.htmlorraw-source:/trunk/README.html@234when specifying a revision. 
The implementation will be based on this patch.
Attachments (1)
Change History (7)
comment:1 by , 19 years ago
| Description: | modified (diff) | 
|---|---|
| Keywords: | raw format added; documentation removed | 
| Version: | 0.9.6 → devel | 
by , 19 years ago
| Attachment: | raw_source-r3622.patch added | 
|---|
comment:3 by , 19 years ago
Sounds good: the first "path" element should be mandatory and interpreted as a revision number.
comment:5 by , 19 years ago
| Milestone: | → 0.11 | 
|---|---|
| Resolution: | duplicate | 
| Status: | closed → reopened | 
  Note:
 See   TracTickets
 for help on using tickets.
    


  
Implementation of the feature; apply the patch like this:
cd trac/trunk; patch -p1 < raw_source-r3622.patch