Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend output of 'omero version' #176

Merged
merged 1 commit into from
Feb 12, 2020
Merged

Conversation

joshmoore
Copy link
Member

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.

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.
@joshmoore
Copy link
Member Author

e.g.

$ omero version
OMERO.py version:
5.6.1.dev1
OMERO.server version:
5.6.1-ice36-SNAPSHOT

@manics
Copy link
Member

manics commented Feb 11, 2020

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?

@joshmoore
Copy link
Member Author

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.

@joshmoore
Copy link
Member Author

Cheers. Merging. Leaving someone else to drive a release if it's wanted/needed.

@joshmoore joshmoore merged commit c928077 into ome:master Feb 12, 2020
@joshmoore joshmoore added this to the 5.6.1 milestone Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants