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

Extended Attribute Support (was Re: Mac OS X "resource fork" support)

From: Eric Gorr <mailist_at_ericgorr.net>
Date: 2005-08-13 20:34:28 CEST

Branko Čibej wrote:
> Eric Gorr wrote:
>
>>> Paul Sturm wrote:
>>>
>>>> I would like to volunteer to implement support for Mac OS X
>>>> "resource forks".
>>>
>>>
>>
>> There is no need to add a feature which solely supports Mac resource
>> forks, which is a good thing since it should never happen. As I
>> understand it, Resource forks are now fully within the POSIX xattr
>> (extended attributes for files) standard - at least starting with
>> MacOSX 10.4. So, if subversion supported xattrs, support resource
>> forks would simply be apart of this and would have applications far
>> beyond simple resource forks and likely increasingly useful on all
>> platforms Subversion runs on - including Windows.
>
>
> There are many filesystems that don't support extended attributes or
> several data streams per file.

Which is entirely irrelevent.

Again, based on my understanding, support for extended attributes will
be 'increasingly useful'. If some file system does not support such
things, it really isn't a problem...subversion can just not look for
such things on those file systems.

>>> So my first question is, is anyone already doing this?
>>
>> As far as I know, noone is working on adding xattr support.
>>
>> The aspect that makes implementing xattr support a bit easier is that
>> there is apparently a 1-1 mapping with the subversion file properties
>> feature.
>>
>> Search the archives for xattr for a little more information
>
> I don't think you can use properties for xattrs at the moment. The
> practical constraints on property sizes are much stricter than on file
> contents.

I am curious, why are the constraints on property sizes 'practical'?
Why would it not be reasonable to increase the allowed size?

If it is not practical to use subversion file property features, then I
suppose some other method would be needed to better support large sized
file metadata.

The point is, there is someone willing to volunteer to implement this
extremely useful feature for those filesystems which do support extended
attributes. It is the sole reason why using subversion is not practical
at least in my specific case.

-- 
== Eric Gorr ========= http://www.ericgorr.net ========= ICQ:9293199 ==
"Those who would sacrifice a little freedom for temporal safety
deserve neither to be safe or free." -- Benjamin Frankli
== Insults, like violence, are the last refuge of the incompetent... ===
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 13 20:35:46 2005

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

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