Skip to content
Tcl Source Code History Of Ticket 02acab5aea7c3457
Login

History Of Ticket 02acab5aea7c3457

Artifacts Associated With Ticket 02acab5aea7c3457

  1. Ticket change [4da21de89a] (rid 218214) by apnadkarni on 2023-09-15 05:42:50:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      When an archive is not mounted at the zipfs root, intermediate directories are not seen as existing. This is not a minor issue because a recursive glob starting at the zip root will fail to find files in the archive.
      
      A secondary issue, also important, is that the commands on the intermediate directories take more than 1s to return (at least on Windows) on first invocation. This is probably tied to the UNC interpretation as reported in [93eb73784a](https://core.tcl-lang.org/tcl/tktview/93eb73784a).
      
      ```
      % zipfs mount ../tests/zipfiles/test.zip //zipfs:/a/b/c
      % zipfs exists //zipfs:/
      0
      % zipfs exists //zipfs:/a
      0
      % zipfs exists //zipfs:/a/b/c
      1
      % file exists //zipfs:/
      0
      % file exists //zipfs:/a
      0
      % file exists //zipfs:/a/b/c
      1
      % glob //zipfs:/a/*
      no files matched glob pattern "//zipfs:/a/*"
      ```
      
    5. foundin initialized to: "8.7"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to:
      Intermediate directories in zipfs mounts are treated as not existing
      
    16. type initialized to: "Bug"
  2. Ticket change [5b4d0f2386] (rid 218215) by apnadkarni on 2023-09-15 05:46:52:

    1. comment changed to:
      When an archive is not mounted at the zipfs root, intermediate directories are not seen as existing. This is not a minor issue because a recursive glob starting at the zip root will fail to find files in the archive.
      
      A secondary issue, also important, is that the commands on the intermediate directories take more than 1s to return (at least on Windows) on first invocation. This is probably tied to the UNC interpretation as reported in [93eb73784a](https://core.tcl-lang.org/tcl/tktview/93eb73784a).
      
      ```
      % zipfs mount ../tests/zipfiles/test.zip //zipfs:/a/b/c
      % zipfs exists //zipfs:/
      0
      % zipfs exists //zipfs:/a
      0
      % zipfs exists //zipfs:/a/b/c
      1
      % file exists //zipfs:/
      0
      % file exists //zipfs:/a
      0
      % file exists //zipfs:/a/b/c
      1
      % glob //zipfs:/a/*
      no files matched glob pattern "//zipfs:/a/*"
      ```
      
      Of course, this also impacts other file commands like `file stat`, `file isdir`, `cd` etc.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  3. Ticket change [856e77079d] (rid 218992) by apnadkarni on 2023-10-02 07:02:15:

    1. closedate changed to: "2460219.79323687"
    2. closer changed to: "apnadkarni"
    3. icomment:
      file ensemble bugs fixed in [735e596737]. glob and UNC interpretation already tracked in separate tickets.
      
    4. login: "apnadkarni"
    5. mimetype: "text/x-markdown"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"