Overview
| Artifact ID: | 6416a8ba78bb51b7673f7a896aad031058ef70f9 |
|---|---|
| Ticket: | 3480599fffffffffffffffffffffffffffffffff
pkg_mkIndex should generate deterministic pkgIndex.tcl order |
| User & Date: | bovineone on 2012-01-27 17:03:00 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
pkg_mkIndex currently generates the pkgIndex.tcl containing multiple "list source" commands with each file as they were encountered in the filesystem directory, which will usually vary from one computer to the next. If multiple users are doing development on different directories/computers and committing work to a shared repository, the contents of the pkgIndex.tcl file will almost always be different and cause unnecessary file differences in pkgIndex.tcl. Besides the inconvenience of revision control detecting unnecessary file differences, the programmatic behavior could theoretically be different if the listed order of files is unpredictable and there are unintentional interactions between the files. This might lead to difficulties in diagnosing due to the unpredictable file loading order. pkg_mkIndex should be changed to generate pkgIndex.tcl files that have a deterministic ordering that will be the same on different computers. This could be done by simply sorting the list of filenames before writing them to the pkgIndex.tcl, if no other criteria is better suited for this.
- foundin changed to: "obsolete: 8.5.11"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "bovineone"
- subsystem changed to: "39. Package Manager"
- title changed to:
pkg_mkIndex should generate deterministic pkgIndex.tcl order
- type changed to: "Bug"