To all, I was wondering if it was possible to setup samba shares that use subversion as a backing store for the files. Whenever a new file is created it is added to the subversion tree, whenever a file is opened it is checked out of the subversion tree, and whenever it is deleted it is removed from the subversion tree. The idea is that one could use subversion to retain previous versions of files and the subversion tree can be replicated using subversion replication tools. This would avoid costly COW operations for volume snapshots, provide better file control and auditing and allow files to be replicated in a consistent fashion. A bonus would be allowing access to previous subversion versions using the "Previous Versions" feature. Ross S. W. Walker Information Systems Manager Medallion Financial, Corp. 437 Madison Avenue 38th Floor New York, NY 10022 Tel: (212) 328-2165 Fax: (212) 328-2125 WWW: http://www.medallion.com <http://www.medallion.com/> ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
On Nov 9, 2007 10:05 AM, Ross S. W. Walker <rwalker@medallion.com> wrote:> To all, > > I was wondering if it was possible to setup samba shares that use subversion as a backing store for the files. > > Whenever a new file is created it is added to the subversion tree, whenever a file is opened it is checked out of the subversion tree, and whenever it is deleted it is removed from the subversion tree. > > The idea is that one could use subversion to retain previous versions of files and the subversion tree can be replicated using subversion replication tools.Have you looked at svnfs? A fuse module that makes a filesystem for accessing subversion repositories. http://www.jmadden.eu/index.php/svnfs/ John -- John M. Drescher
On Fri, Nov 09, 2007 at 10:05:34AM -0500, Ross S. W. Walker wrote:> To all, > > I was wondering if it was possible to setup samba shares that use subversion as a backing store for the files. > > Whenever a new file is created it is added to the subversion tree, whenever a file is opened it is checked out of the subversion tree, and whenever it is deleted it is removed from the subversion tree. > > The idea is that one could use subversion to retain previous versions of files and the subversion tree can be replicated using subversion replication tools. > > This would avoid costly COW operations for volume snapshots, provide better file control and auditing and allow files to be replicated in a consistent fashion. > > A bonus would be allowing access to previous subversion versions using the "Previous Versions" feature.You'd need to get a VFS written to do this. It's not difficult, but requires custom programming. There are various Samba support companies available that could do this on contract. Jeremy.