[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: tarball download

From: Nick Thompson <nickthompson_at_agere.com>
Date: 2006-03-28 15:43:03 CEST

Well I've only been thinking about it so far. The viewvc python code
looks simple enough, but tar source code is much more complex. I
haven't looked at svn's export implementation yet - so, still at the
stage of scoping the work. But I expect the command would look
something like

svntar -cvf release5.tar svn://localhost/repos/projectname

Or for my purposes, exporting to stdout tar:

svntar -cvf - svn://localhost/repos/projectname

Anyway, like I said, its just an idea I have :-)

Nick.

On Tuesday 28 March 2006 14:33, SVN User wrote:
> Nick,
> What is the command to export and convert it to a tarball at the
> same time. will the command look like this??
> tar -vccf release5.tar svn export svn://localhost/repos/projectname
>
> Thanks
>
> On 3/28/06, Nick Thompson <nickthompson@agere.com> wrote:
> > On Tuesday 28 March 2006 14:11, Andy Levy wrote:
> > > On 3/28/06, SVN User <svn.user@gmail.com> wrote:
> > > > Hello Group,
> > > > How can I make a tarball out of the source code in the Tags
> > > > folder. If I try checking oout/Export the source code, it
> > > > takes along while for the files to transfer.
> > > > I wanted to know if there was a svn command to create a
> > > > tarball of the tag folders.
> > >
> > > Not that I've seen.
> > >
> > > This command would need to do an export of the files in the
> > > first place anyway.
> >
> > Yes and no :-) It would be possible to take the code from
> > "export" and meld it with the code from "tar". As the data comes
> > in from the repo, you can then write it straight out to a tar
> > file, rather than to individual files.
> >
> > viewvc seems to do exactly this - with python code, using the
> > python bindings. I've been thinking about writing something
> > similar in C. viewvc for me fails, because it doesn't support
> > authz. I like WebSVN, but its tarball feature is broken in
> > several ways. An svntar command, would make WebSVN tarball
> > download much better.
> >
> > Regards,
> > --
> >
> > > Nick Thompson
> >
> > -----------------------------------------------------------------
> >---- To unsubscribe, e-mail:
> > users-unsubscribe@subversion.tigris.org For additional commands,
> > e-mail: users-help@subversion.tigris.org

-- 
> Nick Thompson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 28 15:45:24 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.