You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no way to determine the version of the applications, using --help option does not print version, nor does it describe --version option that I've also tried just for a sake of it. In addition to --version which would print application name, release, option --full-version should also be introduced which would also print information regarding build environment like the Haskell compiler used for build and git release and target build architecture information. If --full-version won't be introduced git information should be added to --version.
Justification:
Once cardano-node will be used by a larger audience (pool operators) it will be important for them to be able to provide exact version and build information for developers to increase chances of reproducing bugs, identifying regressions and swiftly identifying fixed issues reported by someone running older version of the node.
In addition, it seems the version information is already present in the compiled binaries, there is simply just no user-friendly way of displaying the version information.
NOTE:
Perhaps aliases should be defined and used for the compiler version as The Glorious Glasgow Haskell Compilation System is rather long, so ghc with version appended could be used instead.
The text was updated successfully, but these errors were encountered:
mark-stopka
changed the title
[CIP] Add "--version" to apps
[FR] Add "--version" to apps
Feb 26, 2020
630: Add `version` command to `cardano-cli` r=Jimbo4350 a=Jimbo4350
Issue
-----------
- #593
- This PR **does not result** in breaking changes to upstream dependencies.
Checklist
---------
- [x] This PR contains all the work required to resolve the linked issue.
- [ ] The work contained has sufficient documentation to describe what it does and how to do it.
- [ ] The work has sufficient tests and/or testing.
- [x] I have committed clear and descriptive commits. Be considerate as somebody else will have to read these.
- [x] I have added the appropriate labels to this PR.
Co-authored-by: Jordan Millar <[email protected]>
Currently there is no way to determine the version of the applications, using
--help
option does not print version, nor does it describe--version
option that I've also tried just for a sake of it. In addition to--version
which would printapplication name
,release
, option--full-version
should also be introduced which would also print information regarding build environment like the Haskell compiler used for build and git release and target build architecture information. If--full-version
won't be introduced git information should be added to--version
.Example:
Justification:
Once
cardano-node
will be used by a larger audience (pool operators) it will be important for them to be able to provide exact version and build information for developers to increase chances of reproducing bugs, identifying regressions and swiftly identifying fixed issues reported by someone running older version of the node.In addition, it seems the version information is already present in the compiled binaries, there is simply just no user-friendly way of displaying the version information.
NOTE:
Perhaps aliases should be defined and used for the compiler version as
The Glorious Glasgow Haskell Compilation System
is rather long, soghc
with version appended could be used instead.The text was updated successfully, but these errors were encountered: