Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f34213cc9efd534d4bfb4362fdb4e16a8926372d8678297ccb14121707653ca1
Ticket: ad7bafd5e11cfa09e9ed91ae4acff706438705e1
auto_path/tcl_library consistency for zipfs filesystem
User & Date: juliannoble2 on 2024-10-07 10:48:21
Changes

  1. icomment:
    Ok, as ubiquitous as zip is - i'm not as familiar as I should be (more used to tar etc I guess) 
    Thanks for the -A tip. I think there is some assumed knowledge that might be obvious to most, but worthy of documenting.
    
    Playing with cookfs,zipkit,metakit and UPX I'm trying to get an understanding of what can coexist (if possible at all) attached to an executable and still be mountable. 
    Sticking to one such as zipfs and using generic tools does seem practical.
    
    While I feel the defaults are a little weird, and more likely to result in variant layouts that are harder for other tools to deal with - it's not a showstopper for zipkit builders as any main.tcl can manipulate auto_paths etc as needed.
    
    What about a special case for adding //zipfs:/app/lib to the ::auto_path by default? Useful for the case of zipkits that are batteries included but without an application so no main.tcl?
    
    I hear you don't see the need to add 'any deeper directory-structure'
     - but I really think having everything at the same level as package folders is messy.
    
    You're just pushing the 'deeper directory-structure' on to the application developer to avoid the chaos at the base.
    I don't mean the 2 tcl_library,tk_library at base - that's not unreasonable
     - I mean the case when you have 50 libraries and some application specific folders scattered amongst them.
    
    Just my opinion - feel free to close this ticket if the core team is happy with it as is.
    
  2. login: "juliannoble2"
  3. mimetype: "text/plain"