Skip to content
Tcl Source Code Artifact [0928092a01]
Login

Artifact [0928092a01]

Artifact 0928092a019d2385e7faa60e9fc6d9c7b1cb5edf:

Ticket change [0928092a01] - Ticket [3592042fffffffff|3592042fff] <i>pkg_mkIndex fails on package present</i> status still Open with 4 other changes by dgp on 2012-12-04 23:20:02.
D 2012-12-04T23:20:02
J icomment \nAnother\sthing\sto\sconsider\sis\sin\syour\suse\sof\s[pkg_mkIndex],\swhat\scontrol\ndo\syou\shave\sover\swhich\sversion\sof\sTcl's\s[pkg_mkIndex]\sgets\sused?\n\nIf\syou're\susing\sit\scompletely\s"in\shouse"\sto\sperform\syour\sown\sdevelopment\ntasks,\sthen\syou\shave\scontrol,\sand\susing\sthat\scontrol,\syou\scan\spatch\syour\nlocal\sproc\sto\sdo\swhat\syou\sask.\s\sVery\ssimple\spatch.\s\sChange\sthe\slines\sin\ntcl/library/package.tcl\sfrom:\n\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sswitch\s--\s$what\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\srequire\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sreturn;\s\s\s\s\s\s\s\s\s#\sIgnore\stransitive\srequires\n\nto\n\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sswitch\s--\s$what\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\spresent\s-\srequire\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sreturn;\s\s\s\s\s\s\s\s\s#\sIgnore\stransitive\srequires\n\nHowever,\sif\syou're\sdeploying,\ssay,\sMakefiles\sto\ssystems\sunknown,\nand\srelying\son\susing\swhatever\slocal\stclsh\sor\sexpect\sprogram\shappen\nto\sbe\sinstalled,\syou're\sgoing\sto\shave\sno\schoice\sbut\sto\scontinue\naccommodating\sthe\solder\s[pkg_mkIndex]\sbehavior,\sso\sthe\sway\sforward\nis\sto\srewrite\syour\sscripts\sto\srevise/remove\stheir\suse\sof\sthe\s[package\spresent]\ncommand,\sand/or\smove\soff\sof\s[pkg_mkIndex]\sas\sa\stool\scompletely.\n\nI\shope\syou\scan\ssee\swhy\swe\smaintainers\sjust\sdon't\shave\smuch\senthusiasm\nfor\sattempts\sto\simprove\s[pkg_mkIndex].\s\sIt's\sjust\snot\sa\sproblem\ssuited\sfor\na\sgood\ssimple\sand\sgeneral\ssolution.\n\nIf\sI'm\soverlooking\sor\smisunderstanding\ssomething,\sI\swelcome\syour\sfurther\nthoughts\son\sthe\smatter.\n
J login dgp
J mimetype text/plain
J username dgp
K 3592042fffffffffffffffffffffffffffffffff
U dgp
Z 278d07880e285b77cec1a898002c3ed2