Skip Menu |

This queue is for tickets about the SVN-Web CPAN distribution.

Report information
The Basics
Id: 19556
Status: resolved
Priority: 0/
Queue: SVN-Web

People
Owner: Nobody in particular
Requestors: jnwhiteh [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: FEATURE: Download tarball link
I'd love to either write a class extending SVN that allows tarball download capability, but I'm not sure where to even start looking. Is there someplace it should/would fit in, or is it something that's even been considered before? I just switched over from WebSvn (Which has severe issues with my large repository, but SVN::Web is quite speedy in comparison) Thanks for a great project-- hope to hear from you soon.
On Mon May 29 00:31:18 2006, guest wrote: Show quoted text
> I'd love to either write a class extending SVN that allows tarball > download capability, but I'm not sure where to even start looking. Is > there someplace it should/would fit in, or is it something that's even > been considered before?
Ticket 16421 is asking for the same thing. I haven't had a chance to implement it yet. A few reasons why. 1. If you're running Apache you can configure it to serve up your repository, read-only, over HTTP. Then anyone else with a Subversion client can download files straight from your repo. 2. Each tarball would have to be built on the fly. That could be quite an effective denial-of-service attack on your server. Unless you build in checks so that only certain paths could be downloaded. At which point you're probably better off with the approach in (1). Show quoted text
> I just switched over from WebSvn (Which has severe issues with my > large repository, but SVN::Web is quite speedy in comparison) > Thanks for a great project-- hope to hear from you soon.
Cheers, glad it's working for you. I'll have another look at the options for generating tarballs, and see if there's a resource-light way to do it. N
Subject: Re: [rt.cpan.org #19556] FEATURE: Download tarball link
Date: Tue, 30 May 2006 17:11:14 -0400
To: bug-SVN-Web [...] rt.cpan.org
From: "Jim Whitehead II" <jnwhiteh [...] gmail.com>
I assume that the caching module is checking revision number when generating the new pages (based on the path its viewing). My thought was the tarballs be generated on the fly, but cached (I would reccomend the option be disabled by default) to prevent the DoS. In our case, we have a large number of users who like to stay on the cutting edge for a number of projects-- but not enough to download a SVN client and learn the whole system. We've been able to (in the past) point them to a tarball link that would generate the latest version, or serve the cached version where necessary. Thanks for the quick response. On 5/30/06, via RT <bug-SVN-Web@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=19556 > > > On Mon May 29 00:31:18 2006, guest wrote:
> > I'd love to either write a class extending SVN that allows tarball > > download capability, but I'm not sure where to even start looking. Is > > there someplace it should/would fit in, or is it something that's even > > been considered before?
> > Ticket 16421 is asking for the same thing. I haven't had a chance to > implement it yet. A few reasons why. > > 1. If you're running Apache you can configure it to serve up your > repository, read-only, over HTTP. Then anyone else with a Subversion > client can download files straight from your repo. > > 2. Each tarball would have to be built on the fly. That could be quite > an effective denial-of-service attack on your server. Unless you build > in checks so that only certain paths could be downloaded. At which > point you're probably better off with the approach in (1). >
> > I just switched over from WebSvn (Which has severe issues with my > > large repository, but SVN::Web is quite speedy in comparison) > > Thanks for a great project-- hope to hear from you soon.
> > Cheers, glad it's working for you. > > I'll have another look at the options for generating tarballs, and see > if there's a resource-light way to do it. > > N >
On Tue May 30 17:12:45 2006, jnwhiteh@gmail.com wrote: Show quoted text
> In our case, we have a large number of users who like to stay on the
cutting Show quoted text
> edge for a number of projects-- but not enough to download a SVN
client and Show quoted text
> learn the whole system. We've been able to (in the past) point them to a > tarball link that would generate the latest version, or serve the cached > version where necessary.
Would SVN::Notify::Snapshot meet your needs? It's a plugin for SVN::Notify that can generate a snapshot (tarball, etc) of your repository during the post-commit phase. N
youre welcome to send a patch.