Re: [Samba] SMB Shares with subversion backing store

2007-11-10 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy Allison wrote:
 On Fri, Nov 09, 2007 at 02:48:11PM -0500, Ross S. W. Walker wrote:
 I suppose I could contract it out to a development firm, but
 to put something like that together myself. Would the anti-virus
 VFS filter that's floating around provide a good enough framework
 for creating something like this?

 I don't know if the anti-virus VFS filter calls out to external
 applications or if it uses a library API, but even if I had to
 adapt it to an API (in fact a better approach) I could always
 use John Madden's FUSE svnfs as an example of how to write for
 that API.

 Even if I do decide to contract it out, I still need to get a
 feeling for the amount of work it will take so I don't get
 bilked on the job costs.
 
 Indeed. An anti-virus VFS would be a possible start point,
 but you'll need a more complete VFS implementation than
 just virus scanning.

Deryck wrote one a year or so ago I think.





jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHNc7XIR7qMdg1EfYRAminAKDwRWOkBpD4y2hV4LpvaYflC9P4rwCgpVVw
NXWllUGnFkPWafS5NX5+JbM=
=v9Yk
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] SMB Shares with subversion backing store

2007-11-09 Thread Ross S. W. Walker
John Drescher wrote:
 
 On Nov 9, 2007 10:05 AM, Ross S. W. Walker 
 [EMAIL PROTECTED] 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/

I just looked at it now.

I am not really looking to use it outside of samba, so a linux
pseudo-filesystem is more overkill for me. It may turn out helpful
later though for providing a point in time snapshot of the svn
tree, that could be used via the existing Previous Versions
feature, or for backup/restore purposes.

I was wondering if there was a samba plug-in module for this already,
it would be a big boon for compliance over here because it would
provide a track-changes log of activity that couldn't be modified by
the user.


Thanks,

Ross

__
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.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SMB Shares with subversion backing store

2007-11-09 Thread Jeremy Allison
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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] SMB Shares with subversion backing store

2007-11-09 Thread Ross S. W. Walker
Jeremy Allison wrote:
 
 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.

Thanks Jeremy,

I suppose I could contract it out to a development firm, but
to put something like that together myself. Would the anti-virus
VFS filter that's floating around provide a good enough framework
for creating something like this?

I don't know if the anti-virus VFS filter calls out to external
applications or if it uses a library API, but even if I had to
adapt it to an API (in fact a better approach) I could always
use John Madden's FUSE svnfs as an example of how to write for
that API.

Even if I do decide to contract it out, I still need to get a
feeling for the amount of work it will take so I don't get
bilked on the job costs.

-Ross

__
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.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SMB Shares with subversion backing store

2007-11-09 Thread Jeremy Allison
On Fri, Nov 09, 2007 at 02:48:11PM -0500, Ross S. W. Walker wrote:
 
 I suppose I could contract it out to a development firm, but
 to put something like that together myself. Would the anti-virus
 VFS filter that's floating around provide a good enough framework
 for creating something like this?
 
 I don't know if the anti-virus VFS filter calls out to external
 applications or if it uses a library API, but even if I had to
 adapt it to an API (in fact a better approach) I could always
 use John Madden's FUSE svnfs as an example of how to write for
 that API.
 
 Even if I do decide to contract it out, I still need to get a
 feeling for the amount of work it will take so I don't get
 bilked on the job costs.

Indeed. An anti-virus VFS would be a possible start point,
but you'll need a more complete VFS implementation than
just virus scanning.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba