Skip to content
Tcl Source Code Artifact [e4251f432b]
Login

Artifact [e4251f432b]

Artifact e4251f432b77698f6fe241f5a96767358a3b8e0f197c8432e2e36e3499e597a2:

Ticket change [e4251f432b] - New ticket [7db9574a06b1994c|7db9574a06] <i>Undocumented features of zipfs implementation</i>. by tberg on 2024-07-30 08:35:22.
D 2024-07-30T08:35:22.602
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment Here\sare\ssome\sundocumented\sfeatures\sof\szipfs\s(implementing\sTIP\s430):\r\n\r\n##\s1.\szipfs\smount_data\r\nThere\sis\sa\scommand\s`zipfs\smount_data`\sbut\sit\sis\sundocumented.\sShould\sit\sbe\sdocumented\sin\sthe\smanual\spage?\r\n\r\n##\s2.\s::tcl::zipfs::tcl_library_init\r\nThe\sC\ssource\scode\sdefines\sa\s`::tcl::zipfs::tcl_library_init`\sprocedure\sthat\sis\salso\sundocumented.\sShould\sit\sbe\sdocumented\sand\swhat\sdoes\sit\sdo?\sI\sguess\sit\sis\sonly\sfor\sinternal\suse.\r\n\r\nOn\sthe\sother\shand,\s[TIP\s430](https://core.tcl-lang.org/tips/doc/trunk/tip/430.md)\sdefines\sa\spublic\ssubcommand\s`zipfs\stcl_library`.\sThis\scommand\sis\s*not*\simplemented\sbut\sseems\sto\sdo\sthe\ssame.\r\n\r\n##\s3.\szip\sarchives\sattached\sto\stclsh/wish\sor\sto\slibraries\r\nTIP\s430\sdescribes\swhat\shappens\swhen\sa\szip\sarchive\sis\sattached/appended\sto\stclsh/wish\sor\sto\sa\slibrary\sfile.\sIn\sthis\scontext,\sit\salso\smentions\sthe\sspecific\smount\spoints\s`ZIPFS_ROOT/app`\sand\s`ZIPFS_ROOT/lib/PGKNAME`\splus\ssome\sfiles\sand\sdirectories\sinside\sto\slook\sfor\sduring\sstartup.\r\n\r\nThis\sis\sdocumented\sin\sthe\stclsh(1)\smanual\spage.\sHowever,\sthe\sdocumentation\sdoes\snot\smention\sthe\sspecific\smount\spoints.\sThe\sexample\sat\sthe\send\sof\sTIP\s430\sshould\sthen\salso\sbe\sincluded\sin\sthe\smanual\sas\sit\sclarifies\snicely\show\sto\sexactly\suse\sthat\sfeature\sas\sit\sis\sdifficult\sto\sput\sin\swords\salone.\sThis\scould\sbe\sdone\sin\szipfs(n)\sto\snot\soverload\sthe\stclsh(1)\smanual\spage.\r\n\r\nAlso,\sthe\sTIP\sdefines\ssomething\slike\s`tclsh\sinstall\s...`.\sThis\sis\snot\sdocumented\sin\stclsh(1)\sand\sI\sam\snot\ssure\sif\sthis\sis\seven\simplemented.\r\n\r\n\r\n##\s4.\sGeneral\sconsistency\swith\sTIP\s430\r\nIn\sgeneral,\sthe\smanual\spage\sis\snot\sconsistent\swith\sthe\sproposal\sin\sthe\sTIP,\smeaning\sthat\szipfs\swas\simplemented\sdifferently\sfrom\swhat\sthe\sTIP\ssays.\sMaybe\sthat\sis\sOK,\sI\sam\snot\ssure\swhether\sthe\sTIP\sshould\salways\sbe\sin\sline\swith\sthe\simplementation,\sbut\shere\sare\ssome\sof\sthe\sdifferences:\r\n\r\n*\s`zipfs\scanonical`\shas\ssome\soptions\snot\smentioned\sin\sthe\sTIP\r\n*\s`zipfs\smount`\scan\suse\sa\spassword\soption\snot\sdocumented\sin\sthe\sTIP\r\n*\s`zipfs\slmkimg`\shas\sone\soptional\spair\sof\soptions\s(...\s`?password\sinfile?`)\swhile\sthe\sTIP\shas\sthem\sas\stwo\sseparate\soptions\s(...\s`?password?\s?infile?`).\sThis\sis\ssomewhat\srelated\sto\s[this\sticket](/tktview/b9f3ff8fe69cae04239a2de23601d51b289dad06)\r\n\r\nWhen\swe\srefer\sto\sthe\sTIP\sas\s"further\sreading"\sfrom\sthe\smanual\spage,\sthis\scould\sat\sleast\sincrease\sconfusion.
J foundin 9.0
J is_private 0
J login tberg
J priority 5\sMedium
J private_contact 94879582b1b42c382be6941728fabc85e28a2f74
J resolution None
J severity Important
J status Open
J submitter tberg
J subsystem -\sNew\sBuiltin\sCommands
J title Undocumented\sfeatures\sof\szipfs\simplementation
J type Bug
K 7db9574a06b1994c5b3f8cdf13e6ffcbea072d4b
U tberg
Z 79182ee4d5931b2b3c281119f3fb8399