|
2003-02-25
| ||
| 16:30 | • Ticket [219344ffff] package names doesn't report pkgIndex contents early o... artifact: c3aed87e51 user: dkf | |
|
2001-04-04
| ||
| 04:53 | • Ticket [219344ffff]: 2 changes artifact: c1de32f978 user: dgp | |
|
2001-03-02
| ||
| 06:21 | • Ticket [219344ffff]: 1 change artifact: 386d42e3ec user: dgp | |
|
2001-02-08
| ||
| 08:29 | • Ticket [219344ffff]: 2 changes artifact: 0220e2d77a user: dgp | |
|
2000-11-21
| ||
| 02:07 | • Ticket [219344ffff]: 4 changes artifact: 32e82dc13c user: dgp | |
| 02:07 | • Ticket [219344ffff]: 4 changes artifact: 85e0725788 user: dgp | |
|
2000-11-20
| ||
| 17:52 | • Ticket [219344ffff]: 2 changes artifact: fca83c1a05 user: dkf | |
|
2000-10-26
| ||
| 05:11 | • New ticket [219344ffff]. artifact: 327ade9262 user: nobody | |
[package names] doesn't report pkgIndex contents early on
Open219344ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 24 years ago
Descriptionplain2000-10-26 05:11:02
OriginalBugID: 5420 RFE
Version: 8.3
SubmitDate: '2000-05-10'
LastModified: '2000-07-19'
Severity: MED
Status: UnAssn
Submitter: techsupp
ChangedBy: ericm
OS: BSD
OSVersion: FreeBSD 3.2
Machine: Generic PC
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'
Name:
Glenn Trewitt
Extensions:
none
Comments:
I expect that the problem is that "package requires" does late
evaluation of the pkgIndex.tcl files.
"package names" should do the same initialization.
ReproducibleScript:
% info tclversion
8.3
% package names
Tcl
% package require foo
can't find package foo
% package names
Sql http tcllib tcltest msgcat opt Tkined Tnm Tcl
%
ObservedBehavior:
If I invoke "package names" before other any other package command, it only reports "Tcl".
After I invoke a package subcommand that forces Tcl to go out and read the pkgIndex.tcl files,
"package names" works fine.
DesiredBehavior:
I expect "package names" to report the same set of known packages, independent of what other
"package requires" commands have been executed.
dkf Ticket [219344ffff]: 2 changes
[History diff]2000-11-20 17:52:29
dgpplain2000-11-21 02:07:46
Note that to do (something like) this the right way, we need to enhance the customization interface of [package]. The current interface to [package unknown] is not sufficient. See the Usenet thread http://www.deja.com/=dnc/viewthread.xp?AN=645774100 for more details. Also, I have plenty of ideas in this area that will find their way into a TIP.
dgpplain2000-11-21 02:07:58
Note that to do (something like) this the right way, we need to enhance the customization interface of [package]. The current interface to [package unknown] is not sufficient. See the Usenet thread http://www.deja.com/=dnc/viewthread.xp?AN=645774100 for more details. Also, I have plenty of ideas in this area that will find their way into a TIP.
dgp Ticket [219344ffff]: 2 changes
[History diff]2001-02-08 08:29:42
dgp Ticket [219344ffff]: 1 change
[History diff]2001-03-02 06:21:02
dgp Ticket [219344ffff]: 2 changes
[History diff]2001-04-04 04:53:25
dkf Ticket [219344ffff]: 1 change
[History diff]2003-02-25 16:30:04
Log in (anonymous is fine) to add a comment.