Closed joshmoore closed 4 years ago
e.g.
$ omero version
OMERO.py version:
5.6.1.dev1
OMERO.server version:
5.6.1-ice36-SNAPSHOT
Probably fine for interactive users. Not so great if this is intended to be parsed. If this goes in now are further changes possible or would that be considered breaking?
I'd think for the parsing-user, we'd introduce a new flag and/or command, e.g. omero version --json
, since I don't think there's a way that we can make this parseable without already being breaking.
Cheers. Merging. Leaving someone else to drive a release if it's wanted/needed.
Intent is to clarify that different version numbers that a user may need to be aware of.
omero_version
remains the main output (on stdout) but reference is made on stderr to "OMERO.py" and if OMERODIR is accessible, then a version is also printed for OMERO.server.