History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CIB-499
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: jason
Reporter: Daniel Ostermeier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pulse

Link file references to SCM viewer.

Created: 20/Jul/06 11:26 PM   Updated: 09/Nov/06 06:19 AM
Component/s: Scm, Web UI, External Integration
Affects Version/s: 1.1.2
Fix Version/s: 1.2.2


 Description  « Hide
Since you're on a roll, adding linking for files should be easy ;)
Instead of having the SCM viewer url point to the changeset, just
have it point to the root location. E.g.

http://fisheye.example.com/changelog/svn/

You can now figure out what to add depending on where you are.
E.g.

http://fisheye.example.com/changelog/svn/?cs=${revision} for the
revision

http://fisheye.example.com/changelog/svn/${filename}?r=${revision}

to go directly to the file.

This would work in fisheye anyway ;) I'm sure there are rules you could
discern for the other SCM viewer tools too.

--
What might be useful here is to have a couple of predefined configurations for fisheye and viewcvs etc where the user only needs to specify the base url - the changelist and file urls are automatically configured (based on the contents of an external properties file - so that it can be tweaked as needed).

Then, if there is an scm viewer that does not have built in support, we allow the user to specify all three pieces of information.
a) base url.
b) changelist url with appropriate variables.
c) file url with appropriate variables.


 All   Comments   Change History      Sort Order:
jason - 09/Aug/06 12:36 PM
Pushed to 1.2 where we can do this feature full justice.

jason - 09/Nov/06 06:19 AM
Implemented in change 2535. There is now a wizard to configure Fisheye, Trac, ViewVC and custom change viewers. Links can be provided to view, download and diff files. Current viewer URLs will be upgraded to custom change viewers. If you are using a now-built-in viewer, you will probably want to edit and change the type (e.g. to Fisheye) then reconfigure the details.