From vadm at googlecode.com Tue Dec 1 15:14:43 2009 From: vadm at googlecode.com (vadm at googlecode.com) Date: Tue, 01 Dec 2009 14:14:43 +0000 Subject: [vadm] Issue 3 in vadm: vadm doesn't support symlinks In-Reply-To: <0-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> References: <0-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> Message-ID: <0-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> Status: Accepted Owner: wouter.vanden.hove Labels: Type-Defect Priority-Medium New issue 3 by wouter.vanden.hove: vadm doesn't support symlinks http://code.google.com/p/vadm/issues/detail?id=3 What steps will reproduce the problem? 1. create a symlink 2. add it to vadm for versioning > What is the expected output? What do you see instead? [vadm:error] adding paths with link components not yet supported local('/opt/tools/vadm/symlink-test') Happens on any vadm-version. So currently you cannot track any symlink in vadm. (Don't know how difficult it is to add support for this.) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From vadm at googlecode.com Wed Dec 2 10:20:45 2009 From: vadm at googlecode.com (vadm at googlecode.com) Date: Wed, 02 Dec 2009 09:20:45 +0000 Subject: [vadm] Issue 3 in vadm: vadm doesn't support symlinks In-Reply-To: <0-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> References: <0-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> Message-ID: <1-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> Updates: Labels: -Type-Defect Type-Enhancement Comment #1 on issue 3 by holger.krekel: vadm doesn't support symlinks http://code.google.com/p/vadm/issues/detail?id=3 I amfraid adding the link issue is a bit more involved. for example: vadm x/y/z 'y' can be a link, 'z' can be a link. Also, how should permissions be handled - IIRC unix has permissions for the link itself and for what it points to - what should vadm record? Maybe i am just a bit confused ... in any case it would help if you could describe a fue fictional vadm invocations and results from how you would it to work? best, holger -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From vadm at googlecode.com Wed Dec 2 12:06:53 2009 From: vadm at googlecode.com (vadm at googlecode.com) Date: Wed, 02 Dec 2009 11:06:53 +0000 Subject: [vadm] Issue 3 in vadm: vadm doesn't support symlinks In-Reply-To: <1-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> References: <1-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> <0-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> Message-ID: <2-5713915690563136699-4550528126600873672-vadm=googlecode.com@googlecode.com> Comment #2 on issue 3 by wouter.vanden.hove: vadm doesn't support symlinks http://code.google.com/p/vadm/issues/detail?id=3 Good questions. For example, this is how I install vadm: > cd /opt/tools > virtualenv vadm > cd /opt/tools/vadm > source bin/activate #activating the virtualenv > easy_install vadm After easy_installing this I have a new command here > /opt/tools/vadm/bin/vadm but I don't want to add /opt/tools/vadm/bin/ to my global $path, because this bin-dir also contains python-executables. I install several of these tools each in its own virtualenv. (fabric, Zopeskel, i18ndude,...) Instead I create a symlink in /usr/local/bin > cd /usr/local/bin > ln -s /opt/tools/vadm/bin/vadm vadm To know which version of vadm and other python-libs are installed, I track these files in vadm: > vadm add /opt/dev/vadm/lib/python2.5/site-packages/easy-install.pth > vadm add /opt/dev/vadm/lib/python2.5/site-packages/setuptools.pth I also don't want to forget the symlink I manually created: > vadm add /usr/local/bin/vadm #not supported >> vadm x/y/z, 'y' can be a link, 'z' can be a link. I think it would be bad practice to link to a link, I don't know any good use-case for this. > how should permissions be handled the permission of the link itself, not what it points to. I think this is the same as symlink-support in subversion itself, see http://subversion.tigris.org/faq.html#symlinks I don't expect vadm to add any more logic behind it then subversion itself. >> vadm x/y/z, 'y' can be a link, 'z' can be a link. if y is a symlink, then I would not use this path to track z in svn, but use the real path. So I'm fine in not supporting this case. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings