MDSplus / mdsplus

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

The information and links in `mdstcl show version` are out of date #2759

Closed WhoBrokeTheBuild closed 6 months ago

WhoBrokeTheBuild commented 6 months ago

Affiliation PSFC

Describe the bug

The current output of mdstcl show version looks like:


MDSplus version: 7.140.68
----------------------
  Release:  alpha_release_7.140.68
  Browse:   https://github.com/MDSplus/mdsplus/tree/alpha_release_7.140.68
  Download: https://github.com/MDSplus/mdsplus/archive/alpha_release_7.140.68.tar.gz

The Release describes something in-between a tag and a version, it should instead be: alpha_release-7-140-68

Which would then fix the links for Browse and Download https://github.com/MDSplus/mdsplus/tree/alpha_release-7-140-68 https://github.com/MDSplus/mdsplus/archive/alpha_release-7-140-68.tar.gz

However, we might want to instead link to the GitHub Release page, which contains all the new download links: https://github.com/MDSplus/mdsplus/releases/tag/alpha_release-7-140-68

And potentially, although I'm not sure if this is a great idea, we could link to the right materials for this specific installation, e.g.

A package-less install (just /usr/local/mdsplus) from: https://github.com/MDSplus/mdsplus/releases/download/alpha_release-7-140-68/mdsplus_alpha_7.140.68_ubuntu20_amd64.tgz would link back to that .tgz file

And an install from the .deb/.rpm/etc files (either from a repo or GitHub): https://github.com/MDSplus/mdsplus/releases/download/alpha_release-7-140-68/mdsplus_alpha_7.140.68_ubuntu20_amd64_debs.tgz would link back to that .tgz file

To Reproduce

  1. Run mdstcl show version
  2. Go to either of the specified links, or search for the Release tag given