Skip to content
Tcl Source Code Artifact [6416a8ba78]
Login

Artifact [6416a8ba78]

Artifact 6416a8ba78bb51b7673f7a896aad031058ef70f9:

Ticket change [6416a8ba78] - New ticket [3480599fffffffff|3480599fff] <i>pkg_mkIndex should generate deterministic pkgIndex.tcl order</i>. by bovineone on 2012-01-27 17:03:00.
D 2012-01-27T17:03:00
J assignee dgp
J cmimetype text/plain
J comment pkg_mkIndex\scurrently\sgenerates\sthe\spkgIndex.tcl\scontaining\smultiple\s"list\ssource"\scommands\swith\seach\sfile\sas\sthey\swere\sencountered\sin\sthe\sfilesystem\sdirectory,\swhich\swill\susually\svary\sfrom\sone\scomputer\sto\sthe\snext.\n\nIf\smultiple\susers\sare\sdoing\sdevelopment\son\sdifferent\sdirectories/computers\sand\scommitting\swork\sto\sa\sshared\srepository,\sthe\scontents\sof\sthe\spkgIndex.tcl\sfile\swill\salmost\salways\sbe\sdifferent\sand\scause\sunnecessary\sfile\sdifferences\sin\spkgIndex.tcl.\n\nBesides\sthe\sinconvenience\sof\srevision\scontrol\sdetecting\sunnecessary\sfile\sdifferences,\sthe\sprogrammatic\sbehavior\scould\stheoretically\sbe\sdifferent\sif\sthe\slisted\sorder\sof\sfiles\sis\sunpredictable\sand\sthere\sare\sunintentional\sinteractions\sbetween\sthe\sfiles.\s\sThis\smight\slead\sto\sdifficulties\sin\sdiagnosing\sdue\sto\sthe\sunpredictable\sfile\sloading\sorder.\n\npkg_mkIndex\sshould\sbe\schanged\sto\sgenerate\spkgIndex.tcl\sfiles\sthat\shave\sa\sdeterministic\sordering\sthat\swill\sbe\sthe\ssame\son\sdifferent\scomputers.\s\sThis\scould\sbe\sdone\sby\ssimply\ssorting\sthe\slist\sof\sfilenames\sbefore\swriting\sthem\sto\sthe\spkgIndex.tcl,\sif\sno\sother\scriteria\sis\sbetter\ssuited\sfor\sthis.
J foundin obsolete:\s8.5.11
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter bovineone
J subsystem 39.\sPackage\sManager
J title pkg_mkIndex\sshould\sgenerate\sdeterministic\spkgIndex.tcl\sorder
J type Bug
K 3480599fffffffffffffffffffffffffffffffff
U bovineone
Z cb4cb016e7c0ce98efadbbd5ee39d2d7