MDSplus / mdsplus

The MDSplus data management system
https://mdsplus.org/
Other
75 stars 45 forks source link

Have TCL's `show version` command also display the build date #2766

Closed mwinkel-dev closed 6 months ago

mwinkel-dev commented 6 months ago

Affiliation MIT PSFC

Description When run the show version command of mdstcl, it displays the release version. And although it is fairly easy to look up the associated build date on GitHub (or in the git log), it would be nice to have show version also display the build date (or even better the date of the most recent commit).

Example This example adds a "Date:" line.

$ mdstcl
TCL> show version

MDSplus version: 7.139.17
----------------------
  Release:  alpha_release_7.139.17
  Date:     Jan 11, 2023
  Browse:   https://github.com/MDSplus/mdsplus/tree/alpha_release_7.139.17
  Download: https://github.com/MDSplus/mdsplus/archive/alpha_release_7.139.17.tar.gz

Additional context When dealing with support issues, the build/commit date is often more useful to the customer and support developers than the release version. Having the date readily available underscores to everybody how old the MDSplus version is that the customer is using.

mwinkel-dev commented 6 months ago

Closed by PR #2767.