Ticket #1118 (new defect)

Opened 2 years ago

Last modified 2 years ago

svn links in Trac automatically check out the svn files

Reported by: THALES Australia Assigned to: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords: subversion svn trac check out hyperlink download
Cc: Trac Release: 0.10

Description

I was wondering if it would be possible to write a plugin that would allow hyperlinks to subversion repositories to simply download that directory instead of opening the directory to browse.

It seems like something that this site (Trac Hacks) could also really benefit from. Instead of giving instructions that say: Open subversion and type in the following url, just clicking on the link would run subversion with the intent to check out the relevant directory.

If anyone can help me out, it would be much appreciated.

Attachments

Change History

01/24/07 07:56:18 changed by anonymous

Okay, this is totally dependent on you using Windows, Tortoise SVN and firefox, but if you do the following:

  • First, do the suggestion in #227 (may need to tweak it a little for .10)
  • Get TortoiseSVN installed on your windows machine
  • Get Firefox installed on your windows machine
  • install the TSVN plugin for firefox

You can then use firefox to browse source on your trac instance, right click on whatever SVNLink you want to use and use the Tortoise menu to check out.

01/28/07 22:11:23 changed by THALES Australia

Thanks a lot, anonymous - thats a great way to solve the problem. I think it will be the solution I end up using for the windows machines at the very least. However, I would like to find another way to fix this on computers that use linux as an operating system. There is no tortoise SVN for linux ,although I did find some alternatives: but I haven't found a browser plugin for any of them yet.

What I would ideally like to do, however, is make the changes to the server rather than having to install and update a whole network of computers. The network we are working with is quite large, and it would be best if we were able to confine the work to the trac/subversion server.

Thanks for your help though - realistically, it is probably the approach we will end up using.


Add/Change #1118 (svn links in Trac automatically check out the svn files)




Change Properties
Action