Artifacts Associated With Ticket ef7042075cfd6c02
Ticket change [a0644548da] (rid 234335) by apnadkarni on 2024-10-17 14:34:45:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
The tcl::build-info command does not seem to be documented. Is this intentional or a documentation bug?
- foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "tcl::build-info not documented"
- type initialized to: "Bug"
Ticket change [52fe9d36a2] (rid 234374) by jan.nijtmans on 2024-10-18 15:25:06:
- icomment: "Let's document it"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [9cd8630924] (rid 241665) by apnadkarni on 2025-06-19 05:48:27:
- assignee changed to: "jan.nijtmans"
- icomment:
@jan.nijtmans since you wrote TIP 599 and the implementation, can you please document tcl::build-info in the manpages?
- login: "apnadkarni"
- mimetype: "text/plain"
- severity changed to: "Important"
Ticket change [16971160d4] (rid 241988) by jan.nijtmans on 2025-06-26 07:36:43:
- icomment: "First shot [e6214ce124f431a4|here]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [1112faa25a] (rid 242006) by dkf on 2025-06-26 08:16:24:
- icomment:
Good idea to document this. I approve! Review of the candidate manpage follows: > I'm wondering whether the `SYNOPSIS` is too busy. > > Perhaps it would be better as just this: > ``` > \fB::tcl::build-info\fR ?\fIfield\fR? > ``` > > That says you the command has one optional argument, _field_, and that's basically all that it needs to say. > > I guess the `DESCRIPTION` should then be: > ``` > This command provides a way to retrieve information about how Tcl was built. > Without a \fIfield\fR, the command returns the Tcl patchlevel, followed > by the '\fB+\fR'-sign, followed by the fossil commit-id followed by a list of > dot-separated tags. If a \fIfield\fR is given, this command extracts that > field as described below. For official Tcl releases, the \fIfield\fRs are: > ``` > > The remaining parts of the manual page look fine. Perhaps we ought to add more references into the `SEE ALSO` section? (`platform(n)` and `tcl_platform(n)`/`tclvars(n)` would be my candidates.) > > If you don't change the `SYNOPSIS` as suggested, at least remove the `?` from the first line of it; the subsequent lines make it unnecessary in that case and it's technically ambiguous according to our simple command syntax rules. Do as you will with the review, but I hope it helps.
- login: "dkf"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [c08e3d05d2] (rid 242010) by jan.nijtmans on 2025-06-26 08:48:21:
- icomment: "Yes, it helps. Thanks! [5b4016f314039751"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [62eda1d4c4] (rid 242048) by apnadkarni on 2025-06-26 13:13:15:
- icomment:
Thanks for documenting this. One addition I might suggest is to clarify behavior when a field is not present. Is an error raised or an empty string returned? Are all fields always guaranteed to be present?
- login: "apnadkarni"
- mimetype: "text/plain"
- icomment:
Ticket change [fdbe996839] (rid 242054) by jan.nijtmans on 2025-06-26 13:43:20:
- icomment: "[617a33d53c6d36ea]. Better?"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [60a3d9b8c6] (rid 242057) by jan.nijtmans on 2025-06-26 13:51:22:
- icomment: "Any more suggestions?"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [ae4e7e11b3] (rid 242065) by apnadkarni on 2025-06-27 04:13:18:
- icomment: "Look ok to me."
- login: "apnadkarni"
- mimetype: "text/plain"
Ticket change [99772b8c97] (rid 242122) by jan.nijtmans on 2025-06-27 15:31:39:
- closedate changed to: "2460854.14698101"
- closer changed to: "jan.nijtmans"
- icomment: "Fixed [a42af792d9ffa631|here]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"