Skip to content
Tcl Source Code History Of Ticket 462309
Login

History Of Ticket 462309

Artifacts Associated With Ticket 462309

  1. Ticket change [88445abafe] (rid 131840) by andreas_kupries on 2001-09-17 18:32:33:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The current testsuite uses a tcltest command to access 
      the internals of the VFS code and lift it the script 
      level. It is proposed to make this an official command 
      so that VFS implementations can be written in Tcl 
      itself.
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "andreas_kupries"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "Make tcl vfs official"
    11. type initialized to: "RFE"
  2. Ticket change [810da6f73a] (rid 116973) by nobody on 2001-09-18 16:05:18:

    1. icomment:
      Logged In: NO 
      
      The summary isn't quite correct.  The testsuite contains 
      a 'testfilesystem' command which enables a 'reporting' 
      filesystem, but this is not quite the same as allowing you 
      to write vfs's in Tcl (but is still very useful for 
      debugging any fs activity).  The code to expose VFS to Tcl 
      is given by the 'tclvfs' project on sourceforge, which 
      creates a command 'vfs::filesystem' and provides Tcl 
      implementations of zip, ftp, http, mk, namespace 
      filesystems.
      
      The problem is that this 'vfs' extension has not had much 
      use yet.  We need some people to pound on it and say "I 
      don't like how X works".
      
      Admittedly, it seems to work perfectly in tclkit.
      
      Also, almost all vfs's I've written require the Memchan 
      extension to handle 'open' commands.  Therefore we'd really 
      want to include Memchan (or some variant of it) as an 
      official command as well.  Again the vfs-memchan 
      combination has not been used enough to really determine 
      whether either or both could do with some modification for 
      truly seamless interaction.
      
      Having said the above, I'm perfectly happy for anyone to 
      take any of tclvfs, the testfilesystem, etc and do whatever 
      official things they like.
      
      Certainly including tclvfs in a Batteries Included release 
      would seem a good idea.  I believe it should compile out of 
      the box on *nix and Windoze.
      
      Vince (some problem logging in today).
      
      
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  3. Ticket change [f81a8d2366] (rid 91483) by vincentdarley on 2001-09-18 16:09:46:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      (Now I can log in..)
      
      One more comment on the 'vfs-memchan' front...  For open 
      operations on remote filesystems (ftp, http) it seems as if 
      it should be possible _not_ to use a memchan, and 
      write/read directly to/from a socket provides by the 
      ftp/http packages.  This does not happen in the current 
      code, which means something like:
      
      file copy ftp://ftp.foo.com/megaBytes.zip .
      
      will actually create an enormous memchan (and read into 
      that and then write to disk), rather than stream the copy 
      slowly over a socket.  Again, it would be nice to make the 
      changes (possibly no C changes required, just changes to 
      the ftp vfs in Tcl) so that this is better.  Same with http.
      
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  4. Ticket change [72d9f46217] (rid 104937) by andreas_kupries on 2001-09-19 01:08:11:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Depending on what people want to do with a ftp-file a 
      memchan might still be required to allow arbitrary seeking, 
      which is not possible for a socket.
      
      And thanks for the correction about my summary.
      
      So, should I withdraw this item and/or file a
      different FR for the 'Reporting FS' ?
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  5. Ticket change [e8f5143319] (rid 104730) by nobody on 2001-09-19 01:14:59:

    1. icomment:
      Logged In: NO 
      
      No need to withdraw this one; it's still pretty clear.  I 
      was wondering about that issue with 'seek'.  Might it be 
      possible to have a solution which works both ways?  One 
      approach would be that 'seek' throws an error.  Another 
      would be that we create a 'flowthroughchannel' which simply 
      acts as a small buffer between the socket and tcl.  As long 
      as we don't seek that code is pretty simple, but when we do 
      a 'seek', the flow-through buffer takes some cleverer 
      action...  Is this possible?
      
      p.s. What do you really mean by "make a tcl vfs official"?  
      Do you want to write a TIP to put tclvfs in the core 
      (like 'incr tcl', dde, registry, thread are in the core)?
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  6. Ticket change [f41a3fb1b6] (rid 129843) by vincentdarley on 2001-09-19 15:32:49:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Oh, I misread your msg.  You actually want to make 
      the 'Reporting FS' official, not the VFS?  I'm perfectly 
      happy with that idea (probably want to change the command 
      so 'puts stderr' is a configurable action), and since that 
      code is pretty straightforward, we could definitely add it 
      now, rather than waiting for serious use.
      
      filesystem report -command "puts stderr"
      
      (and in the future we can add 'filesystem 
      mount', 'filesystem unmount' etc).
      
      I've changed the summary line --- is that what you wanted?
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. title changed to: "Make tcl "reporting fs" official"
    5. username: "vincentdarley"
  7. Ticket change [3d373a015b] (rid 121052) by vincentdarley on 2001-09-19 23:48:17:

    1. assignee changed to: "andreas_kupries"
    2. title changed to: "Make tcl "reporting fs" official"
  8. Ticket change [658b8b0eda] (rid 102567) by andreas_kupries on 2001-09-21 01:24:23:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I misunderstood that I heard about the vfs stuff in the 
      testsuite. I thought it would lift vfs into the 
      scriptlevel. 
      
      Still, making the reporting fs officially available would 
      help others as it can be an example of a fs implementation 
      and it will also help in the debugging of the vfs stuff for 
      people creating new fs.
      
      So this FR can stand as it is.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. title changed to: "Make tcl "reporting fs" official"
    5. username: "andreas_kupries"
  9. Ticket change [853fe023ca] (rid 131284) by andreas_kupries on 2001-09-21 01:28:55:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      The problem with the flowthroughchannel is that we do not 
      know how far back the application will (want to) seek. This 
      channel will have to buffer up everything coming in to 
      allow a full seek to the beginning if the application 
      wishes to do so.
      
      Placing tclvfs into (or even distributing it alongside) the 
      core is, IMHO, not a good thing. It can stay perfectly 
      separate and I believe it should do so. Encouragement for 
      others that packages need not have to be in the core to be 
      useful and to be used.
      
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. title changed to: "Make tcl "reporting fs" official"
    5. username: "andreas_kupries"
  10. Ticket change [f9a84da103] (rid 91741) by dkf on 2003-02-25 16:31:09:

    1. title changed to: "Make tcl 'reporting fs' official"