Skip to content
Tcl Source Code Artifact [1a9c7a7ecc]
Login

Artifact [1a9c7a7ecc]

Artifact 1a9c7a7eccfbc3cb9c7bb672386afd428eccd2a101a0df65c948971f4e925dbc:

Ticket change [1a9c7a7ecc] - New ticket [ad7bafd5e11cfa09|ad7bafd5e1] <i>auto_path/tcl_library consistency for zipfs filesystem</i>. by juliannoble2 on 2024-10-06 19:13:24.
D 2024-10-06T19:13:24.836
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment The\sdefault\slocation\sfor\sinit.tcl\sand\shence\stcl_library\sthat\sis\ssetup\sin\stclZipfs.c\sis\s//zipfs:/app/tcl_library\s\r\n\r\nThis\sis\snot\sdirectly\san\simmediate\sissue\s-\sbut\sthen\sinit.tcl\sadds\sthe\sparent\sdir\sto\sthe\sauto_path.\r\nThis\sends\sup\sas\s//zipfs:/app\s\s\r\nAside\sfrom\s//zipfs:/app\sand\s//zipfs:/app/tcl_library\s-\sthere\saren't\sany\sother\s//zipfs:/..\sentries\sin\sthe\sauto_path\sby\sdefault.\r\n\r\nA\suser\ssetting\sup\sa\stclkit-like\ssystem\sthen\shas\sto\sstore\slibrary\sfolders\sdirectly\sin\sthe\sfirst\susable\sdir\r\nie\ssomewhere\slike\s//zipfs:/app/mypackage1\s//zipfs:/app/mypackage2\s\r\n\r\ntclPkgUnknown\swill\sscan\sall\sbase\suser\sfolders\sfor\spkgIndex.tcl\sfiles\seg\sthings\slike\s//zipfs:/app/doc\s//zipfs:/app/modules\r\nwhich\saren't\sapplicable\sand\swhile\sfast\senough\sin\szipfs\s-\sdoesn't\sseem\sefficient/scalable\r\n\r\nIf\sthe\suser\stries\sto\sorganise\slibraries\sunder\ssomething\slike\s//zipfs:/app/lib\s\r\n-\sit's\sonly\sgoing\sto\swork\sif\sthey\sadjust\sthe\sauto_path\s-\sor\screate\sa\s//zipfs:/app/lib/pkgIndex.tcl\sto\spoint\sto\sthe\sfolders\stherein.\r\n\r\n//zipfs:/app\sis\sanalogous\sto\sthe\snormal\stcl\sinstall\sfolder\s(on\swindows\sat\sleast)\s\r\ncontaining\sthings\slike\sapps,bin,doc,include,lib,licenses,samples\setc.\r\n\r\nThe\sfact\sthat\szipfs:/app/tcl_library\sis\sat\sthe\ssame\slevel\sas\sthose\s(rather\sthan\ssomething\slike\s//zipfs:/app/lib/tcl9.0)\sis\sno\sbig\sdeal\sin\sitself\r\n\s-\sbut\sthe\sdefault\sof\shaving\sto\sstore\seach\slibrary\sfolder\sat\sthe\ssame\slevel\sas\sdocs\setc\s(without\sfiddling\sthings)\sseems\sconfusing.\r\n\r\nIt\salso\smakes\sthe\sfilestructure\sfor\s//zipfs:/\sless\scompatible/sensible\sfor\sthose\strying\sto\sbring\sthings\sacross\sfrom\sold\stclkits.\r\n\r\nCreating\sa\swrapped\sexecutable\sas\sper\sthe\sinstructions\sin\stip\s430\sworks\r\n\s-\sbut\sthe\sresultant\sexecutable\snow\sdepends\son\sinit.tcl\setc\sfrom\sthe\sexternal\sfilesystem,\sor\sfor\sthe\suser\sto\sadd\sthat\sback\sin\sfor\sthe\sexe\sto\sbe\sindependent.\r\n\r\nTo\sadd\sthat\sin\s-\sthe\sfirst\sinclination\swould\sbe\sto\sjust\sbring\sin\sthe\slib\sfolder\sfrom\sthe\stcl\sinstallation\sdir\sas\sa\swhole\r\n\s-\sbut\sthat\swon't\swork\sas\sinit.tcl\sstill\swon't\sbe\sfound.\r\nThe\suser\scould\sthen\smove\sthe\slib/tcl9.0\sto\sbe\stcl_library\sat\sthe\sroot\sof\sthe\s.vfs\sand\sit\swill\swork\r\n\s-\sincluding\sfinding\sthings\slike\slib/tcl9/9.0/platform-1.0.19.tm\r\n\s-\sbut\sany\spkgIndex.tcl\sbased\slibraries\sat\slib/whatever\swon't\sbe\sfound\sas\smentioned\sabove.\r\n\r\nIf\sa\stool\sequivalent\sto\sthe\sold\ssdx\sgets\smade\sfor\szipfs\sbased\sexecutables\sto\seasily\s'unwrap'\sand\s'wrap'\sa\s.vfs\sfolder\s-\sthe\ssituation\scould\sbe\smuch\simproved\r\n\s-\sbut\sI'm\stempted\sto\sconsider\sthis\sas\sa\sbug\sin\sconsistency\sand\susability\sthat\sdoesn't\sseem\snecessary(?)\r\n\r\nBefore\sanyone\sattempts\sto\sbuild\sa\smodern\sSDX\sequivalent\sfor\szipkits\sand\sdistribute\sit\s-\scan\swe\sreview\sthis?\r\n\r\nAny\sother\sopinions?
J foundin 9
J is_private 0
J login juliannoble2
J priority 5\sMedium
J private_contact 957fdfcd8744611e3fe1f4896c7538b1d9bf47b2
J resolution None
J severity Important
J status Open
J submitter juliannoble2
J subsystem -\sNew\sBuiltin\sCommands
J title auto_path/tcl_library\sconsistency\sfor\szipfs\sfilesystem
J type Bug
K ad7bafd5e11cfa09e9ed91ae4acff706438705e1
U juliannoble2
Z 2d612574c394b7c077b794f2f1637d92