Ticket #6615 (new defect)
Opened 4 years ago
Last modified 17 months ago
svn:externals not correctly displayed in browser
| Reported by: | anonymous | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | unscheduled |
| Component: | version control/browser | Version: | 0.11b1 |
| Severity: | minor | Keywords: | svn:externals |
| Cc: | itamarost@…, joel@… | ||
| Release Notes: | |||
| API Changes: | |||
Description
Using Trac 0.11b1, svn:externals can be followed using the browser.
However, imagine a directory which only contains links to externals modules (this could be a common use case, putting all external stuff in one place). Then when clicking on the left arrow to expand this folder, the "jquery Loading..." sends back an (empty) directory ! This is correct from a subversion point of view but a bit strange from a user point of view (which is not supposed to know svn internals) and we have to click on the directory name to get the svn:external link displayed.
The proposal should be : creating a particular directory entry icon which could represent an external link. Then, this link would be displayed as a special directory entry and the user would be able to follow this link without being disturbed by an empty dir content.
I put here another thougth as it is linked to my previous description : A great improvement of the svn:externals functionality would be to follow the link within the trac browser if the link target is related to the same repos. Indeed, consider this situation :
- Repos is stored here http://myserver/svn/repos
- The source directoy is http://myserver/svn/repos/project1/
- the target directory is http://myserver/svn/repos/modules/module1
The svn:externals property of http://myserver/svn/repos/project1/ is set to "module1 http://myserver/svn/repos/modules/module1"
Then when following the link in the trac browser http://myserver/trac/browser/project1/module1 , we are redirected to http://myserver/svn/repos/modules/module1 which is correct but which leaves trac pages. As the link is "external" from a svn point of view but "internal" from a trac point of view, the address could be transformed on the fly to http://myserver/trac/browser/modules/module1
Attachments
Change History
comment:1 Changed 4 years ago by eblot
- Milestone changed from 0.11 to 0.11.1
- Severity changed from normal to minor
comment:2 Changed 4 years ago by cboos
- Keywords svn:externals added
- Milestone changed from 0.11.1 to 2.0
Complementary to #6474
(and I start to be a bit more realistic for the planning of cool but non essential features ;-) )
comment:3 Changed 4 years ago by osimons
Also, this pre-supposes some knowledge of the URL location of the repos hooked onto Trac - see #1781 for discussion on that. Currently Trac only knows the path on disk.
comment:4 Changed 22 months ago by Itamar O <itamarost@…>
- Cc itamarost@… added
comment:5 Changed 22 months ago by cboos
- Milestone changed from 2.0 to unscheduled
Milestone 2.0 deleted
comment:6 Changed 21 months ago by joel@…
- Cc joel@… added
comment:7 Changed 17 months ago by cboos
- Milestone changed from triaging to unscheduled
Milestone triaging deleted



Should not block 0.11 release.