Overview
| Artifact ID: | 61a9f1b6c8fb3028b7fe60879ab718e40e52836d2f5b58408ff22f7826df2b9c |
|---|---|
| Ticket: | 209fd9adce08b582db292b4f1088bb57a8400d49
package files documented behaviour |
| User & Date: | jan.nijtmans on 2024-09-30 11:59:13 |
Changes
- icomment:
Idea how to solve this: Currently, all "pkgIndex.tcl" files are added to the list at the moment they are sourced. Whenever a "package ifneeded" is executed, we store the name of the file being executed (which is the pkgIndex.tcl file) in the "package ifneeded" data. Then, when the "package require" command ends and the package is actually sourced, we known the version number, so we can search for the correct pkgIndex.tcl file in the "package ifneeded" data, and add it to the list.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"