Tcl Library Source Code

View Ticket
Login
2024-09-19
16:19 Closed ticket [13fc0520a6]: Access tcllib release version from script level plus 6 other changes artifact: 451dfeed24 user: aku
16:18
installer - Ticket [13fc0520a6] reworked to use Tcl 8.5 features (apply, ni) extended to provide a dummy `tcllib` package for querying the installed versions of Tcllib. check-in: ee4fb115b2 user: aku tags: trunk
2024-09-18
10:55 Ticket [13fc0520a6] Access tcllib release version from script level status still Open with 4 other changes artifact: 927d15e7a2 user: aku
2024-06-27
17:35 Ticket [13fc0520a6]: 5 changes artifact: a083ae4e11 user: oehhar
2022-09-16
11:01 New ticket [13fc0520a6]. artifact: 66d4cd2f90 user: oehhar

Ticket UUID: 13fc0520a654f9e97567b4ede6d89e52fc473488
Title: Access tcllib release version from script level
Type: RFE Version: main
Submitter: oehhar Created on: 2022-09-16 11:01:40
Subsystem: tool Assigned To: aku
Priority: 7 High Severity: Minor
Status: Closed Last Modified: 2024-09-19 16:19:30
Resolution: Fixed Closed By: aku
    Closed on: 2024-09-19 16:19:30
Description:
Thanks for great TCLLIB !

I have the legal requirement to display the release version of TCLLIB in an about box. Is there any way to get the tcllib release version.

When looking to TCLLIB 1.12, the string "1.12" is only present in a comment of the auto-generated master pckIndex.tcl file.

Would it possible to add a line:

<verbatim>
package ifneeded tcllib 1.12 [list package provide tcllib 1.12]
</verbatim>

to this file, so a "package require tcllib" would return the release version number?

Thank you and take care,
Harald
User Comments: aku added on 2024-09-19 16:19:30:
Done with commit [ee4fb115b2].
Plus tweaks to use Tcl 8.5 features in the package index file (apply, ni)

oehhar added on 2024-06-27 17:35:45:

Or maybe, the buildinfo framework may be used to include the checkout id.

See here from ooxml: https://fossil.sowaswie.de/ooxml/info/424958a4c5506180

Thanks for all, Harald