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

Re: svntar, anybody?

From: Martin Furter <mf_at_rola.ch>
Date: 2007-07-04 15:58:50 CEST

Hi Phil

On Wed, 4 Jul 2007, Ph. Marek wrote:

> Hello Martin!
>
> On Mittwoch, 4. Juli 2007, Martin Furter wrote:
>> I wrote one a while ago: http://svn.borg.ch/tmp/svntar/0.0.2/
>> It seems to do it's job but i'm sure there are tons of bugs in it.
>>
>> I was able to tar working copies an URLs with it (but forgot how it
>> works ;)
>>
>> If you try it please give me some feedback and i'll try to improve it.
> It seems to work just fine.
>
> Some points:
> - Does it handle long names, like GNU tar?
I found a description of "ustar" format and implemented that. It handles
filenames up to 253 chars (old tar handles only 99).

> - Could you parse the properties used by the meta-data branch and FSVS,
> to save the stored owner, group, mode and timestamp, please?
>
> (http://fsvs.tigris.org/source/browse/*checkout*/fsvs/trunk/www/doxygen/html/props_8c.html#293b9c3d742482839335a0631d8affab)
I don't know (yet) if I get the properties for free but it's definitely
possible. Though there may be a problem with uid and gid, tar stores them
as integers and as string. I'll have to find out how it behaves if I set
only one of those.

The fsvs documentation doesn't say if group and owner are stored as int or
string (actually it says "Modification time - svn:group." ;).

> - Support for device nodes would be nice, too.
How are they stored in the repos? Similar to symlinks?

> * Which license does apply?? GPL? BSD? Something else?
Oooh, I still didn't add one...
Is the subversion license OK or do you prefer another one?

> Otherwise, it does what I need ... Even includes compression, although
> some "-h" or "-?" switch would be nice :-)
I thought I get that for free... Will add it.

Hmm, I guess it's time to get it into a repos and add a version number
too...

Thanks.

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 4 15:58:46 2007

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